Description:
This update for obs-service-go_modules fixes the following issues:
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'
Update to version 0.6.6:
* Preserve symlinks on shutil.copytree archive to tempdir refs #66
Update to version 0.6.5:
* 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
Update go toolchain to Requires: golang(API) >= 1.24 (#1240130):
* 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.24.1 (running go 1.22.2; GOTOOLCHAIN=local)
* This package and others which call go toolchain commands will
need timely updates to the latest version
* Closes https://github.com/openSUSE/obs-service-go_modules/issues/62
Update go toolchain to Requires: golang(API) >= 1.22 (boo#1240130):
* 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
Update to version 0.6.4:
* go_modules: allow globbing in the "archive" name field
* Reformat with black 23.x
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
- Require go1.21 to make sure it works with go.mod files that
contain a three-digit-version (e.g. 1.21.1). Fixes boo#1214933
and https://github.com/openSUSE/obs-service-go_modules/issues/33