1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-06-17 13:23:12 +00:00

[PR #12152/b34ef22c backport][stable-13] add go module to manage Go packages via go install (#12269)

add go module to manage Go packages via go install (#12152)

* add golang_package module to manage Go packages via go install

Adds a new module to install, update, and remove Go packages
using go install. Supports inline version pinning in package
names (e.g. pkg/tool/cmd with version suffix).

Assisted-by: Claude Opus 4.6


* fix copyright year and BOTMETA alphabetical order

* fix environment keyword docs, add integration test aliases

- Use C(environment) instead of O(ignore:environment) for task keyword
- Add tests/integration/targets/golang_package/aliases for CI
- Fix setup.yml: handle Alpine/ArchLinux/FreeBSD package names, skip Go < 1.16
- Pin tests to x/tools v0.24.1 (only version compatible with Go 1.16-1.25)



* test signing trace



---------



(cherry picked from commit b34ef22c82)

Co-authored-by: Shreyash <shrbhosa@redhat.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
patchback[bot] 2026-06-14 12:33:01 +02:00 committed by GitHub
parent 9e690837bd
commit 3cba1cd735
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 436 additions and 0 deletions

2
.github/BOTMETA.yml vendored
View file

@ -676,6 +676,8 @@ files:
maintainers: pixslx
$modules/gitlab_project_approvals.py:
maintainers: masa-orca
$modules/golang_package.py:
maintainers: shrbhosa
$modules/grove.py:
maintainers: zimbatm
$modules/gunicorn.py: