From bc75e854655c2e454da608ea7e97979fdbdf1e29 Mon Sep 17 00:00:00 2001 From: Roberto Sora Date: Fri, 30 Aug 2019 10:07:14 +0200 Subject: [PATCH 1/3] add latest redirect links for nightly links --- README.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index f33824374e7..98919b2f70e 100644 --- a/README.md +++ b/README.md @@ -45,16 +45,18 @@ Alternatively you can download one of the pre-built binaries for the supported p These builds are generated once a day from `master` branch starting at 01:00 GMT -In order to get the latest nightly build for your platform use the following links replacing `` with the current -date, using the format YYYYMMDD (i.e for 2019/Aug/06 use `20190806` ) - -- **Linux 64 bit**: `https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-_Linux_64bit.tar.gz` -- **Linux 32 bit**: `https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-_Linux_32bit.tar.gz` -- **Linux ARM 64 bit**: `https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-_Linux_ARM64.tar.gz` -- **Linux ARM 32 bit**: `https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-_Linux_ARMv7.tar.gz` -- **Windows 64 bit**: `https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-_Windows_64bit.zip` -- **Windows 32 bit**: `https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-_Windows_32bit.zip` -- **Mac OSX**: `https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-_macOS_64bit.tar.gz` +In order to get the latest nightly build for your platform use the following links: + +- **Linux 64 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_64bit.tar.gz +- **Linux 32 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_32bit.tar.gz +- **Linux ARM 64 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_ARM64.tar.gz +- **Linux ARM 32 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_ARMv7.tar.gz +- **Windows 64 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Windows_64bit.zip +- **Windows 32 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Windows_32bit.zip +- **Mac OSX**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_macOS_64bit.tar.gz + +These links redirect to latest generated builds replacing `latest` with the latest available build +date, using the format YYYYMMDD (i.e for 2019/Aug/06 `latest` is replaced with `20190806` ) Checksums for the nightly builds are available at `https://downloads.arduino.cc/arduino-cli/nightly/nightly--checksums.txt` From 442a6b048073dec97c0a78010e0028c6bc95e3b4 Mon Sep 17 00:00:00 2001 From: Roberto Sora Date: Fri, 30 Aug 2019 11:08:34 +0200 Subject: [PATCH 2/3] make nightly latest links more readable --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 98919b2f70e..0abe42547af 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,13 @@ These builds are generated once a day from `master` branch starting at 01:00 GMT In order to get the latest nightly build for your platform use the following links: -- **Linux 64 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_64bit.tar.gz -- **Linux 32 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_32bit.tar.gz -- **Linux ARM 64 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_ARM64.tar.gz -- **Linux ARM 32 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_ARMv7.tar.gz -- **Windows 64 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Windows_64bit.zip -- **Windows 32 bit**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Windows_32bit.zip -- **Mac OSX**: https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_macOS_64bit.tar.gz +- [Linux 64 bit](https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_64bit.tar.gz) +- [Linux 32 bit](https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_32bit.tar.gz) +- [Linux ARM 64 bit](https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_ARM64.tar.gz) +- [Linux ARM 32 bit](https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Linux_ARMv7.tar.gz) +- [Windows 64 bit](https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Windows_64bit.zip) +- [Windows 32 bit](https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Windows_32bit.zip) +- [Mac OSX](https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_macOS_64bit.tar.gz) These links redirect to latest generated builds replacing `latest` with the latest available build date, using the format YYYYMMDD (i.e for 2019/Aug/06 `latest` is replaced with `20190806` ) From 35ac883d8f01c58bceeb2c9dc3152c4f8a115ad9 Mon Sep 17 00:00:00 2001 From: Roberto Sora Date: Fri, 30 Aug 2019 11:24:25 +0200 Subject: [PATCH 3/3] add redirect code to latest redirect strategy description --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0abe42547af..1bba27f10fc 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,8 @@ In order to get the latest nightly build for your platform use the following lin - [Windows 32 bit](https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_Windows_32bit.zip) - [Mac OSX](https://downloads.arduino.cc/arduino-cli/nightly/arduino-cli_nightly-latest_macOS_64bit.tar.gz) -These links redirect to latest generated builds replacing `latest` with the latest available build -date, using the format YYYYMMDD (i.e for 2019/Aug/06 `latest` is replaced with `20190806` ) +These links return a `302: Found` response, redirecting to latest generated builds by replacing `latest` with the latest +available build date, using the format YYYYMMDD (i.e for 2019/Aug/06 `latest` is replaced with `20190806` ) Checksums for the nightly builds are available at `https://downloads.arduino.cc/arduino-cli/nightly/nightly--checksums.txt`