Accepting request 1174686 from devel:languages:go

- Update to version 2.20.0:
  * Update docker image in action to v2.20.0
  * Catch os.ModePerm permissions in os.WriteFile
  * Add a unit test to detect the false negative in rule G306 for os.ModePerm permissions
  * Add filepath.EvalSymlinks to clean functions in rule G304
  * chore(deps): update all dependencies
  * Update Go to version 2.22.3 in CI and release
  * chore(deps): update module golang.org/x/text to v0.15.0
  * chore(deps): update all dependencies
  * chore(deps): update module github.com/onsi/gomega to v1.33.0
  * Update to go 1.22.2
  * chore(deps): update all dependencies
  * chore(deps): update module github.com/onsi/ginkgo/v2 to v2.17.1
  * chore(deps): update all dependencies
  * fix(helpers/goversion): get from go.mod
  * chore: fix function name
  * chore(deps): update all dependencies
  * Format the imports using the gci tool
  * Fixup: delete unused variable
  * Fix test: update test to comply with the spec of generated sources
  * Refactor: use standard function to check if a file is generated
  * Fix lint warnings
  * Add support for math/rand/v2 added in Go 1.22
  * Skip the G601 tests for Go version 1.22
  * Update go version to 1.22.1 and 1.21.8
  * Ignore 'implicit memory aliasing' rule for Go 1.22+
  * chore(deps): update all dependencies
  * chore(deps): update module golang.org/x/tools to v0.18.0
  * fix(hardcoded): remove duplicated `Stripe API Key` (forwarded request 1174421 from ph03nix)

OBS-URL: https://build.opensuse.org/request/show/1174686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gosec?expand=0&rev=15
This commit is contained in:
Ana Guerrero 2024-05-17 18:05:37 +00:00 committed by Git OBS Bridge
commit fafc4989ab
8 changed files with 44 additions and 11 deletions

View File

@ -4,7 +4,7 @@
<param name="filename">gosec</param>
<param name="url">https://github.com/securego/gosec.git</param>
<param name="scm">git</param>
<param name="version">v2.19</param>
<param name="version">v2.20</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-replacement">\1</param>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/securego/gosec.git</param>
<param name="changesrevision">d13d7dac9b7e2b40e86be5b830d297816376f1db</param></service></servicedata>
<param name="changesrevision">40f29c8d4abf59af475a79f6aa0268c296319501</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bcbf9622a434eef9ed08259fb87926a3b67a0252c356f32551c79fb8945367b8
size 640524

3
gosec-2.20.0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7078eb954f6862de1a0777dd13bb05b588d135dea2914a0ca6db1ffeff93fee4
size 643084

View File

@ -1,3 +1,36 @@
-------------------------------------------------------------------
Thu May 16 08:20:50 UTC 2024 - felix.niederwanger@suse.de
- Update to version 2.20.0:
* Update docker image in action to v2.20.0
* Catch os.ModePerm permissions in os.WriteFile
* Add a unit test to detect the false negative in rule G306 for os.ModePerm permissions
* Add filepath.EvalSymlinks to clean functions in rule G304
* chore(deps): update all dependencies
* Update Go to version 2.22.3 in CI and release
* chore(deps): update module golang.org/x/text to v0.15.0
* chore(deps): update all dependencies
* chore(deps): update module github.com/onsi/gomega to v1.33.0
* Update to go 1.22.2
* chore(deps): update all dependencies
* chore(deps): update module github.com/onsi/ginkgo/v2 to v2.17.1
* chore(deps): update all dependencies
* fix(helpers/goversion): get from go.mod
* chore: fix function name
* chore(deps): update all dependencies
* Format the imports using the gci tool
* Fixup: delete unused variable
* Fix test: update test to comply with the spec of generated sources
* Refactor: use standard function to check if a file is generated
* Fix lint warnings
* Add support for math/rand/v2 added in Go 1.22
* Skip the G601 tests for Go version 1.22
* Update go version to 1.22.1 and 1.21.8
* Ignore 'implicit memory aliasing' rule for Go 1.22+
* chore(deps): update all dependencies
* chore(deps): update module golang.org/x/tools to v0.18.0
* fix(hardcoded): remove duplicated `Stripe API Key`
-------------------------------------------------------------------
Tue Feb 13 07:48:54 UTC 2024 - felix.niederwanger@suse.de

View File

@ -1,4 +1,4 @@
name: gosec
version: 2.19.0
mtime: 1707730297
commit: d13d7dac9b7e2b40e86be5b830d297816376f1db
version: 2.20.0
mtime: 1715695036
commit: 40f29c8d4abf59af475a79f6aa0268c296319501

View File

@ -17,7 +17,7 @@
Name: gosec
Version: 2.19.0
Version: 2.20.0
Release: 0
Summary: CLI tool to scan the Go AST and SSA code representations for security problems
License: Apache-2.0

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b07f9598da59ce27c81e4b38ea7f04281275522b516ca1b7016e29c757e43174
size 4185730
oid sha256:6d7f9410d2dc2b0b81e58848221b1c01660b2a11142c3d982416d727584698e2
size 4330350