Accepting request 1302289 from home:ojkastl_buildservice:Branch_Virtualization_containers
update to 0.9.2 OBS-URL: https://build.opensuse.org/request/show/1302289 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/regclient?expand=0&rev=17
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
23
_service
Normal file
23
_service
Normal file
@@ -0,0 +1,23 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/regclient/regclient</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="package-meta">yes</param>
|
||||
<param name="revision">v0.9.2</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual">
|
||||
</service>
|
||||
<service name="go_modules" mode="manual">
|
||||
</service>
|
||||
<!-- services below are running at buildtime -->
|
||||
<service name="tar" mode="buildtime">
|
||||
<param name="package-meta">yes</param>
|
||||
</service>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
</services>
|
||||
4
_servicedata
Normal file
4
_servicedata
Normal file
@@ -0,0 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/regclient/regclient</param>
|
||||
<param name="changesrevision">9bf4b30da1110d0bc82ba2f9268e8c099172dd75</param></service></servicedata>
|
||||
3
regclient-0.9.2.obscpio
Normal file
3
regclient-0.9.2.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f12f960c49e3234fb286eb0a2335036cb77ac9c5e1d7548663b8947c6104322
|
||||
size 8310797
|
||||
204
regclient.changes
Normal file
204
regclient.changes
Normal file
@@ -0,0 +1,204 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 02 05:48:59 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- Update to version 0.9.2:
|
||||
* Security:
|
||||
- xz upgrade fixes CVE-2025-58058 (PR 989)
|
||||
* Miscellaneous:
|
||||
- Fix CLI lint errors. (PR 983)
|
||||
- Cleanup version output. (PR 985)
|
||||
- Dockerfile cleanup. (PR 986)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 25 04:49:53 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- Update to version 0.9.1:
|
||||
* Features:
|
||||
- Allow relative urls in bearer auth. (PR 963)
|
||||
- Add "ns" query param to registry mirror requests. (PR 976)
|
||||
* Miscellaneous:
|
||||
- Update to SLSA v1 provenance. (PR 968)
|
||||
- Add a "make clean" command. (PR 969)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 30 14:33:28 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- Update to version 0.9.0:
|
||||
* Breaking:
|
||||
- Drop support for 3rd Go release because of upstream forced
|
||||
upgrades (see golang/go#69095). (PR 948)
|
||||
* Features:
|
||||
- Add a script to reproduce regclient images. (PR 940)
|
||||
- Support IPv6 hosts. (PR 956)
|
||||
* Fixes:
|
||||
- Convert docker attestations built with oci-artifact=true. (PR
|
||||
949)
|
||||
- Allow duplicate keys in yaml config. (PR 952)
|
||||
* Miscellaneous:
|
||||
- Migrate yaml library. (PR 947)
|
||||
- Convert the build to use OCI style attestations. (PR 950)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 24 15:31:03 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- Update to version 0.8.3:
|
||||
* Features:
|
||||
- Add ref.AddDigest method that does not unset the tag. (PR
|
||||
910)
|
||||
- Adding a regctl registry whoami command. (PR 912)
|
||||
- Improve regctl image check-base output. (PR 917)
|
||||
- regsync option to abort on errors. (PR 924)
|
||||
- Improve fallback tag handling. (PR 925)
|
||||
- regctl flag to ignore missing images on delete. (PR 930)
|
||||
* Fixes:
|
||||
- Validate registry names. (PR 911)
|
||||
- Escape regexp example. (PR 920)
|
||||
- Auth header parsing. (PR 936)
|
||||
* Changes:
|
||||
- Update supported Go releases to 1.22, 1.23, and 1.24. (PR
|
||||
909)
|
||||
- Modernize Go to the 1.22 specs. (PR 910)
|
||||
- Refactor cobra commands. (PR 915)
|
||||
- Include Docker Hub repository documentation. (PR 918)
|
||||
- Move documentation pointers to the website. (PR 939)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 16 08:52:14 UTC 2025 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.8.2:
|
||||
* Release v0.8.2
|
||||
* Fix: Allow authentication with a token
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 12 05:53:54 UTC 2025 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.8.1:
|
||||
* Release v0.8.1
|
||||
* Version bump
|
||||
* Version bump
|
||||
* Fix: interval overrides a default schedule
|
||||
* Version bump
|
||||
* Fix: Align log levels with slog
|
||||
* Feat: Add cobra command for documentation
|
||||
* Version bump
|
||||
* Version bump
|
||||
* Fix: Combine known actions for matching repository names in
|
||||
bearerHandler
|
||||
* Feat: Improve regctl arg completion
|
||||
* Fix: Ignore unsupported entries in docker config
|
||||
* Fix: Do not request offline refresh token
|
||||
* Version bump
|
||||
* Version bump
|
||||
* Chore: Adding a logo
|
||||
* Version bump
|
||||
* Version bump
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 11 06:54:31 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.8.0:
|
||||
* Release v0.8.0
|
||||
* Feat: Support incomplete subject descriptor
|
||||
* Fix: Handle repeated digest in copy with external referrers
|
||||
* Feat: Support external referrers in regsync
|
||||
* Version bump
|
||||
* Fix: Platform test for darwin/macos should not add variant
|
||||
* Feat: Document community maintained packages
|
||||
* Chore: Remove unused short arg parameters
|
||||
* Feat: Copy image with external referrers
|
||||
* Feat: Add external flag to regctl artifact put
|
||||
* Feat: Include source in referrers response
|
||||
* Version bump
|
||||
* Feat: Image mod environment variables
|
||||
* Feat: Support referrers in an external repository
|
||||
* Version bump
|
||||
* Chore: Improve error message when inspecting artifacts
|
||||
* Version bump
|
||||
* Feat: Allow plus in ocidir path
|
||||
* Fix: Inject release notes by file
|
||||
* Feat: Move logrus calls into files excluded by wasm
|
||||
* Breaking: Disable legacy packages by default.
|
||||
* Switch regsync to slog
|
||||
* Feat: Switch regctl to slog
|
||||
* Feat: Switch regbot to slog
|
||||
* Version bump
|
||||
* Feat: Refactor logging to use log/slog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 04 19:50:32 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.7.2:
|
||||
* Release v0.7.2
|
||||
* Fix: Dedup warnings on image mod
|
||||
* Fix: Race condition in the pqueue tests
|
||||
* Fix: Add a warning if syft is not installed
|
||||
* Chore: Update docker image base filesystem
|
||||
* Chore: Remove OpenSSF scorecard and best practices
|
||||
* Chore: Do not automatically assign myself
|
||||
* Fix: Detect integer overflows on type conversion
|
||||
* Feat: Add default host config
|
||||
* Chore: Remove throttle package.
|
||||
* Chore: Refactor to remove globals in regbot
|
||||
* Chore: Refactoring to remove globals in regsync
|
||||
* Fix: Prevent data race when reading blob and seeking
|
||||
* Chore: Move throttle from config to reghttp
|
||||
* Feat: Limit number of retries for a request
|
||||
* Feat: Consolidate warnings
|
||||
* Chore: Remove ReqPerSec in tests
|
||||
* Feat: Support auth on redirect
|
||||
* Refactor: Move logging into transport and rework backoff
|
||||
* Refactor: Free up pqueue resources when last entry released
|
||||
* Configure priority queue algorithm and reorder image copy steps
|
||||
* Refactor: cleanup reghttp.Resp methods
|
||||
* Refactor: remove time.Ticker for rate limiting
|
||||
* Refactor: Remove reghttp.Resp interface
|
||||
* Refactor: Remove digest calculation from reghttp
|
||||
* Refactor: Remove multiple API support
|
||||
* Feat: Add a priority queue for network requests
|
||||
* Chore: Update staticcheck and fix linter warnings for Go 1.23
|
||||
* Fix: Lookup referrers when registry does not give digest with
|
||||
head
|
||||
* Fix: Update GHA output generating steps
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 04 07:24:13 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.7.1:
|
||||
* Release v0.7.1
|
||||
* Version bump
|
||||
* Fix: Validate the digest of the ref when provided
|
||||
* Version bump
|
||||
* Option to output config with regctl artifact get
|
||||
* Add funding.yml
|
||||
* Tar file should use forward slashes
|
||||
* Add WithDockerCredsFile() RegClient Opt
|
||||
* Fix: Mod tracking of changed manifests
|
||||
* Fix platform detection
|
||||
* Remove docker build caching to GHA
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 12 19:26:38 UTC 2024 - opensuse_buildservice@ojkastl.de
|
||||
|
||||
- Update to version 0.7.0:
|
||||
* Release v0.7.0
|
||||
* Support pushing tagged manifests with different digest
|
||||
algorithms
|
||||
* Version bump
|
||||
* Support changing digest algorithm
|
||||
* Include a contributor list in the readme
|
||||
* Enable docker caching of GHA builds
|
||||
* Remove rwfs internal package
|
||||
* Allow well known architectures as a platform
|
||||
* Cleanup Dockerfile linter warnings
|
||||
* Refactor pulling a platform specific manifest
|
||||
* Add an experimental regctl ref command
|
||||
* feat: allow ~ (tilde) in reference paths
|
||||
* Fix: Enable deletion on olareg tests
|
||||
* Feat: Return non-zero on a failed registry ping
|
||||
* Handle nil blob reader
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 11 11:00:22 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
|
||||
|
||||
- new package regclient: Docker and OCI Registry Client in Go and
|
||||
tooling using those libraries
|
||||
4
regclient.obsinfo
Normal file
4
regclient.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
name: regclient
|
||||
version: 0.9.2
|
||||
mtime: 1756475386
|
||||
commit: 9bf4b30da1110d0bc82ba2f9268e8c099172dd75
|
||||
137
regclient.spec
Normal file
137
regclient.spec
Normal file
@@ -0,0 +1,137 @@
|
||||
#
|
||||
# spec file for package regclient
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: regclient
|
||||
Version: 0.9.2
|
||||
Release: 0
|
||||
Summary: OCI Registry Client in Go and tooling using those libraries
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/regclient/regclient
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
Source1: vendor.tar.gz
|
||||
BuildRequires: bash-completion
|
||||
BuildRequires: fish
|
||||
BuildRequires: git
|
||||
BuildRequires: go >= 1.22
|
||||
BuildRequires: zsh
|
||||
|
||||
%description
|
||||
Client interface for the registry API. This packages includes regctl for a
|
||||
command line interface to manage registries.
|
||||
|
||||
%package -n %{name}-bash-completion
|
||||
Summary: Bash Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Requires: bash-completion
|
||||
Supplements: (%{name} and bash-completion)
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}-bash-completion
|
||||
Bash command line completion support for %{name}.
|
||||
|
||||
%package -n %{name}-fish-completion
|
||||
Summary: Fish Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and fish)
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}-fish-completion
|
||||
Fish command line completion support for %{name}.
|
||||
|
||||
%package -n %{name}-zsh-completion
|
||||
Summary: Zsh Completion for %{name}
|
||||
Group: System/Shells
|
||||
Requires: %{name} = %{version}
|
||||
Supplements: (%{name} and zsh)
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n %{name}-zsh-completion
|
||||
zsh command line completion support for %{name}.
|
||||
|
||||
%prep
|
||||
%autosetup -p 1 -a 1
|
||||
|
||||
%build
|
||||
COMMIT_HASH="$(sed -n 's/commit: \(.*\)/\1/p' %_sourcedir/%{name}.obsinfo)"
|
||||
|
||||
for executable in regctl regsync regbot
|
||||
do
|
||||
go build \
|
||||
-mod=vendor \
|
||||
-buildmode=pie \
|
||||
-trimpath \
|
||||
-tags nolegacy \
|
||||
-buildvcs=false \
|
||||
-ldflags="-buildid= -X github.com/regclient/regclient/internal/version.vcsTag=%{version}" \
|
||||
-o bin/${executable} ./cmd/${executable}
|
||||
done
|
||||
|
||||
%install
|
||||
|
||||
for executable in regctl regsync regbot
|
||||
do
|
||||
|
||||
# Install the binary.
|
||||
install -D -m 0755 bin/${executable} %{buildroot}/%{_bindir}/${executable}
|
||||
|
||||
# create the bash completion file
|
||||
mkdir -p %{buildroot}%{_datarootdir}/bash-completion/completions/
|
||||
%{buildroot}/%{_bindir}/${executable} completion bash > %{buildroot}%{_datarootdir}/bash-completion/completions/${executable}
|
||||
|
||||
# create the fish completion file
|
||||
mkdir -p %{buildroot}%{_datarootdir}/fish/vendor_completions.d/
|
||||
%{buildroot}/%{_bindir}/${executable} completion fish > %{buildroot}%{_datarootdir}/fish/vendor_completions.d/${executable}.fish
|
||||
|
||||
# create the zsh completion file
|
||||
mkdir -p %{buildroot}%{_datarootdir}/zsh/site-functions/
|
||||
%{buildroot}/%{_bindir}/${executable} completion zsh > %{buildroot}%{_datarootdir}/zsh/site-functions/_${executable}
|
||||
|
||||
done
|
||||
|
||||
%check
|
||||
|
||||
for executable in regctl regsync regbot
|
||||
do
|
||||
%{buildroot}/%{_bindir}/${executable} version | grep %{version}
|
||||
done
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/regbot
|
||||
%{_bindir}/regctl
|
||||
%{_bindir}/regsync
|
||||
|
||||
%files -n %{name}-bash-completion
|
||||
%{_datarootdir}/bash-completion/completions/regbot
|
||||
%{_datarootdir}/bash-completion/completions/regctl
|
||||
%{_datarootdir}/bash-completion/completions/regsync
|
||||
|
||||
%files -n %{name}-fish-completion
|
||||
%{_datarootdir}/fish/vendor_completions.d/regbot.fish
|
||||
%{_datarootdir}/fish/vendor_completions.d/regctl.fish
|
||||
%{_datarootdir}/fish/vendor_completions.d/regsync.fish
|
||||
|
||||
%files -n %{name}-zsh-completion
|
||||
%{_datarootdir}/zsh/site-functions/_regbot
|
||||
%{_datarootdir}/zsh/site-functions/_regctl
|
||||
%{_datarootdir}/zsh/site-functions/_regsync
|
||||
|
||||
%changelog
|
||||
3
vendor.tar.gz
Normal file
3
vendor.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:06d0359db607654aa42588f24622abc1a39194a9f1997703c1305d156e7bce24
|
||||
size 1873562
|
||||
Reference in New Issue
Block a user