AArch64 | |
ppc64le | |
s390x | |
x86-64 |
- 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
- 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)
- 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
- 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).
- 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
- Update to version 0.4.1: * Fix compression parameter default value usage
- Update to version 0.4.0: * don't ignore go mod command errors * allow specifying source / vendor archive compression mode
- 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
- Update upstream repository location now in openSUSE organization
- Update to version 0.2.1: * README documentation improvements
- 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