From 966c11df25c98f52fb9eaae1c31f2c4c3b19b4d1 Mon Sep 17 00:00:00 2001 From: Gareth Bowen Date: Tue, 22 Oct 2019 15:55:19 +1300 Subject: [PATCH 1/8] Bump travis node dependency to 8 to fix build --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6ea53af4..0708ef3f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ dist: trusty language: node_js node_js: - - "6" + - "8" sudo: false From f10aa3d4fb25749aceb239f68abac3ea1c5e4e5a Mon Sep 17 00:00:00 2001 From: Gareth Bowen Date: Wed, 23 Oct 2019 14:19:26 +1300 Subject: [PATCH 2/8] Specify known tag --- bin/test-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/test-setup.sh b/bin/test-setup.sh index a4af0c51..6ce70714 100755 --- a/bin/test-setup.sh +++ b/bin/test-setup.sh @@ -15,6 +15,6 @@ if [ ! -d "$DIRECTORY" ]; then fi cd "$DIRECTORY" -git checkout de54c62f99d028593059e615b5702131864b6dd4 # 6.4.1 +git checkout 7.0.0 npm install cd .. From a035bc1ba7a8f8709c4a82e362ad0b36957258a5 Mon Sep 17 00:00:00 2001 From: Gareth Bowen Date: Wed, 23 Oct 2019 14:29:26 +1300 Subject: [PATCH 3/8] Don't clone master --- bin/test-setup.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/test-setup.sh b/bin/test-setup.sh index 6ce70714..2cbf11b9 100755 --- a/bin/test-setup.sh +++ b/bin/test-setup.sh @@ -9,12 +9,11 @@ DIRECTORY='pouchdb-tests' if [ ! -d "$DIRECTORY" ]; then # Control will enter here if $DIRECTORY exists. - git clone --single-branch --branch master \ + git clone --single-branch --branch 7.0.0 \ --depth 500 \ https://github.com/pouchdb/pouchdb.git ${DIRECTORY} fi cd "$DIRECTORY" -git checkout 7.0.0 npm install cd .. From f0056c1cdbbcba4f03842f60ed565e5efe6c080d Mon Sep 17 00:00:00 2001 From: Gareth Bowen Date: Wed, 23 Oct 2019 14:35:35 +1300 Subject: [PATCH 4/8] Try again... --- bin/test-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/test-setup.sh b/bin/test-setup.sh index 2cbf11b9..d476f632 100755 --- a/bin/test-setup.sh +++ b/bin/test-setup.sh @@ -9,11 +9,11 @@ DIRECTORY='pouchdb-tests' if [ ! -d "$DIRECTORY" ]; then # Control will enter here if $DIRECTORY exists. - git clone --single-branch --branch 7.0.0 \ - --depth 500 \ + git clone --branch master --depth 500 \ https://github.com/pouchdb/pouchdb.git ${DIRECTORY} fi cd "$DIRECTORY" +git checkout 7.0.0 npm install cd .. From 0daec95bf16cb62d71664a8c39b8ea151d27c778 Mon Sep 17 00:00:00 2001 From: Gareth Bowen Date: Wed, 23 Oct 2019 14:48:07 +1300 Subject: [PATCH 5/8] And again --- bin/test-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/test-setup.sh b/bin/test-setup.sh index d476f632..ff33df1b 100755 --- a/bin/test-setup.sh +++ b/bin/test-setup.sh @@ -14,6 +14,6 @@ if [ ! -d "$DIRECTORY" ]; then fi cd "$DIRECTORY" -git checkout 7.0.0 +git checkout tags/7.0.0 npm install cd .. From 0c1bc6bef32ca4268938c834647c69e4975f95b5 Mon Sep 17 00:00:00 2001 From: Gareth Bowen Date: Wed, 23 Oct 2019 15:01:01 +1300 Subject: [PATCH 6/8] Go back to the commit hash based scheme --- bin/test-setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/test-setup.sh b/bin/test-setup.sh index ff33df1b..af766d10 100755 --- a/bin/test-setup.sh +++ b/bin/test-setup.sh @@ -9,11 +9,12 @@ DIRECTORY='pouchdb-tests' if [ ! -d "$DIRECTORY" ]; then # Control will enter here if $DIRECTORY exists. - git clone --branch master --depth 500 \ + git clone --single-branch --branch master \ + --depth 500 \ https://github.com/pouchdb/pouchdb.git ${DIRECTORY} fi cd "$DIRECTORY" -git checkout tags/7.0.0 +git checkout de99825a418bb5ee62c5feafd0046c217941fa9e # 7.0.0 npm install cd .. From 89884d0deaae30514125ed87808e5744402dde28 Mon Sep 17 00:00:00 2001 From: Gareth Bowen Date: Wed, 23 Oct 2019 15:19:13 +1300 Subject: [PATCH 7/8] Checking if it's a depth issue --- bin/test-setup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/test-setup.sh b/bin/test-setup.sh index af766d10..e05bdb01 100755 --- a/bin/test-setup.sh +++ b/bin/test-setup.sh @@ -10,7 +10,6 @@ DIRECTORY='pouchdb-tests' if [ ! -d "$DIRECTORY" ]; then # Control will enter here if $DIRECTORY exists. git clone --single-branch --branch master \ - --depth 500 \ https://github.com/pouchdb/pouchdb.git ${DIRECTORY} fi From 600177f3d822cde5a72beb3956e47f205ab71334 Mon Sep 17 00:00:00 2001 From: Gareth Bowen Date: Wed, 23 Oct 2019 15:24:40 +1300 Subject: [PATCH 8/8] get all the things --- bin/test-setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/test-setup.sh b/bin/test-setup.sh index e05bdb01..eb89388b 100755 --- a/bin/test-setup.sh +++ b/bin/test-setup.sh @@ -9,11 +9,11 @@ DIRECTORY='pouchdb-tests' if [ ! -d "$DIRECTORY" ]; then # Control will enter here if $DIRECTORY exists. - git clone --single-branch --branch master \ - https://github.com/pouchdb/pouchdb.git ${DIRECTORY} + git clone https://github.com/pouchdb/pouchdb.git ${DIRECTORY} fi cd "$DIRECTORY" +git fetch git checkout de99825a418bb5ee62c5feafd0046c217941fa9e # 7.0.0 npm install cd ..