SHA256
1
0
forked from pool/distribution

8 Commits

Author SHA256 Message Date
4b3900f0c0 Accepting request 1327469 from Virtualization:containers
OBS-URL: https://build.opensuse.org/request/show/1327469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/distribution?expand=0&rev=9
2026-01-17 13:52:58 +00:00
985c0b2d7c Move config files in systemd tmpfiles dir for immutable mode (jsc#PED-14747)
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/distribution?expand=0&rev=27
2026-01-15 21:24:24 +00:00
b5f6fed1a7 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/distribution?expand=0&rev=26 2025-07-02 08:34:00 +00:00
9a2f207d01 Accepting request 1289281 from Virtualization:containers
- 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

OBS-URL: https://build.opensuse.org/request/show/1289281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/distribution?expand=0&rev=8
2025-07-01 09:34:27 +00:00
6867caec91 - update to 3.0.0 (jsc#PED-11728):
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/distribution?expand=0&rev=24
2025-06-30 13:37:48 +00:00
de79103eef - update to 3.0.0:
* 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

OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/distribution?expand=0&rev=23
2025-06-30 13:37:19 +00:00
53b03c6e5f Accepting request 1217245 from Virtualization:containers
- remove unnecessary lock group

OBS-URL: https://build.opensuse.org/request/show/1217245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/distribution?expand=0&rev=7
2024-10-23 19:11:07 +00:00
445d38d8da - remove unnecessary lock group
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/distribution?expand=0&rev=21
2024-10-23 08:33:15 +00:00
8 changed files with 58 additions and 16 deletions

View File

@@ -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">

View File

@@ -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>

View File

@@ -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

Binary file not shown.

View File

@@ -0,0 +1 @@
d /var/lib/docker-registry 0755 registry registry -

View File

@@ -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>

View File

@@ -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

View File

@@ -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 -