Releases: Skyscanner/turbolift
4.0.0
Breaking change
Turbolift will now automatically choose whether to use a forking or branching model when cloning each repository. If you wish to go back to the previous default behaviour of always forking, use the --fork
flag when cloning. The --no-fork
flag has been removed.
Changes
- fix(create_prs): Fix race condition @sledigabel (#151)
- Bump golangci/golangci-lint-action from 6.1.0 to 6.1.1 @dependabot (#150)
- feat!(clone): Use better cloning policy @sledigabel (#148)
3.1.1
Changes
- feat(create_prs): check whether PR description file has been updated @Dan7-7-7 (#145)
- Bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0 @dependabot (#140)
3.1.0
Changes
Add file output to foreach command @rnorth (#141)
When running turbolift foreach
there are several frequent use cases that were more difficult than they should have been:
- reviewing the logs on a per-repo basis - logs were previously only in one giant scrollback
- reviewing just failure or just success logs
- (very often) gathering the names of the repos where the command succeeded or failed - for example, when running foreach to run tests
Now turbolift foreach
:
- Creates a temp directory each time it's run, which will likely exist until system reboot
- In that directory creates the following structure, where org/repo/logs.txt is repeated for every repository (mirroring the structure of the work directory):
some-temp-dir
\ successful
\ repos.txt # a list of repos where the command succeeded
\ org
\ repo
\ logs.txt # logs from the specific foreach execution on this repo
....
\ failed
\ repos.txt # a list of repos where the command succeeded
\ org
\ repo
\ logs.txt # logs from the specific foreach execution on this repo
....
Some notable points:
- the emitted repos.txt files are suitable for replay back into turbolift using the -r option
- we don't stop the current logging to terminal output - this is mainly for backwards compatibility
Other changes
- Bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 @dependabot (#142)
- fix(clone): provide helpful message when fork conflicts cause an error @Dan7-7-7 (#139)
3.0.0
Changes
Breaking change
-
fix(foreach): Remove shell invocation from foreach @annettejanewilson (#136)
Turbolift's
foreach
command no longer invokes a shell to interpret your command. This fixes some issues around passing an empty string as an argument and difficulty escaping shell characters. However, it also means that you can no longer directly pass turbolift a quoted script containing redirects or pipes. Instead, you will need to explicitly invoke a shell yourself. For example, if you previously usedturbolift foreach 'script | with > redirects'
you would now useturbolift foreach -- bash -c 'script | with > redirects'
. We hope that the improved consistency and predictability makes up for needing to be a bit more explicit in this advanced usage.
Other changes
- feat(pr-status): add build status to pr-status list table @jorgedc93 (#129)
2.4.1
Changes
- Bump golangci/golangci-lint-action from 5.1.0 to 6.0.1 @dependabot (#137)
- Bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0 @dependabot (#138)
- Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 @dependabot (#134)
- fix(foreach): supports quoted commands @jesusfcr (#132)
2.4.0
Changes
- Custom PR description file @Dan7-7-7 (#114)
- Update PR descriptions @Dan7-7-7 (#117)
- fix(executor): Adding silent mode and tests @sledigabel (#125)
- Fix goreleaser and deprecate replacements @sledigabel (#115)
- Refactor Github Mock Handler @Dan7-7-7 (#118)
- Update README.md @Dan7-7-7 (#120)
- Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 https://github.com/dependabot (#126)
- Bump release-drafter/release-drafter from 5.25.0 to 6.0.0 https://github.com/dependabot (#127)
- Bump actions/setup-go from 4 to 5 https://github.com/dependabot (#121)
- Bump github/codeql-action from 2 to 3 https://github.com/dependabot (#122)
2.3.1
2.3.0
Changes
- Clone repositories with a depth of 1 @kurtmckee (#104)
- Optional repo file @sledigabel (#75)
- #80 Refresh from upstream @Dan7-7-7 (#99)
- Bump actions/setup-go from 2 to 4 @dependabot (#112)
- Bump release-drafter/release-drafter from 5.15.0 to 5.25.0 @dependabot (#113)
- Bump github/codeql-action from 1 to 2 @dependabot (#107)
- Bump actions/checkout from 2 to 4 @dependabot (#109)
- Bump golangci/golangci-lint-action from 2.5.2 to 3.7.0 @dependabot (#106)
- Fixes the release with goreleaser fixed version @sledigabel (#110)
- Bump goreleaser/goreleaser-action from 2.5.0 to 5.0.0 @dependabot (#105)
- Add a Dependabot config to auto-update GitHub action versions @kurtmckee (#101)
- Fix all links @kurtmckee (#102)
- Help flag in Foreach returns usage @sledigabel (#98)
- Add pr-status command to README @rnorth (#92)
2.2.0
2.1.1
Changes
- Add Homebrew tap publication @rnorth (#85)
- Fixing foreach documentation @sledigabel (#81)