From 2e387816f1f9f47420963d3574f6d888acf91f1c Mon Sep 17 00:00:00 2001 From: Eric Mill Date: Mon, 27 Oct 2014 16:23:27 -0400 Subject: [PATCH 1/3] use https for download URLs Conflicts: plugins/python-build/bin/python-build --- plugins/python-build/bin/python-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/bin/python-build b/plugins/python-build/bin/python-build index 9558de5b..3d628e04 100755 --- a/plugins/python-build/bin/python-build +++ b/plugins/python-build/bin/python-build @@ -1626,7 +1626,7 @@ else fi if [ -z "$PYTHON_BUILD_MIRROR_URL" ]; then - PYTHON_BUILD_MIRROR_URL="http://yyuu.github.io/pythons" + PYTHON_BUILD_MIRROR_URL="https://yyuu.github.io/pythons" else PYTHON_BUILD_MIRROR_URL="${PYTHON_BUILD_MIRROR_URL%/}" fi From 4f0439cd1270d3859e689107a16be39e9274a65c Mon Sep 17 00:00:00 2001 From: Eric Mill Date: Tue, 28 Oct 2014 11:02:49 -0400 Subject: [PATCH 2/3] fix one failing test, around mirror URL --- plugins/python-build/test/mirror.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/test/mirror.bats b/plugins/python-build/test/mirror.bats index 7f681361..0ae58abe 100644 --- a/plugins/python-build/test/mirror.bats +++ b/plugins/python-build/test/mirror.bats @@ -92,7 +92,7 @@ export PYTHON_BUILD_MIRROR_URL=http://mirror.example.com stub shasum true "echo $checksum" stub curl "-*I* : true" \ - "-q -o * -*S* http://?*/$checksum : cp $FIXTURE_ROOT/package-1.0.0.tar.gz \$3" \ + "-q -o * -*S* https://?*/$checksum : cp $FIXTURE_ROOT/package-1.0.0.tar.gz \$3" \ install_fixture definitions/with-checksum [ "$status" -eq 0 ] From cb260fb9d039eaf25b97ebaab6c3755357e6260a Mon Sep 17 00:00:00 2001 From: Eric Mill Date: Tue, 28 Oct 2014 11:04:35 -0400 Subject: [PATCH 3/3] fix another failing test with https URL --- plugins/python-build/test/cache.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python-build/test/cache.bats b/plugins/python-build/test/cache.bats index bc0984f3..6a302d00 100644 --- a/plugins/python-build/test/cache.bats +++ b/plugins/python-build/test/cache.bats @@ -59,7 +59,7 @@ setup() { stub shasum true "echo invalid" "echo $checksum" stub curl "-*I* : true" \ - "-q -o * -*S* http://?*/$checksum : cp $FIXTURE_ROOT/package-1.0.0.tar.gz \$3" + "-q -o * -*S* https://?*/$checksum : cp $FIXTURE_ROOT/package-1.0.0.tar.gz \$3" touch "${PYTHON_BUILD_CACHE_PATH}/package-1.0.0.tar.gz"