OBS Source Service to download, verify and vendor Go module dependency sources
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.
- Developed at devel:languages:go
- Sources inherited from project openSUSE:Factory
-
3
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Factory:PowerPC/obs-service-go_modules && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
_service | 0000000687 687 Bytes | |
_servicedata | 0000000248 248 Bytes | |
obs-service-go_modules-0.6.0.tar.gz | 0000014864 14.5 KB | |
obs-service-go_modules.changes | 0000003797 3.71 KB | |
obs-service-go_modules.spec | 0000002922 2.85 KB |
Revision 5 (latest revision is 11)
Dominique Leuenberger (dimstar_suse)
accepted
request 1067956
from
Jeff Kowalczyk (jfkw)
(revision 5)
- Update to version 0.6.0: * Make service arg subdir optional * exit(1) immediately in extract() exception handler after recording error * Use subprocess.run() options 'capture_output' & 'text' only when supported * Add '--subdir' option: all to specify the directory to search go.mod in * Use temporary directory to extract archive to * Give the user the opprtunity to specify the name of the topmost directory * Attempt to obtain name of top directory in archive from archive content (forwarded request 1067955 from jfkw)
Comments 0