OBS Source Service to download, verify and vendor Go module dependency sources

Edit Package obs-service-go_modules

Using go.mod and go.sum distributed with a Go application, the obs-service-go_modules service calls go mod download, go mod verify and go mod vendor. The service then creates vendor.tar.gz containing the vendor/ directory populated by go mod vendor, allowing Go application package builds without network access during the build stage.

Refresh
Refresh
Source Files
Filename Size Changed
_service 0000000687 687 Bytes
_servicedata 0000000248 248 Bytes
obs-service-go_modules-0.6.3.tar.gz 0000015713 15.3 KB
obs-service-go_modules.changes 0000006572 6.42 KB
obs-service-go_modules.spec 0000002931 2.86 KB
Revision 9 (latest revision is 10)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1116359 from Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) (revision 9)
- Require go1.21 to make sure it works with go.mod files that contain a three-digit-version (e.g. 1.21.1)
- Use BuildRequires: golang(API) >= 1.21 instead of go >= 1.21
  * The recommended Go toolchain dependency expression is
    BuildRequires: golang(API) >= 1.x or optionally the metapackage
    BuildRequires: go
  * The go metapackage points to a single go version that
    increments at a date TBD after each go1.x major release. The
    expression golang(API) is available immediately upon each go1.x
    major release and is stable for expressing the minimum version
    or a temporarily pinned version.
  * Refs boo#1214933
  * Refs https://github.com/openSUSE/obs-service-go_modules/issues/33 (forwarded request 1116356 from jfkw) (forwarded request 1116358 from jfkw)
Comments 0
openSUSE Build Service is sponsored by