Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:swind:tools
obs-service-go_modules
obs-service-go_modules.changes
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File obs-service-go_modules.changes of Package obs-service-go_modules
------------------------------------------------------------------- Thu Jun 27 04:03:11 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com> - 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 ------------------------------------------------------------------- Thu Oct 26 05:05:35 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com> - 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. ------------------------------------------------------------------- Mon Oct 9 04:19:30 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com> - 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 ------------------------------------------------------------------- Sat Oct 7 05:19:34 UTC 2023 - Johannes Kastl <kastl@b1-systems.de> - 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 ------------------------------------------------------------------- Mon Apr 03 13:55:49 UTC 2023 - dmueller@suse.com - 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 ------------------------------------------------------------------- Mon Mar 27 09:39:15 UTC 2023 - dmueller@suse.com - 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) ------------------------------------------------------------------- Thu Mar 02 09:51:35 UTC 2023 - jkowalczyk@suse.com - Update to version 0.6.1: * README for pull requests enable maintainer edit permissions * Fix parser errors in service file XML formedness and special chars ------------------------------------------------------------------- Mon Feb 27 10:51:08 UTC 2023 - jkowalczyk@suse.com - 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 (CVE-2022-45155, bsc#1201138, bsc#1201140). ------------------------------------------------------------------- Sat Jun 11 01:56:21 UTC 2022 - jkowalczyk@suse.com - 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 ------------------------------------------------------------------- Mon May 02 08:36:35 UTC 2022 - dmueller@suse.com - Update to version 0.4.1: * Fix compression parameter default value usage ------------------------------------------------------------------- Tue Apr 26 08:53:25 UTC 2022 - dmueller@suse.com - Update to version 0.4.0: * don't ignore go mod command errors * allow specifying source / vendor archive compression mode ------------------------------------------------------------------- Mon Sep 02 14:40:52 UTC 2019 - jkowalczyk@suse.com - 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 ------------------------------------------------------------------- Mon Aug 5 20:45:43 UTC 2019 - Jeff Kowalczyk <jkowalczyk@suse.com> - Update upstream repository location now in openSUSE organization ------------------------------------------------------------------- Mon Aug 05 20:03:04 UTC 2019 - jkowalczyk@suse.com - Update to version 0.2.1: * README documentation improvements ------------------------------------------------------------------- Thu Aug 1 17:27:54 UTC 2019 - Jeff Kowalczyk <jkowalczyk@suse.com> - 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 * Replace print() with logging facilities * Fix indentation for cmd_go_mod() return values * Return non-zero exit codes on failure
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor