Revisions of shfmt
- Sync devel repo change - Update to version 3.7.0: * prepare for v3.7.0 * cmd/shfmt: bump Dockerfile image versions * CHANGELOG: start the release notes for v3.7.0 * syntax: stop embedding Pos in error struct types * all: assume C.UTF-8 is available in the tests * syntax: treat &> as an error in POSIX mode * syntax: run "confirm" shell commands in a temp dir * syntax: don't parse `$foo#bar` as a comment * all: apply minor suggestions from gopls * syntax: add TODO about writer methods on Printer - Add ldflags version info back since --version option always print (devel) - Revise packaging to align with Go application package patterns * Drop dependency on golang-packaging obsolete macros use GOPATH * Use obs-service-go_modules for dependency vendoring * Drop go build ldflags version info as go1.18+ embeds metadata * Drop separate package installing shfmt application source
- Update to version 3.5.0 * Fix the Docker publishing script bug which broke 3.5.0 - #860 check CHANGELOG.md for more detail - Update spec
- Clean shfmt.changes - Update to version 3.5.0 * drops support for Go 1.16 * Switch to -ln=auto by default to detect the shell language * Add support for long flags, like --indent for -i
- Update to version 3.4.3 * New Docker v3 tag to track the latest stable version * Don't duplicate errors when walking directories * Properly handle empty paths in the test builtin * Allow unsetting global vars from inside a function again * Use %w to wrap errors in Dir
- Update to version 3.4.2 – Don't return an empty string on empty input to Quote – Properly sort in ListEnviron to avoid common prefix issues – export used in functions now affects the global scope – Support looking for scripts in $PATH in source – Properly slice arrays in parameter expansions
- Update to version 3.4.1 * Don't return an empty string on empty input to Quote * Properly sort in ListEnviron to avoid common prefix issues * export used in functions now affects the global scope * Support looking for scripts in $PATH in source * Properly slice arrays in parameter expansions
- Update to version 3.4.0 – Walks directories ~10% faster thanks to filepath.WalkDir
- Update to version 3.3.1 – Don't convert & in a separate line into ; – Fix a BinaryNextLine edge case idempotency bug – Never start printing a command with an escaped newline – Support calling Runner.Reset before Runner.Run – Obey set -e for failed redirections
- Update to version 3.3.0 * Document the FORCE_COLOR env var to always use colors in diffs * Add the printer SingleLine option to avoid printing newlines * Positions now use more bits for line numbers than column numbers * Test operators like && and || no longer escape newlines * Properly handle closing backquotes in a few edge cases * Properly handle trailing escaped newlines in heredocs * Redesigned variable scoping to fix a number of edge cases * Refactor set -o nounset support to fix many edge cases * Deprecate LookPath in favor of LookPathDir * Array element words are now expanded correctly * Add support for trap with error and exit signals * Add support for shopt -s nullglob * Add support for type -p
Displaying all 10 revisions