Revisions of obs-service-go_modules

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1183516 from Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) (revision 11)
- Update go toolchain to Requires: golang(API) >= 1.22
  * 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 (forwarded request 1183515 from jfkw)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1120424 from Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) (revision 10)
- Update to version 0.6.4:
  * go_modules: allow globbing in the "archive" name field
  * Reformat with black 23.x
- Packaging improvements:
  * _service change disabled to manual per osc deprecation warning:
    WARNING: Command 'disabledrun/dr' is obsolete, please convert
    your _service to use 'manual' and then 'manualrun/mr' instead. (forwarded request 1120423 from jfkw)
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)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1077010 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 8)
- 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
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1074630 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 7)
- Update to version 0.6.2:
  * Better skipping of non-compressed archive extensions (like .tar.gz.asc)
  * Adjust flake8 settings to match what black is doing
  * fix flake8 errors and add flake8 Github Action (#28)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1068974 from Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) (revision 6)
(CVE-2022-45155, bsc#1201138, bsc#1201140). (forwarded request 1068711 from eeich)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1067956 from Jeff Kowalczyk's avatar 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)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 982163 from Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) (revision 4)
- Update to version 0.5.0:
  * README update
  * Check go mod subcommand return code, log and exit on error
  * Log go.mod file not found as error not info
  * Execute go mod subcommands using subprocess.run()
  * Rework the service to better work with obs_scm
- Add Require: python3-libarchive-c
- Drop Require: tar
- Drop Require: gzip (forwarded request 982161 from jfkw)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 974449 from Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) (revision 3)
- Update to version 0.4.1:
  * Fix compression parameter default value usage (forwarded request 974350 from dirkmueller)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 973508 from Jeff Kowalczyk's avatar Jeff Kowalczyk (jfkw) (revision 2)
- Update to version 0.4.0:
  * don't ignore go mod command errors
  * allow specifying source / vendor archive compression mode

  * Return non-zero exit codes on failure (forwarded request 972797 from dirkmueller)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 736827 from Richard Brown's avatar Richard Brown (RBrownSUSE) (revision 1)
Should be in Factory, considering Tumbleweed packages require it already and package maintainers shouldn't need to rely on stuff outside of the distro
Displaying all 11 revisions
openSUSE Build Service is sponsored by