* CHANGELOG: add entry for v3.12.0 * README.md: add another example to caveats * interp: add HandlerContext.Builtin * interp: add test cases with exit inside a process substitution * interp: add HandlerContext.Pos * interp: swap math/rand for math/rand/v2 * interp: add exitStatus.ok for `code == 0` comparisons * interp: move oneIf under exitStatus * interp: export IsBuiltin * interp: refactor builtins to return an exitStatus * interp: remove Runner.exitShell * interp: simplify trapping on error * interp: reduce the size of exitStatus * interp: convert strings to integers as int64 * interp: reject return with invalid arguments * syntax: skip allocating in SplitBraces when there are no braces * interp: avoid always copying CallExpr.Args to expand aliases * interp: move Runner.setFatalErr to exitStatus * interp: forward custom exit status errors when using `wait` * interp: keep custom exit status errors when using a naked `exit` * interp: positional parameters are unset when missing * interp: support reading $RANDOM and $SRANDOM * interp: add and fix more subshell exit and errexit edge cases * interp: propagate custom exit status errors in command substitutions * interp: simplify code with the exitStatus type * interp: use the Runner.Run context for calls to ReadDirHandlerFunc2 * interp: group "exit status" Runner fields into a type * interp: add more custom exit error test cases * interp: simplify returning exit codes in builtinCode OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/shfmt?expand=0&rev=7
21 lines
756 B
Plaintext
21 lines
756 B
Plaintext
<services>
|
|
<service name="obs_scm" mode="disabled">
|
|
<param name="url">https://github.com/mvdan/sh.git</param>
|
|
<param name="scm">git</param>
|
|
<param name="revision">v3.12.0</param>
|
|
<param name="versionformat">@PARENT_TAG@</param>
|
|
<param name="changesgenerate">enable</param>
|
|
<param name="versionrewrite-pattern">v(.*)</param>
|
|
</service>
|
|
<service name="tar" mode="buildtime" />
|
|
<service name="recompress" mode="buildtime">
|
|
<param name="file">*.tar</param>
|
|
<param name="compression">xz</param>
|
|
</service>
|
|
<service name="set_version" mode="disabled" />
|
|
<service name="go_modules" mode="disabled">
|
|
<param name="archive">sh-3.12.0.obscpio</param>
|
|
<param name="compression">xz</param>
|
|
</service>
|
|
</services>
|