-
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- renamed all functions to use underscore, even command functions, as the distinction of function is essential to prevent errexit disablement - use `eval_capture` from `bash.bash` to prevent errexit disabling on conditional function calls, applied to: - alias-helper - ask - choose-menu - choose-option - command-working - config-edit - config-helper - confirm - down - echo-affirmative - echo-exit-affirmative - echo-exit-code - echo-file - echo-non-affirmative - echo-style - eval-helper - eval-tester - fail - fetch - fs-own - fs-realpath - fs-rm - fs-size - get-devices - git-helper - gocryptfs-helper - macos-drive - macos-installer - mount-helper - secret - select-shell - setup-dns - setup-git - setup-linux - setup-mac-brew - setup-node - setup-util - ssh-helper - until-success - ensure functions that are called conditionally have explicit returns, applied to: - debug-network - dorothy - get-devices - git-helper - mount-helper - read-key - select-hosts - setup-dns - setup-linux-fonts - setup-node - ssh-helper - remove return traps for more reliable options, applied to: - confirm - fs-rm - fs-size - gocryptfs-helper - mount-helper - unziptar - consistent exit code convention - correct timeout exit code to 60 - correct stdinargs missing help exit code from 38 to 78 - correct timeout detection from >= 128 to 142 - this should allow ctrl+c to properly abort ask/confirm/choose - document exit codes >= 128 in read-key - `return $?` changed to `return` - `"$?"` changed to `$?` - `bash.bash` - adjust defaults for better errexit shimming, add `eval_capture` - remove `require_nullglob` as it is supported by an early bash version - ask: - removed unused `--flag=...` argument - correct an error not being output to stderr - config-edit: - ensure `sponge` dependency is installed - dorothy: - update defaults from `bash.bash` - fix bad USER export - execution of tests makes more sense - down: - support `got` - use `get-installer` to fallback to first successful preference - better aria2c compatibility - preferences updated for best user experience - fixed failed downloads being reported as successful, thanks to new `eval_capture` usage - echo-clear-lines: - enforce stdin usage rather than polyfill to it - echo-quiet: - add better help - eval-helper: - stderr now actually goes to stderr, thanks to learnigns and usage of `eval_capture` - fs-realpath: - use `get-installer` to fallback to first successful preference - fs-rm: - support `--trash` argument - don't output directory information for files - get-installer: - support way more aliases - add tests - get-os-theme and setup-environment-commands: - support `THEME` env var - use `--refresh` to ignore `THEME` env var - this dramatically speeds up performance for `echo-style` - quicker macos theme detection - fallback to light mode, rather than failing, if otherwise we were able to detect - github-download: - ignore `sbom` extensions - fix broken ref/release logic - get-url-upgrade: - better support for recursion - add `is-appimage` - macos-theme: - fix missing sponge dep - macos-installer: - correct exit code, when installer fails discovery - remove peculiar cat usage - secret: - use `fs-rm` - provide reason for sudo, thanks to new improvements to `sudo-helper` - alias `signin` and `signout` - service-helper: - provide reason for sudo, thanks to new improvements to `sudo-helper` - setup-mac: - use `fs-rm` - setup-mac-brew: - fix missing sponge dep - setup-node: - fix missing sd dep - setup-util: - removed `github` method, use `download` instead - added `DOWNLOAD_BUILD_EVAL` and `DOWNLOAD_BUILD_FILTER` - uninstall now uninstalls from all package systems, rather than just the first succesful one - this fixes the issue where a utility that is installed in multiple package systems is still present after uninstall - this requires methods to detect if they are relevant when uninstalling - this improves the output to know exactly all the package systems that where used for the action - instead of always removing the XDG bin, we now let the methods figure that out - re-did and documented order preference, eliminating need for custom preferences in most cases - uninstalling tea packages now also removes the cache of the package - setup-util-*: - rewrote for performance, and greater asset support - added `setup-util-got` - renamed `setup-util-kypton` to `setup-util-krypton` - added `setup-util-linux-purge` for removing old kernels - removed `setup-util-slap` - added `setup-util-trash` - sudo-helper: - fix bad reason formatting - twitter-helper: - use setup-util - unziptar: - support DMG files - docs: - replaced `coding/exit-return-codes` with `bash/errors` - sources: - removed `strict.bash` it should have been purged when `bash.bash` was added
- Loading branch information
Showing
490 changed files
with
7,938 additions
and
4,817 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ cli: | |
plugins: | ||
sources: | ||
- id: trunk | ||
ref: v1.0.0 | ||
ref: v1.1.1 | ||
uri: https://github.com/trunk-io/plugins | ||
runtimes: | ||
enabled: | ||
|
@@ -20,18 +20,18 @@ actions: | |
- trunk-upgrade-available | ||
lint: | ||
enabled: | ||
- [email protected].347 | ||
- trufflehog@3.45.2 | ||
- [email protected].364 | ||
- trufflehog@3.48.0 | ||
- [email protected] | ||
- [email protected] | ||
- eslint@8.45.0 | ||
- flake8@6.0.0 | ||
- eslint@8.47.0 | ||
- flake8@6.1.0 | ||
- git-diff-check@SYSTEM | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- [email protected].0 | ||
- [email protected].280 | ||
- [email protected].1 | ||
- [email protected].284 | ||
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
|
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.