- Packaging improvements:
* Fixes boo#1241065: Update Requires: python3-libarchive-c >= 4
adding minimum version to ensure API compatibility new function
signature first released in python3-libarchive-c version 4.0:
old: new_archive_read_disk(path, **kw)
new: with new_archive_read_disk(path, flags, lookup)
Runtime error raised:
TypeError: new_archive_read_disk() got an unexpected keyword argument 'mtime' (forwarded request 1270831 from jfkw)
OBS-URL: https://build.opensuse.org/request/show/1270856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-go_modules?expand=0&rev=15
* Fixes boo#1241065: Update Requires: python3-libarchive-c >= 4
adding minimum version to ensure API compatibility new function
signature first released in python3-libarchive-c version 4.0:
old: new_archive_read_disk(path, **kw)
new: with new_archive_read_disk(path, flags, lookup)
Runtime error raised:
TypeError: new_archive_read_disk() got an unexpected keyword argument 'mtime'
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/obs-service-go_modules?expand=0&rev=35
* feat: allow `archive` be name of the subdirectory
* ignore directories containing '.git' when searching for the basename (#51)
* doc(README): osc service disabled has been disabled
* Make output archives more reproducible
- Packaging improvements:
* _service tar_scm url use .git extension by convention
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/obs-service-go_modules?expand=0&rev=31
* Recent go toolchain versions enforce use of the minimum
toolchain version specified in go.mod
* Minimum toolchain requirements are in effect for go commands as
well as unit compilation
* Users running a version older than specified may see error:
go: go.mod requires go >= 1.22 (running go 1.21.10; GOTOOLCHAIN=local)
* This package and others which call go toolchain commands will
need timely updates to the latest version
* Reported by Sheng Huang (psheng)
* Closes https://github.com/openSUSE/obs-service-go_modules/issues/49
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/obs-service-go_modules?expand=0&rev=27
- 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)
OBS-URL: https://build.opensuse.org/request/show/1116359
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-go_modules?expand=0&rev=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)
OBS-URL: https://build.opensuse.org/request/show/1116358
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/obs-service-go_modules?expand=0&rev=23
- Update to version 0.6.3:
* Rename new argument vendorfilename to vendorname
* Fix default vendorfilename
* make vendor tarball name configurable (#27)
* Fix autodetection for zst/zstd confusion
* README.md: hint on avoiding errors if local git clone already exists
* README.md: add example for use of archive parameter
* Format source with python black refs #29
* Revert wrap of long lines flake8 recommends but black accepts refs #29
* flake8 config black compat extend-ignore E501 line too long refs #29
* Add GitHub CI action to run Black formatter on file go_modules
* Flake8 A002 argument "dir" is shadowing a python builtin
* Flake8 C413 Unnecessary reversed(sorted()) use sorted(reverse=True)
* Flake8 C413 fix extraneous closing perentheses in sorted()
* Flake8 C413 Unnecessary reversed(sorted()) use sorted(reverse=True)
* Fix flake8 CI action YAML indent plugins: under with: key
OBS-URL: https://build.opensuse.org/request/show/1077010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-go_modules?expand=0&rev=8
* Rename new argument vendorfilename to vendorname
* Fix default vendorfilename
* make vendor tarball name configurable (#27)
* Fix autodetection for zst/zstd confusion
* README.md: hint on avoiding errors if local git clone already exists
* README.md: add example for use of archive parameter
* Format source with python black refs #29
* Revert wrap of long lines flake8 recommends but black accepts refs #29
* flake8 config black compat extend-ignore E501 line too long refs #29
* Add GitHub CI action to run Black formatter on file go_modules
* Flake8 A002 argument "dir" is shadowing a python builtin
* Flake8 C413 Unnecessary reversed(sorted()) use sorted(reverse=True)
* Flake8 C413 fix extraneous closing perentheses in sorted()
* Flake8 C413 Unnecessary reversed(sorted()) use sorted(reverse=True)
* Fix flake8 CI action YAML indent plugins: under with: key
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/obs-service-go_modules?expand=0&rev=19
- 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)
OBS-URL: https://build.opensuse.org/request/show/1067956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-go_modules?expand=0&rev=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
OBS-URL: https://build.opensuse.org/request/show/1067955
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/obs-service-go_modules?expand=0&rev=12
- Update to version 0.3.0:
* Add check for version agreement with .spec to archive autodetection
* README add example _service configuration
* README update FAQ entries regarding Go module cache
* README update example to reflect current log output
* Add Go source archive autodetection based on RPM spec file name
* Add missing parameter archive to definition go_modules.service
* Add exception handling around shutil.rmtree for extracted archive
* README fix hyperlink
* README cite openSUSE packages built using obs-service-go_modules
* Reduce python module __doc__ from full copy to subset of README
* Packaging tar_scm service use revision instead of version to
fix use of _servicedata for changelog generation
OBS-URL: https://build.opensuse.org/request/show/727811
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/obs-service-go_modules?expand=0&rev=4
- obs-service-go_modules (0.2.0 released 2019/08/01) is the first
packaged release for review and feedback. This OBS Source Service
will download, verify and vendor Go module dependencies expressed
in the file go.mod. By vendoring all dependencies during the OBS
Source Service stage, go build commands can run in the offline
OBS build environment. This initial version:
* Tested by packaging devel:languages:go/hugo, which has the
typical Go application unpacked layout containing go.mod at:
hugo-0.56.3/go.mod
* Supports tar.gz archives in the form
hugo-0.56.3.tar.gz -> hugo-0.56.3/
Other archive format and layout support to be added as needed
* Produces vendor.tar.gz
vendor.cpio archive support planned
OBS-URL: https://build.opensuse.org/request/show/720305
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/obs-service-go_modules?expand=0&rev=1