A shell parser, formatter, and interpreter with bash support; includes shfmt

Edit Package shfmt
https://github.com/mvdan/sh

A shell parser, formatter, and interpreter. Supports POSIX Shell, Bash, and mksh.

Refresh
Refresh
Source Files
Filename Size Changed
_service 0000000754 754 Bytes
_servicedata 0000000229 229 Bytes
sh-3.7.0.obscpio 0000910348 889 KB
sh.obsinfo 0000000091 91 Bytes
shfmt.changes 0000003054 2.98 KB
shfmt.spec 0000001541 1.5 KB
vendor.tar.xz 0000588384 575 KB
Latest Revision
erefd's avatar erefd (zzndb001) committed (revision 10)
- 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
Comments 3

Martin Wilck's avatar

Would you mind submitting this to Factory?


erefd's avatar

Fine, where should I submit this package?


Bruno Friedmann's avatar

Use the submit package on the left sidebar, and use "devel:languages:go" as target to go, ask to be maintainer for the package. Once the package is accepted there, it will be possible to submit it to openSUSE:Factory because the base is an official devel repo for Factory. Once in Factory, it will be possible to also send it to SLE:Backport to have it also in Leap. btw congratulation, nice work.

openSUSE Build Service is sponsored by