forked from pool/distribution
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 4b3900f0c0 | |||
| 985c0b2d7c | |||
| b5f6fed1a7 | |||
| 9a2f207d01 | |||
| 6867caec91 | |||
| de79103eef | |||
| 53b03c6e5f | |||
| 445d38d8da |
4
_service
4
_service
@@ -3,8 +3,8 @@
|
||||
<param name="url">https://github.com/docker/distribution.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="versionformat">2.8.3</param>
|
||||
<param name="revision">v2.8.3</param>
|
||||
<param name="versionformat">3.0.0</param>
|
||||
<param name="revision">v3.0.0</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
</service>
|
||||
<service name="recompress" mode="manual">
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/distribution/distribution.git</param>
|
||||
<param name="changesrevision">b5ca020cfbe998e5af3457fda087444cf5116496</param></service><service name="tar_scm">
|
||||
<param name="url">https://github.com/docker/distribution.git</param>
|
||||
<param name="changesrevision">4772604ae973031ab32dd9805a4bccf61d94909f</param></service></servicedata>
|
||||
<param name="changesrevision">b5ca020cfbe998e5af3457fda087444cf5116496</param></service></servicedata>
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8ceb585724f56810166ecbe4e4c81beeec621426ecd2a83a201971e1c3a8054b
|
||||
size 1579432
|
||||
BIN
distribution-3.0.0.tar.zst
LFS
Normal file
BIN
distribution-3.0.0.tar.zst
LFS
Normal file
Binary file not shown.
1
distribution-registry.tmpfiles
Normal file
1
distribution-registry.tmpfiles
Normal file
@@ -0,0 +1 @@
|
||||
d /var/lib/docker-registry 0755 registry registry -
|
||||
@@ -1,3 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 13 16:39:31 UTC 2026 - Valentin Lefebvre <valentin.lefebvre@suse.com>
|
||||
|
||||
- Move config files in systemd tmpfiles dir for immutable mode
|
||||
(jsc#PED-14747)
|
||||
* Add distribution-registry.tmpfiles
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 30 13:34:28 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 3.0.0 (jsc#PED-11728):
|
||||
* This is the first v3 stable release since `v2.8.3` which is a
|
||||
culmination of years of hard work of the container community
|
||||
and registry maintainers!
|
||||
* If you are upgrading from `v2.x` and have never used any of
|
||||
the release candidates, please familiarise yourselves with
|
||||
the `v2.x` deprecations properly.
|
||||
* oss and swift storage drivers are no longer supported
|
||||
* `docker/libtrust` has been replaced with `go-jose/go-jose` in
|
||||
https://github.com/distribution/distribution/pull/4096
|
||||
* `client` is no longer supported as a standalone package in
|
||||
https://github.com/distribution/distribution/pull/4126
|
||||
* the default configuration path has changed to
|
||||
`/etc/distribution/config.yml`
|
||||
* `ManifestBuilder` interface in 3886
|
||||
* `manifest.Versioned` has been deprecated in favor of
|
||||
`oci.Versioned` in 3887
|
||||
* `reference` package has been moved to
|
||||
github.com/distribution/reference in
|
||||
https://github.com/distribution/distribution/pull/4063
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 23 08:33:01 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- remove unnecessary lock group
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 27 21:17:03 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package distribution
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2026 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
|
||||
@@ -16,9 +16,9 @@
|
||||
#
|
||||
|
||||
|
||||
%define goipath github.com/docker/distribution
|
||||
%define goipath github.com/distribution/distribution/v3
|
||||
Name: distribution
|
||||
Version: 2.8.3
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: The toolset to pack, ship, store, and deliver content
|
||||
License: Apache-2.0
|
||||
@@ -27,13 +27,14 @@ URL: https://github.com/distribution/distribution
|
||||
Source0: distribution-%{version}.tar.zst
|
||||
Source1: registry-configuration.yml
|
||||
Source2: registry.service
|
||||
Source3: %{name}-registry.tmpfiles
|
||||
Source4: README-registry.SUSE
|
||||
Source10: system-user-registry.conf
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: systemd-rpm-macros
|
||||
BuildRequires: sysuser-tools
|
||||
BuildRequires: zstd
|
||||
BuildRequires: golang(API) = 1.21
|
||||
BuildRequires: golang(API) = 1.24
|
||||
Provides: docker-distribution = %{version}
|
||||
Obsoletes: docker-distribution < %{version}
|
||||
ExclusiveArch: %ix86 x86_64 %arm aarch64 ppc64 ppc64le s390x riscv64
|
||||
@@ -94,11 +95,18 @@ install -Dd -m 0755 %{buildroot}%{_sbindir}
|
||||
install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/registry.service
|
||||
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcregistry
|
||||
|
||||
#
|
||||
# systemd tmpfiles for transactional-update
|
||||
#
|
||||
mkdir -p %{buildroot}%{_tmpfilesdir}
|
||||
install -m 0644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/%{name}-registry.conf
|
||||
|
||||
%pre registry -f registry.pre
|
||||
%service_add_pre registry.service
|
||||
|
||||
%post registry
|
||||
%service_add_post registry.service
|
||||
%tmpfiles_create %{name}-registry.conf
|
||||
|
||||
%preun registry
|
||||
%service_del_preun registry.service
|
||||
@@ -107,6 +115,8 @@ ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcregistry
|
||||
%service_del_postun registry.service
|
||||
|
||||
%files registry
|
||||
%license LICENSE
|
||||
%doc README.md README-registry.SUSE
|
||||
%{_bindir}/digest
|
||||
%{_bindir}/registry
|
||||
%{_bindir}/registry-api-descriptor-template
|
||||
@@ -115,8 +125,6 @@ ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcregistry
|
||||
%{_sysusersdir}/system-user-registry.conf
|
||||
%config %{_sysconfdir}/registry
|
||||
%config(noreplace) %{_sysconfdir}/registry/config.yml
|
||||
%doc README.md README-registry.SUSE
|
||||
%license LICENSE
|
||||
%attr(-,registry,registry) %{_localstatedir}/lib/docker-registry
|
||||
%{_tmpfilesdir}/%{name}-registry.conf
|
||||
|
||||
%changelog
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
#Type Name ID GECOS Home directory Shell
|
||||
u registry - "user for distribution-registry" /var/lib/registry /usr/sbin/nologin
|
||||
m registry lock -
|
||||
|
||||
Reference in New Issue
Block a user