Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

obs-service-go_modules-0.6.4-lp160.1.1 RPM for noarch

From OpenSuSE Leap 16.0 for noarch

Name: obs-service-go_modules Distribution: openSUSE Leap 16.0
Version: 0.6.4 Vendor: openSUSE
Release: lp160.1.1 Build date: Thu Jun 27 06:03:11 2024
Group: Development/Tools/Building Build host: reproducible
Size: 50228 Source RPM: obs-service-go_modules-0.6.4-lp160.1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/openSUSE/obs-service-go_modules
Summary: An OBS source service: Download, verify and vendor Go module dependencies
An OBS Source Service that will download,
verify and vendor Go module dependency sources.

Using go.mod and go.sum present in a Go application,
the source service will call Go tools in sequence:

go mod download
go mod verify
go mod vendor

Then create a vendor.tar.gz populated with the contents of
vendor/

Provides

Requires

License

GPL-2.0-or-later

Changelog

* Thu Jun 27 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 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 09 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 07 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 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 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 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 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 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 2022 dmueller@suse.com
  - Update to version 0.4.1:
    * Fix compression parameter default value usage
* Tue Apr 26 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 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 05 2019 Jeff Kowalczyk <jkowalczyk@suse.com>
  - Update upstream repository location now in openSUSE organization
* Mon Aug 05 2019 jkowalczyk@suse.com
  - Update to version 0.2.1:
    * README documentation improvements
* Thu Aug 01 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

Files

/usr/lib/obs
/usr/lib/obs/service
/usr/lib/obs/service/go_modules
/usr/lib/obs/service/go_modules.service
/usr/share/doc/packages/obs-service-go_modules
/usr/share/doc/packages/obs-service-go_modules/README.md
/usr/share/licenses/obs-service-go_modules
/usr/share/licenses/obs-service-go_modules/LICENSE
/usr/share/man/man1/obs-service-go_modules.1.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Feb 22 00:10:27 2025