commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2020-10-14 15:39:27 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new.3486 (New) Package is "docker-distribution" Wed Oct 14 15:39:27 2020 rev:22 rq:841628 version:2.7.1 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2020-09-12 00:11:12.321139088 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new.3486/docker-distribution.changes 2020-10-14 15:40:01.570379878 +0200 @@ -1,0 +2,6 @@ +Mon Oct 12 08:28:38 UTC 2020 - Dirk Mueller + +- add 0004-Make-ipfilteredby-not-required.patch + Make ipfilteredby optional + +--- New: 0004-Make-ipfilteredby-not-required.patch Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.sJ1lKS/_old 2020-10-14 15:40:03.306380484 +0200 +++ /var/tmp/diff_new_pack.sJ1lKS/_new 2020-10-14 15:40:03.306380484 +0200 @@ -37,6 +37,8 @@ Patch1: 0002-Relax-filesystem-driver-folder-permissions-to-0777-cont.patch # PATCH-FIX-UPSTREAM https://github.com/docker/distribution/pull/2886 Patch2: 0003-Support-external-redis-sentinel-cluster.patch +# PATCH-FIX-UPSTREAM https://github.com/docker/distribution/pull/3088 +Patch3: 0004-Make-ipfilteredby-not-required.patch BuildRequires: go >= 1.13 BuildRequires: golang-packaging BuildRequires: systemd-rpm-macros @@ -63,9 +65,7 @@ %prep %setup -q -n distribution-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%autopatch -p1 cp %{SOURCE4} . %build ++ 0004-Make-ipfilteredby-not-required.patch ++ >From afa91463d668a0e1d110593a86df466b7425c82d Mon Sep 17 00:00:00 2001 From: Vishesh Jindal Date: Wed, 30 Jan 2019 18:35:07 +0530 Subject: [PATCH] Bugfix: Make ipfilteredby not required Signed-off-by: Vishesh Jindal (cherry picked from commit f9a05061916d095e95566d23e968608ee0576446) Signed-off-by: Sebastiaan van Stijn --- .../middleware/cloudfront/middleware.go | 42 +++ 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/registry/storage/driver/middleware/cloudfront/middleware.go b/registry/storage/driver/middleware/cloudfront/middleware.go index 83a36a72a..bd9031a99 100644 --- a/registry/storage/driver/middleware/cloudfront/middleware.go +++ b/registry/storage/driver/middleware/cloudfront/middleware.go @@ -138,27 +138,33 @@ func newCloudFrontStorageMiddleware(storageDriver storagedriver.StorageDriver, o // parse ipfilteredby var awsIPs *awsIPs - if ipFilteredBy := options["ipfilteredby"].(string); ok { - switch strings.ToLower(strings.TrimSpace(ipFilteredBy)) { - case "", "none": - awsIPs = nil - case "aws": - newAWSIPs(ipRangesURL, updateFrequency, nil) - case "awsregion": - var awsRegion []string - if regions, ok := options["awsregion"].(string); ok { - for _, awsRegions := range strings.Split(regions, ",") { - awsRegion = append(awsRegion, strings.ToLower(strings.TrimSpace(awsRegions))) + if i, ok := options["ipfilteredby"]; ok { + if ipFilteredBy, ok := i.(string); ok { + switch strings.ToLower(strings.TrimSpace(ipFilteredBy)) { + case "", "none": + awsIPs = nil + case "aws": + awsIPs = newAWSIPs(ipRangesURL, updateFrequency, nil) + case "awsregion": + var awsRegion []string + if i, ok := options["awsregion"]; ok { + if regions, ok := i.(string); ok { + for _, awsRegions := range strings.Split(regions, ",") { + awsRegion = append(awsRegion, strings.ToLower(strings.TrimSpace(awsRegions))) + } + awsIPs = newAWSIPs(ipRangesURL, updateFrequency, awsRegion) + } else { + return nil, fmt.Errorf("awsRegion must be a comma separated string of valid aws regions") + } + } else { + return nil,
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2020-09-12 00:10:41 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new.4249 (New) Package is "docker-distribution" Sat Sep 12 00:10:41 2020 rev:21 rq:833767 version:2.7.1 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2020-08-20 22:28:10.863963145 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new.4249/docker-distribution.changes 2020-09-12 00:11:12.321139088 +0200 @@ -1,0 +2,9 @@ +Thu Sep 10 10:23:33 CEST 2020 - Jiri Suchomel + +- Add 0003-Support-external-redis-sentinel-cluster.patch + This is patch that is not officially merged in docker-distribution, + but is being used by Harbor project when building docker-distribution + image +- Bumped go BuildRequires to 1.13 + +--- New: 0003-Support-external-redis-sentinel-cluster.patch Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.2TacrD/_old 2020-09-12 00:11:14.105140795 +0200 +++ /var/tmp/diff_new_pack.2TacrD/_new 2020-09-12 00:11:14.109140799 +0200 @@ -35,7 +35,9 @@ Patch0: 0001-Fix-s3-driver-for-supporting-ceph-radosgw.patch # PATCH-FIX-UPSTREAM https://github.com/docker/distribution/pull/3204 Patch1: 0002-Relax-filesystem-driver-folder-permissions-to-0777-cont.patch -BuildRequires: go >= 1.11 +# PATCH-FIX-UPSTREAM https://github.com/docker/distribution/pull/2886 +Patch2: 0003-Support-external-redis-sentinel-cluster.patch +BuildRequires: go >= 1.13 BuildRequires: golang-packaging BuildRequires: systemd-rpm-macros ExclusiveArch: x86_64 s390x aarch64 %arm ppc64le @@ -63,6 +65,7 @@ %setup -q -n distribution-%{version} %patch0 -p1 %patch1 -p1 +%patch2 -p1 cp %{SOURCE4} . %build ++ 0003-Support-external-redis-sentinel-cluster.patch ++ 920 lines (skipped)
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2020-08-20 22:28:06 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new.3399 (New) Package is "docker-distribution" Thu Aug 20 22:28:06 2020 rev:20 rq:827673 version:2.7.1 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2020-02-27 14:36:46.781963183 +0100 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new.3399/docker-distribution.changes 2020-08-20 22:28:10.863963145 +0200 @@ -1,0 +2,36 @@ +Tue Aug 18 19:43:21 UTC 2020 - Stefan Nica + +- Add 0002-Relax-filesystem-driver-folder-permissions-to-0777-cont.patch +to get the registry to honor the umask when creating new folders +(https://github.com/docker/distribution/pull/3204) + +- Add 0001-Fix-s3-driver-for-supporting-ceph-radosgw.patch +(https://github.com/docker/distribution/pull/2879) + +--- +Fri Jul 31 19:35:10 UTC 2020 - Stefan Nica + +- include OSS and GCS backend drivers in the build + +--- +Tue Jul 28 14:00:03 UTC 2020 - Thorsten Kukuk + +- Remove registry.SuSEfirewall2, SuSEfirewall2 does not exist anymore + +--- +Fri Jul 24 13:42:41 CEST 2020 - jsuch...@suse.com + +- enabled changesgenerate option to automatically generate changes + +--- +Tue Jul 7 21:44:45 UTC 2020 - Stefan Nica + +- Run registry as non-privileged user + +--- +Thu Jun 25 22:58:30 UTC 2020 - Stefan Nica + +- Reworked the RPM spec to use the golang-packaging macros instead +of the provided Makefile + +--- Old: registry.SuSEfirewall2 New: 0001-Fix-s3-driver-for-supporting-ceph-radosgw.patch 0002-Relax-filesystem-driver-folder-permissions-to-0777-cont.patch Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.H47Qv8/_old 2020-08-20 22:28:12.235963786 +0200 +++ /var/tmp/diff_new_pack.H47Qv8/_new 2020-08-20 22:28:12.243963790 +0200 @@ -1,7 +1,7 @@ # # spec file for package docker-distribution # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,21 +16,28 @@ # +%define goipath github.com/docker/distribution +%define registry_user registry +%define registry_group registry + Name: docker-distribution Version:2.7.1 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 Group: System/Management -Url:https://github.com/docker/distribution +URL:https://github.com/docker/distribution Source0:distribution-%{version}.tar.xz Source1:registry-configuration.yml Source2:registry.service -Source3:registry.SuSEfirewall2 Source4:README-registry.SUSE +# PATCH-FIX-UPSTREAM https://github.com/docker/distribution/pull/2879 +Patch0: 0001-Fix-s3-driver-for-supporting-ceph-radosgw.patch +# PATCH-FIX-UPSTREAM https://github.com/docker/distribution/pull/3204 +Patch1: 0002-Relax-filesystem-driver-folder-permissions-to-0777-cont.patch BuildRequires: go >= 1.11 +BuildRequires: golang-packaging BuildRequires: systemd-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 s390x aarch64 %arm ppc64le %description @@ -54,20 +61,19 @@ %prep %setup -q -n distribution-%{version} +%patch0 -p1 +%patch1 -p1 cp %{SOURCE4} . %build -export GOPATH=$PWD/go -mkdir -p $GOPATH/src/github.com/docker - -# Copy the vendor directory into the GOPATH. -cp -r $PWD/vendor/* $GOPATH/src -ln -s $PWD $GOPATH/src/github.com/docker/distribution - -make %{?_smp_mflags} binaries +%goprep %{goipath} +export CGO_ENABLED=0 +%define buildtags "include_oss include_gcs" +%define ldflags "-s -w -X %{goipath}/version.Version=v%{version} -X %{goipath}/version.Package=%{goipath}" +%gobuild -ldflags %{ldflags} -tags %{buildtags} cmd/registry %install -install -D -m755 bin/registry %{buildroot}/%{_bindir}/registry +%goinstall install -D -m644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/registry/config.yml install -d %{buildroot}%{_localstatedir}/lib/docker-registry @@ -78,12 +84,13 @@ install -D
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2020-02-27 14:36:38 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new.26092 (New) Package is "docker-distribution" Thu Feb 27 14:36:38 2020 rev:19 rq:779420 version:2.7.1 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2020-02-07 15:56:49.571586838 +0100 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new.26092/docker-distribution.changes 2020-02-27 14:36:46.781963183 +0100 @@ -1,0 +2,5 @@ +Fri Feb 7 08:30:49 UTC 2020 - Guillaume GARDET + +- Enable build on %arm (which include armv6), not only on armv7 + +--- Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.D1EaO3/_old 2020-02-27 14:36:49.701969207 +0100 +++ /var/tmp/diff_new_pack.D1EaO3/_new 2020-02-27 14:36:49.701969207 +0100 @@ -31,7 +31,7 @@ BuildRequires: go >= 1.11 BuildRequires: systemd-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: x86_64 s390x aarch64 armv7l armv7hl ppc64le +ExclusiveArch: x86_64 s390x aarch64 %arm ppc64le %description The Docker toolset to pack, ship, store, and deliver content.
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2020-02-07 15:55:26 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new.26092 (New) Package is "docker-distribution" Fri Feb 7 15:55:26 2020 rev:18 rq:770774 version:2.7.1 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2019-10-16 09:12:51.199843641 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new.26092/docker-distribution.changes 2020-02-07 15:56:49.571586838 +0100 @@ -1,0 +2,5 @@ +Wed Oct 30 10:09:38 UTC 2019 - Michel Normand + +- Enable ppc64le + +--- Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.dr2MPq/_old 2020-02-07 15:56:50.439587281 +0100 +++ /var/tmp/diff_new_pack.dr2MPq/_new 2020-02-07 15:56:50.443587283 +0100 @@ -31,7 +31,7 @@ BuildRequires: go >= 1.11 BuildRequires: systemd-rpm-macros BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: x86_64 s390x aarch64 armv7l armv7hl +ExclusiveArch: x86_64 s390x aarch64 armv7l armv7hl ppc64le %description The Docker toolset to pack, ship, store, and deliver content.
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2019-10-16 09:12:49 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new.2352 (New) Package is "docker-distribution" Wed Oct 16 09:12:49 2019 rev:17 rq:736462 version:2.7.1 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2018-06-19 11:58:41.409111394 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new.2352/docker-distribution.changes 2019-10-16 09:12:51.199843641 +0200 @@ -1,0 +2,29 @@ +Thu Oct 3 14:04:28 UTC 2019 - ku...@suse.de + +- Use correct URL to project +- Remove fillup, we don't ship a sysconfig file +- Correct systemd requires +- Enable build on ARM + +--- +Fri Jan 18 12:46:45 UTC 2019 - msab...@suse.com + +- Upgraded to 2.7.1 + - Support for OCI images added + - Fix upgrade issues from 2.6.x + - Update Go version to 1.11 + - Switch to multi-stage Dockerfile + - Validations enabled by default with new disabled config option + - Optimize health check performance + - Create separate permission for deleting objects in a repo + - Fix storage driver error propagation for manifest GETs + - Fix forwarded header resolution + - Add prometheus metrics + - Disable schema1 manifest by default + - Graceful shutdown + - TLS: remove ciphers that do not support perfect forward secrecy + - Fix registry stripping newlines from manifests + - Add bugsnag logrus hook + - Support ARM builds + +--- Old: distribution-2.6.2.tar.xz New: distribution-2.7.1.tar.xz Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.H9fOaG/_old 2019-10-16 09:12:51.787842125 +0200 +++ /var/tmp/diff_new_pack.H9fOaG/_new 2019-10-16 09:12:51.791842115 +0200 @@ -1,7 +1,7 @@ # # spec file for package docker-distribution # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,29 +12,26 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: docker-distribution -Version:2.6.2 +Version:2.7.1 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 Group: System/Management -Url:http://www.docker.io +Url:https://github.com/docker/distribution Source0:distribution-%{version}.tar.xz Source1:registry-configuration.yml Source2:registry.service Source3:registry.SuSEfirewall2 Source4:README-registry.SUSE -BuildRequires: go >= 1.7.0 -BuildRequires: make +BuildRequires: go >= 1.11 BuildRequires: systemd-rpm-macros -Requires(pre): %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: x86_64 s390x -%{?systemd_requires} +ExclusiveArch: x86_64 s390x aarch64 armv7l armv7hl %description The Docker toolset to pack, ship, store, and deliver content. @@ -50,6 +47,7 @@ %package registry Summary:Registry server for Docker Group: System/Management +%{?systemd_ordering} %description registry Registry server for Docker (hosting/delivering of repositories and images). @@ -90,7 +88,6 @@ %post registry %service_add_post registry.service -%{fillup_only -n registry} %preun registry %service_del_preun registry.service ++ _service ++ --- /var/tmp/diff_new_pack.H9fOaG/_old 2019-10-16 09:12:51.827842022 +0200 +++ /var/tmp/diff_new_pack.H9fOaG/_new 2019-10-16 09:12:51.827842022 +0200 @@ -3,8 +3,8 @@ https://github.com/docker/distribution.git git .git -2.6.2 -v2.6.2 +2.7.1 +v2.7.1 distribution-*.tar ++ distribution-2.6.2.tar.xz -> distribution-2.7.1.tar.xz ++ 190118 lines of diff (skipped)
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2018-06-19 11:58:33 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Tue Jun 19 11:58:33 2018 rev:16 rq:616514 version:2.6.2 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2018-03-02 21:10:37.271286068 +0100 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2018-06-19 11:58:41.409111394 +0200 @@ -1,0 +2,5 @@ +Wed Jun 13 10:30:03 UTC 2018 - dcass...@suse.com + +- Make use of %license macro + +--- @@ -23,3 +28 @@ -CVE-2017-11468 has been assigned for this issue. - -Fixes bsc#1049850 + Fixes bsc#1049850(CVE-2017-11468) @@ -37,0 +41 @@ + fix bsc#1033172 Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.rJtCdZ/_old 2018-06-19 11:58:42.233080800 +0200 +++ /var/tmp/diff_new_pack.rJtCdZ/_new 2018-06-19 11:58:42.237080650 +0200 @@ -106,7 +106,8 @@ %config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/registry %config %{_sysconfdir}/registry %config(noreplace) %{_sysconfdir}/registry/config.yml -%doc LICENSE README.md README-registry.SUSE +%doc README.md README-registry.SUSE +%license LICENSE %{_localstatedir}/lib/docker-registry %changelog
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2018-03-02 21:10:31 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Fri Mar 2 21:10:31 2018 rev:15 rq:581665 version:2.6.2 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2017-07-23 12:14:13.941164481 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2018-03-02 21:10:37.271286068 +0100 @@ -1,0 +2,10 @@ +Thu Mar 1 11:45:15 UTC 2018 - jmassaguer...@suse.com + +- Configuration files should be tagged in general as %config(noreplace) + in order to keep the modified config files. + + see https://en.opensuse.org/openSUSE:Specfile_guidelines#Configuration_files + + This fixes bsc#1083474 + +--- Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.anIkiI/_old 2018-03-02 21:10:38.027258883 +0100 +++ /var/tmp/diff_new_pack.anIkiI/_new 2018-03-02 21:10:38.027258883 +0100 @@ -1,7 +1,7 @@ # # spec file for package docker-distribution # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -105,7 +105,7 @@ %{_unitdir}/registry.service %config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/registry %config %{_sysconfdir}/registry -%config %{_sysconfdir}/registry/config.yml +%config(noreplace) %{_sysconfdir}/registry/config.yml %doc LICENSE README.md README-registry.SUSE %{_localstatedir}/lib/docker-registry
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2017-07-23 12:14:07 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Sun Jul 23 12:14:07 2017 rev:14 rq:511821 version:2.6.2 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2017-06-13 16:10:15.724440159 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2017-07-23 12:14:13.941164481 +0200 @@ -1,0 +2,16 @@ +Fri Jul 21 10:48:11 UTC 2017 - msab...@suse.com + +- Updated to 2.6.2 + +This release is a special security release to address an issue allowing +an attacker to force arbitrarily-sized memory allocations in a registry +instance through the manifest endpoint. The problem has been mitigated +by limiting the size of reads for image manifest content. + +Details for mitigation are in 29fa466 + +CVE-2017-11468 has been assigned for this issue. + +Fixes bsc#1049850 + +--- Old: distribution-2.6.1.tar.xz New: distribution-2.6.2.tar.xz Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.UxFRxd/_old 2017-07-23 12:14:14.561076914 +0200 +++ /var/tmp/diff_new_pack.UxFRxd/_new 2017-07-23 12:14:14.561076914 +0200 @@ -17,7 +17,7 @@ Name: docker-distribution -Version:2.6.1 +Version:2.6.2 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 ++ _service ++ --- /var/tmp/diff_new_pack.UxFRxd/_old 2017-07-23 12:14:14.609070135 +0200 +++ /var/tmp/diff_new_pack.UxFRxd/_new 2017-07-23 12:14:14.609070135 +0200 @@ -3,8 +3,8 @@ https://github.com/docker/distribution.git git .git -2.6.1 -v2.6.1 +2.6.2 +v2.6.2 distribution-*.tar ++ distribution-2.6.1.tar.xz -> distribution-2.6.2.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/distribution-2.6.1/.mailmap new/distribution-2.6.2/.mailmap --- old/distribution-2.6.1/.mailmap 2017-04-06 01:18:07.0 +0200 +++ new/distribution-2.6.2/.mailmap 2017-07-20 23:12:45.0 +0200 @@ -16,3 +16,4 @@ Omer CohenOmer Cohen Eric Yang Eric Yang Nikita Tarasov Nikita +Misty Stanley-Jones Misty Stanley-Jones diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/distribution-2.6.1/AUTHORS new/distribution-2.6.2/AUTHORS --- old/distribution-2.6.1/AUTHORS 2017-04-06 01:18:07.0 +0200 +++ new/distribution-2.6.2/AUTHORS 2017-07-20 23:12:45.0 +0200 @@ -1,4 +1,3 @@ -a-palchikov Aaron Lehmann Aaron Schlesinger Aaron Vinson @@ -18,10 +17,11 @@ Andrey Kostov Andy Goldstein Anis Elleuch -Anton Tiurin Antonio Mercado Antonio Murdaca +Anton Tiurin Anusha Ragunathan +a-palchikov Arien Holthuizen Arnaud Porterie Arthur Baars @@ -46,9 +46,9 @@ Dave Trombley Dave Tucker David Lawrence +davidli David Verhasselt David Xia -davidli Dejan Golja Derek McGowan Diogo Mónica @@ -68,8 +68,8 @@ Gleb Schukin harche Henri Gomez -Hu Keping Hua Wang +Hu Keping HuKeping Ian Babrou igayoso @@ -86,21 +86,21 @@ Joao Fernandes John Mulhausen John Starks +Jonathan Boulle Jon Johnson Jon Poler -Jonathan Boulle Jordan Liggitt Josh Chorlton Josh Hawn
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2017-06-13 16:10:11 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Tue Jun 13 16:10:11 2017 rev:13 rq:503350 version:2.6.1 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2017-04-14 13:41:16.449261605 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2017-06-13 16:10:15.724440159 +0200 @@ -1,0 +2,5 @@ +Mon Jun 12 21:51:23 UTC 2017 - abergm...@suse.com + +- Add SuSEfirewall2 service file for TCP port 5000. + +--- New: registry.SuSEfirewall2 Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.6nWKHg/_old 2017-06-13 16:10:17.300218083 +0200 +++ /var/tmp/diff_new_pack.6nWKHg/_new 2017-06-13 16:10:17.304217519 +0200 @@ -26,7 +26,8 @@ Source0:distribution-%{version}.tar.xz Source1:registry-configuration.yml Source2:registry.service -Source3:README-registry.SUSE +Source3:registry.SuSEfirewall2 +Source4:README-registry.SUSE BuildRequires: go >= 1.7.0 BuildRequires: make BuildRequires: systemd-rpm-macros @@ -55,7 +56,7 @@ %prep %setup -q -n distribution-%{version} -cp %{SOURCE3} . +cp %{SOURCE4} . %build export GOPATH=$PWD/go @@ -79,6 +80,11 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/registry.service ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcregistry +# +# install SuSEfirewall2 rules +# +install -Dpm 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/registry + %pre registry %service_add_pre registry.service @@ -97,6 +103,7 @@ %{_bindir}/registry %{_sbindir}/rcregistry %{_unitdir}/registry.service +%config(noreplace) %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/registry %config %{_sysconfdir}/registry %config %{_sysconfdir}/registry/config.yml %doc LICENSE README.md README-registry.SUSE ++ registry.SuSEfirewall2 ++ ## Name: Docker Registry ## Description: Open port for Docker Registry # space separated list of allowed TCP ports TCP="5000"
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2017-04-14 13:41:14 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Fri Apr 14 13:41:14 2017 rev:12 rq:487302 version:2.6.1 Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2017-02-03 17:35:53.416079466 +0100 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2017-04-14 13:41:16.449261605 +0200 @@ -1,0 +2,7 @@ +Thu Apr 6 14:49:36 UTC 2017 - msab...@suse.com + +- Updated to 2.6.1; + * Fix Forwarded header handling, revert use of X-Forwarded-Port + * Use driver Stat for registry health check + +--- Old: distribution-2.6.0.tar.xz New: distribution-2.6.1.tar.xz Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.psprIM/_old 2017-04-14 13:41:17.157161555 +0200 +++ /var/tmp/diff_new_pack.psprIM/_new 2017-04-14 13:41:17.161160989 +0200 @@ -17,7 +17,7 @@ Name: docker-distribution -Version:2.6.0 +Version:2.6.1 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 ++ _service ++ --- /var/tmp/diff_new_pack.psprIM/_old 2017-04-14 13:41:17.209154206 +0200 +++ /var/tmp/diff_new_pack.psprIM/_new 2017-04-14 13:41:17.209154206 +0200 @@ -3,8 +3,8 @@ https://github.com/docker/distribution.git git .git -2.6.0 -v2.6.0 +2.6.1 +v2.6.1 distribution-*.tar ++ distribution-2.6.0.tar.xz -> distribution-2.6.1.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/distribution-2.6.0/CHANGELOG.md new/distribution-2.6.1/CHANGELOG.md --- old/distribution-2.6.0/CHANGELOG.md 2017-01-18 02:15:28.0 +0100 +++ new/distribution-2.6.1/CHANGELOG.md 2017-04-06 01:18:07.0 +0200 @@ -1,5 +1,11 @@ # Changelog +## 2.6.1 (2017-04-05) + + Registry +- Fix `Forwarded` header handling, revert use of `X-Forwarded-Port` +- Use driver `Stat` for registry health check + ## 2.6.0 (2017-01-18) Storage diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/distribution-2.6.0/registry/api/v2/urls.go new/distribution-2.6.1/registry/api/v2/urls.go --- old/distribution-2.6.0/registry/api/v2/urls.go 2017-01-18 02:15:28.0 +0100 +++ new/distribution-2.6.1/registry/api/v2/urls.go 2017-04-06 01:18:07.0 +0200 @@ -1,10 +1,8 @@ package v2 import ( - "net" "net/http" "net/url" - "strconv" "strings" "github.com/docker/distribution/reference" @@ -48,66 +46,42 @@ // NewURLBuilderFromRequest uses information from an *http.Request to // construct the root url. func NewURLBuilderFromRequest(r *http.Request, relative bool) *URLBuilder { - var scheme string + var ( + scheme = "http" + host = r.Host + ) - forwardedProto := r.Header.Get("X-Forwarded-Proto") - // TODO: log the error - forwardedHeader, _, _ := parseForwardedHeader(r.Header.Get("Forwarded")) - - switch { - case len(forwardedProto) > 0: - scheme = forwardedProto - case len(forwardedHeader["proto"]) > 0: - scheme = forwardedHeader["proto"] - case r.TLS != nil: + if r.TLS != nil { scheme = "https" - case len(r.URL.Scheme) > 0: + } else if len(r.URL.Scheme) > 0 { scheme = r.URL.Scheme - default: - scheme = "http" } - host := r.Host - - if forwardedHost := r.Header.Get("X-Forwarded-Host"); len(forwardedHost) > 0 { - // According to the Apache mod_proxy docs, X-Forwarded-Host can be a - // comma-separated list of hosts, to which each proxy appends the - // requested host. We want to grab the first from this comma-separated - // list. - hosts := strings.SplitN(forwardedHost, ",", 2) - host = strings.TrimSpace(hosts[0]) - } else if addr, exists := forwardedHeader["for"]; exists { - host = addr - } else if h, exists := forwardedHeader["host"]; exists { - host = h - } - - portLessHost, port := host, "" - if !isIPv6Address(portLessHost) { - // with go 1.6, this would treat the last part of IPv6 address as a port -
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2017-01-31 12:42:13 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2017-01-24 10:34:36.664107618 +0100 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2017-02-03 17:35:53.416079466 +0100 @@ -1,0 +2,5 @@ +Fri Jan 27 15:03:17 UTC 2017 - b...@suse.com + +- enable build for s390x + +--- Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.pQpVn7/_old 2017-02-03 17:35:53.976000216 +0100 +++ /var/tmp/diff_new_pack.pQpVn7/_new 2017-02-03 17:35:53.976000216 +0100 @@ -32,7 +32,7 @@ BuildRequires: systemd-rpm-macros Requires(pre): %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: x86_64 +ExclusiveArch: x86_64 s390x %{?systemd_requires} %description
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2017-01-24 10:34:35 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2016-08-05 18:18:01.0 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2017-01-24 10:34:36.664107618 +0100 @@ -1,0 +2,75 @@ +Wed Jan 18 11:07:05 UTC 2017 - msab...@suse.com + +- Updated to v2.6.0 + + Storage +- S3: fixed bug in delete due to read-after-write inconsistency +- S3: allow EC2 IAM roles to be used when authorizing region endpoints +- S3: add Object ACL Support +- S3: fix delete method's notion of subpaths +- S3: use multipart upload API in `Move` method for performance +- S3: add v2 signature signing for legacy S3 clones +- Swift: add simple heuristic to detect incomplete DLOs during read ops +- Swift: support different user and tenant domains +- Swift: bulk deletes in chunks +- Aliyun OSS: fix delete method's notion of subpaths +- Aliyun OSS: optimize data copy after upload finishes +- Azure: close leaking response body +- Fix storage drivers dropping non-EOF errors when listing repositories +- Compare path properly when listing repositories in catalog +- Add a foreign layer URL host whitelist +- Improve catalog enumerate runtime + + Registry +- Export `storage.CreateOptions` in top-level package +- Enable notifications to endpoints that use self-signed certificates +- Properly validate multi-URL foreign layers +- Add control over validation of URLs in pushed manifests +- Proxy mode: fix socket leak when pull is cancelled +- Tag service: properly handle error responses on HEAD request +- Support for custom authentication URL in proxying registry +- Add configuration option to disable access logging +- Add notification filtering by target media type +- Manifest: `References()` returns all children +- Honor `X-Forwarded-Port` and Forwarded headers +- Reference: Preserve tag and digest in With* functions +- Add policy configuration for enforcing repository classes + + Client +- Changes the client Tags `All()` method to follow links +- Allow registry clients to connect via HTTP2 +- Better handling of OAuth errors in client + + Spec +- Manifest: clarify relationship between urls and foreign layers +- Authorization: add support for repository classes + + Manifest +- Override media type returned from `Stat()` for existing manifests +- Add plugin mediatype to distribution manifest + + Docs +- Document `TOOMANYREQUESTS` error code +- Document required Let's Encrypt port +- Improve documentation around implementation of OAuth2 +- Improve documentation for configuration + + Auth +- Add support for registry type in scope +- Add support for using v2 ping challenges for v1 +- Add leeway to JWT `nbf` and `exp` checking +- htpasswd: dynamically parse htpasswd file +- Fix missing auth headers with PATCH HTTP request when pushing to default port + + Dockerfile +- Update to go1.7 +- Reorder Dockerfile steps for better layer caching + + Notes + +Documentation has moved to the documentation repository at +`github.com/docker/docker.github.io/tree/master/registry` + +The registry is go 1.7 compliant, and passes newer, more restrictive `lint` and `vet` ing. + +--- Old: distribution-2.5.0.tar.xz New: distribution-2.6.0.tar.xz Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.sbLeo7/_old 2017-01-24 10:34:37.244025402 +0100 +++ /var/tmp/diff_new_pack.sbLeo7/_new 2017-01-24 10:34:37.248024835 +0100 @@ -1,7 +1,7 @@ # # spec file for package docker-distribution # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: docker-distribution -Version:2.5.0 +Version:2.6.0 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 @@ -27,7 +27,7 @@ Source1:registry-configuration.yml Source2:registry.service Source3:README-registry.SUSE -BuildRequires: go >= 1.5.4 +BuildRequires: go >= 1.7.0 BuildRequires: make BuildRequires: systemd-rpm-macros Requires(pre): %fillup_prereq ++ _service ++ ---
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2016-08-05 18:18:00 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2016-05-29 03:13:38.0 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2016-08-05 18:18:01.0 +0200 @@ -1,0 +2,35 @@ +Mon Aug 1 14:15:23 UTC 2016 - msab...@suse.com + +- Updated to v2.5.0 + +### Storage +- Ensure uploads directory is cleaned after upload is commited +- Add ability to cap concurrent operations in filesystem driver +- S3: Add 'us-gov-west-1' to the valid region list +- Swift: Handle ceph not returning Last-Modified header for HEAD requests +- Add redirect middleware + + Registry +- Add support for blobAccessController middleware +- Add support for layers from foreign sources +- Remove signature store +- Add support for Let's Encrypt +- Correct yaml key names in configuration + + Client +- Add option to get content digest from manifest get + + Spec +- Update the auth spec scope grammar to reflect the fact that hostnames are optionally supported +- Clarify API documentation around catalog fetch behavior + +### API +- Support returning HTTP 429 (Too Many Requests) + +### Documentation +- Update auth documentation examples to show "expires in" as int + +### Docker Image +- Use Alpine Linux as base image + +--- Old: distribution-2.4.1.tar.xz New: distribution-2.5.0.tar.xz Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.DbprGh/_old 2016-08-05 18:18:02.0 +0200 +++ /var/tmp/diff_new_pack.DbprGh/_new 2016-08-05 18:18:02.0 +0200 @@ -17,7 +17,7 @@ Name: docker-distribution -Version:2.4.1 +Version:2.5.0 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 ++ _service ++ --- /var/tmp/diff_new_pack.DbprGh/_old 2016-08-05 18:18:02.0 +0200 +++ /var/tmp/diff_new_pack.DbprGh/_new 2016-08-05 18:18:02.0 +0200 @@ -3,8 +3,8 @@ https://github.com/docker/distribution.git git .git -2.4.1 -v2.4.1 +2.5.0 +v2.5.0 distribution-*.tar ++ distribution-2.4.1.tar.xz -> distribution-2.5.0.tar.xz ++ 31343 lines of diff (skipped)
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2016-05-29 03:12:40 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2016-04-28 16:59:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2016-05-29 03:13:38.0 +0200 @@ -1,0 +2,20 @@ +Wed May 18 20:13:04 UTC 2016 - msab...@suse.com + +- Updated to v2.4.1. It contains the following fixes: + +93d7624 Preserve author information in schema1 manifests +ba672e8 When a blob upload is committed prevent writing out hashstate in the subsequent close. +96230de Add a test with a missing _manifests directory +c0d3813 Move garbage collect code into storage package +011b7e4 Ensure GC continues marking if _manifests is nonexistent +0a1fcf9 Fix wording for dry-run flag in useage message for garbage collector. +ed02e88 Sorting completed parts by part number for a better accordance with the S3 spec +fd5a404 Add blobWrtiter.Close() call into blobWriter.Commit() +3f538ca add cn-north-1 to valid check +3330cc5 wait for DLO segments to show up when Close()ing the writer +775d096 Use correct media type for config blob in schema2 manifest +64a9727 Only check validity of S3 region if not using custom endpoint +dafb59f Ensure we log io.Copy errors and bytes copied/total in uploads +431e46a GCS: FileWriter.Size: return offset + buffer size for Writers that are not closed + +--- Old: distribution-2.4.0.tar.xz New: distribution-2.4.1.tar.xz Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.S2iMgg/_old 2016-05-29 03:13:39.0 +0200 +++ /var/tmp/diff_new_pack.S2iMgg/_new 2016-05-29 03:13:39.0 +0200 @@ -17,7 +17,7 @@ Name: docker-distribution -Version:2.4.0 +Version:2.4.1 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 ++ _service ++ --- /var/tmp/diff_new_pack.S2iMgg/_old 2016-05-29 03:13:39.0 +0200 +++ /var/tmp/diff_new_pack.S2iMgg/_new 2016-05-29 03:13:39.0 +0200 @@ -3,8 +3,8 @@ https://github.com/docker/distribution.git git .git -2.4.0 -v2.4.0 +2.4.1 +v2.4.1 distribution-*.tar ++ distribution-2.4.0.tar.xz -> distribution-2.4.1.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/distribution-2.4.0/manifest/schema1/config_builder.go new/distribution-2.4.1/manifest/schema1/config_builder.go --- old/distribution-2.4.0/manifest/schema1/config_builder.go 2016-04-14 15:11:00.0 +0200 +++ new/distribution-2.4.1/manifest/schema1/config_builder.go 2016-05-18 22:10:44.0 +0200 @@ -110,7 +110,8 @@ ContainerConfig struct { Cmd []string } `json:"container_config,omitempty"` - ThrowAway bool `json:"throwaway,omitempty"` + Authorstring `json:"author,omitempty"` + ThrowAway bool `json:"throwaway,omitempty"` } fsLayerList := make([]FSLayer, len(img.History)) @@ -145,6 +146,7 @@ Parent: parent, Comment: h.Comment, Created: h.Created, + Author: h.Author, } v1Compatibility.ContainerConfig.Cmd = []string{img.History[i].CreatedBy} if h.EmptyLayer { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/distribution-2.4.0/manifest/schema1/config_builder_test.go new/distribution-2.4.1/manifest/schema1/config_builder_test.go --- old/distribution-2.4.0/manifest/schema1/config_builder_test.go 2016-04-14 15:11:00.0 +0200 +++ new/distribution-2.4.1/manifest/schema1/config_builder_test.go 2016-05-18 22:10:44.0 +0200 @@ -163,6 +163,7 @@ "empty_layer": true }, { +"author": "Alyssa P. Hacker \u003calysp...@example.com\u003e", "created": "2015-11-04T23:06:32.083868454Z", "created_by": "/bin/sh -c dd if=/dev/zero of=/file bs=1024 count=1024" }, @@ -252,8 +253,8 @@ } expectedV1Compatibility := []string{ -
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2016-04-28 16:55:34 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2016-03-18 21:42:39.0 +0100 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2016-04-28 16:59:04.0 +0200 @@ -2 +2,58 @@ -Thu Mar 10 11:14:26 UTC 2016 - msab...@suse.com +Thu Apr 14 07:45:10 UTC 2016 - msab...@suse.com + +- Upgraded to 2.4.0. Changelog: + +* New S3 storage driver + +The default s3 storage driver is now implemented on top of the official Amazon +S3 SDK, boasting major performance and stability goodness. The previous storage +is still available, but deprecated. + +* Garbage Collector + +A garbage collector tool has been added to the registry. For more details see +the garbage collector documentation. + +* Tagged Manifest Events + +Manifest push and pull events will now include the tag which was used in the +operation (if applicable). + +* Relative URLs + +The registry can now be configured to return relative URLs in Location headers. + +* V1 Signature disabled + +With the ongoing adoption of the schema 2 manifest format and deprecation of +signatures, this option will improve pull performance by generating and +returning a single libtrust signature. + +* Gotchas + +The RADOS storage driver has been removed. The registry can still be used with +Ceph as the storage backend using the swift driver in conjunction with the +Swift API gateway. + +The command line format has changed to support subcommands. To run a registry +as before an additional subcommand - serve - is required. + +The legacy S3 storage driver, based on adroll/goamz is now deprecated and will +be removed in a future release. + +--- +Thu Mar 10 15:22:12 UTC 2016 - msab...@suse.com + +- Updated changelog + +bsc#970507 + +The fix_version.patch file has been removed because it has been fixed upstream + +--- +Thu Mar 10 12:13:56 UTC 2016 - msab...@suse.com + +- Removed old tarball + +--- +Thu Mar 10 12:05:58 UTC 2016 - msab...@suse.com @@ -14,10 +71 @@ -Sat Feb 13 10:07:28 UTC 2016 - mplus...@suse.com - -- Drop useless _service and use url instead -- Update systemd dependencies -- Cleanup spec file with spec-cleaner -- Fix rcservice symlink -- Adjust previous changelog entry to match requirements - -Fri Feb 5 11:55:57 UTC 2016 - msab...@suse.com +Fri Feb 5 11:02:49 UTC 2016 - msab...@suse.com @@ -26,40 +74,3 @@ - * This Docker Registry release is the first to support the Image -Manifest Version 2, Schema 2 manifest format. - * Dropped fix_version.patch as it is no longer needed - -Mon Dec 28 16:44:33 UTC 2015 - fcaste...@suse.com - -- Fix default configuration file - -Mon Dec 28 09:51:35 UTC 2015 - fcaste...@suse.com - -- Update to 2.2.1: - * Storage Drivers correctly handle empty directories. - * Swift storage driver support for bulk deletes and improved handling of -eventually consistent configurations. - * Reduction in roundtrips for layer download. - * Catalog performance improvements. -- Update to 2.2.0: - * Google Cloud Storage Driver: the Registry now supports Google's reliable and -fast network and storage infrastructure for layer and manifest storage. - * Read-only mode: Enables a Registry to serve only read requests, useful to - maintain read availability during unsafe administrative tasks. - * Configurable hostname support: Allows the specification of an -externally-reachable URL for the Registry. - * Improved handling of environmental variables: Enables environment variables -to be specified which are not part of the configuration file. - * Configurable file-existence and HTTP health checks: Allows administrators to -easily disable a registry temporarily by placing a file on the filesystem. -Additionally a registry can be configured to check the health of other -services, such as notification endpoints. - * Enable configurable HTTP headers to be set in responses: This feature is -usable for Registry administrators to set response headers for various -uses cases including increased security. - * Redirect Support in the Swift Driver: The Swift storage driver now supports -
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2016-03-18 21:42:38 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2016-02-17 12:10:41.0 +0100 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2016-03-18 21:42:39.0 +0100 @@ -1,0 +2,12 @@ +Thu Mar 10 11:14:26 UTC 2016 - msab...@suse.com + +- Ugraded to 2.3.1. The changelog is as follows: + +- Allow uppercase characters in hostnames (https://github.com/docker/distribution/commit/34c3acf8a8d800524ac06444290b26ed96d4dac0) +- Fix schema1 manifest etag and docker content digest header (https://github.com/docker/distribution/commit/d7eb5d118a6a14a6f320062296b1808506c35241) +- Add option to disable signatures (https://github.com/docker/distribution/commit/d1c173078fe47f45c7f7b96098410d4f13dd68ab) +- To avoid any network use unless necessary, delay establishing authorization (https://github.com/docker/distribution/commit/740ed699f40e1522faacb2a706e44fa1560af8ea) +- Extend authChallenger interface to remove type cast. (https://github.com/docker/distribution/commit/16445b67679e91eab408a40a34625aa1f4dabfd1) +- Enable proxying registries to downgrade fetched manifests to Schema 1. (https://github.com/docker/distribution/commit/36936218c2e6a4527fc99a5c04126bb1f4c7d55c) + +--- Old: v2.3.0.tar.gz New: v2.3.1.tar.gz Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.YRbZye/_old 2016-03-18 21:42:40.0 +0100 +++ /var/tmp/diff_new_pack.YRbZye/_new 2016-03-18 21:42:40.0 +0100 @@ -17,7 +17,7 @@ Name: docker-distribution -Version:2.3.0 +Version:2.3.1 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 ++ v2.3.0.tar.gz -> v2.3.1.tar.gz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/distribution-2.3.0/configuration/configuration.go new/distribution-2.3.1/configuration/configuration.go --- old/distribution-2.3.0/configuration/configuration.go 2016-02-04 20:11:33.0 +0100 +++ new/distribution-2.3.1/configuration/configuration.go 2016-02-23 23:39:19.0 +0100 @@ -145,6 +145,21 @@ Health Health `yaml:"health,omitempty"` Proxy Proxy `yaml:"proxy,omitempty"` + + // Compatibility is used for configurations of working with older or deprecated features. + Compatibility struct { + // Schema1 configures how schema1 manifests will be handled + Schema1 struct { + // TrustKey is the signing key to use for adding the signature to + // schema1 manifests. + TrustKey string `yaml:"signingkeyfile,omitempty"` + + // DisableSignatureStore will cause all signatures attached to schema1 manifests + // to be ignored. Signatures will be generated on all schema1 manifest requests + // rather than only requests which converted schema2 to schema1. + DisableSignatureStore bool `yaml:"disablesignaturestore,omitempty"` + } `yaml:"schema1,omitempty"` + } `yaml:"compatibility,omitempty"` } // LogHook is composed of hook Level and Type. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/distribution-2.3.0/manifest/schema1/manifest.go new/distribution-2.3.1/manifest/schema1/manifest.go --- old/distribution-2.3.0/manifest/schema1/manifest.go 2016-02-04 20:11:33.0 +0100 +++ new/distribution-2.3.1/manifest/schema1/manifest.go 2016-02-23 23:39:19.0 +0100 @@ -102,7 +102,7 @@ Canonical []byte `json:"-"` // all contains the byte representation of the Manifest including signatures - // and is retuend by Payload() + // and is returned by Payload() all []byte } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/distribution-2.3.0/reference/reference.go new/distribution-2.3.1/reference/reference.go --- old/distribution-2.3.0/reference/reference.go 2016-02-04 20:11:33.0 +0100 +++ new/distribution-2.3.1/reference/reference.go 2016-02-23 23:39:19.0 +0100 @@ -6,7 +6,7 @@ // reference :=
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2016-02-17 10:26:03 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2016-01-07 00:24:39.0 +0100 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2016-02-17 12:10:41.0 +0100 @@ -1,0 +2,17 @@ +Sat Feb 13 10:07:28 UTC 2016 - mplus...@suse.com + +- Drop useless _service and use url instead +- Update systemd dependencies +- Cleanup spec file with spec-cleaner +- Fix rcservice symlink +- Adjust previous changelog entry to match requirements + +--- +Fri Feb 5 11:55:57 UTC 2016 - msab...@suse.com + +- Update to 2.3 + * This Docker Registry release is the first to support the Image +Manifest Version 2, Schema 2 manifest format. + * Dropped fix_version.patch as it is no longer needed + +--- Old: _service distribution-2.2.1.tar.xz fix_version.patch New: v2.3.0.tar.gz Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.8o9Cxr/_old 2016-02-17 12:10:43.0 +0100 +++ /var/tmp/diff_new_pack.8o9Cxr/_new 2016-02-17 12:10:43.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package docker-distribution # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,23 +17,23 @@ Name: docker-distribution -Version:2.2.1 +Version:2.3.0 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 Group: System/Management Url:http://www.docker.io -Source: distribution-%{version}.tar.xz +Source0: https://github.com/docker/distribution/archive/v%{version}.tar.gz Source1:registry-configuration.yml Source2:registry.service Source3:README-registry.SUSE -Patch0: fix_version.patch BuildRequires: go >= 1.5.2 BuildRequires: make -BuildRequires: systemd-devel -PreReq: %fillup_prereq +BuildRequires: systemd-rpm-macros +Requires(pre): %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build ExclusiveArch: x86_64 +%{?systemd_requires} %description The Docker toolset to pack, ship, store, and deliver content. @@ -56,7 +56,6 @@ %prep %setup -q -n distribution-%{version} cp %{SOURCE3} . -%patch0 -p1 %build export DISTRIBUTION_PKG="github.com/docker/distribution" @@ -65,22 +64,19 @@ export GOPATH="$(pwd)/.gopath:$(pwd)/Godeps/_workspace" # patch version export VERSION=v%{version} -make binaries +make %{?_smp_mflags} binaries %install -install -d %{buildroot}%{_bindir} install -D -m755 bin/registry %{buildroot}/%{_bindir}/registry install -D -m644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/registry/config.yml -mkdir -p %{buildroot}/var/lib/docker-registry +install -d %{buildroot}%{_localstatedir}/lib/docker-registry # # systemd service for registry # -install -Dd -m 0755 \ - %{buildroot}%{_sysconfdir}/init.d \ - %{buildroot}%{_sbindir} -install -D -m 0644 %SOURCE2 %{buildroot}%{_unitdir}/registry.service -ln -sf /sbin/service $RPM_BUILD_ROOT/usr/sbin/rcregistry +install -Dd -m 0755 %{buildroot}%{_sbindir} +install -D -m 0644 %{SOURCE2} %{buildroot}%{_unitdir}/registry.service +ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rcregistry %pre registry %service_add_pre registry.service @@ -98,11 +94,11 @@ %files registry %defattr(-,root,root) %{_bindir}/registry -/usr/sbin/rcregistry +%{_sbindir}/rcregistry %{_unitdir}/registry.service %config %{_sysconfdir}/registry %config %{_sysconfdir}/registry/config.yml %doc LICENSE README.md README-registry.SUSE -/var/lib/docker-registry +%{_localstatedir}/lib/docker-registry %changelog
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2016-01-07 00:24:37 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2015-10-06 13:25:02.0 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2016-01-07 00:24:39.0 +0100 @@ -1,0 +2,37 @@ +Mon Dec 28 16:44:33 UTC 2015 - fcaste...@suse.com + +- Fix default configuration file + +--- +Mon Dec 28 09:51:35 UTC 2015 - fcaste...@suse.com + +- Update to 2.2.1: + * Storage Drivers correctly handle empty directories. + * Swift storage driver support for bulk deletes and improved handling of +eventually consistent configurations. + * Reduction in roundtrips for layer download. + * Catalog performance improvements. +- Update to 2.2.0: + * Google Cloud Storage Driver: the Registry now supports Google's reliable and +fast network and storage infrastructure for layer and manifest storage. + * Read-only mode: Enables a Registry to serve only read requests, useful to + maintain read availability during unsafe administrative tasks. + * Configurable hostname support: Allows the specification of an +externally-reachable URL for the Registry. + * Improved handling of environmental variables: Enables environment variables +to be specified which are not part of the configuration file. + * Configurable file-existence and HTTP health checks: Allows administrators to +easily disable a registry temporarily by placing a file on the filesystem. +Additionally a registry can be configured to check the health of other +services, such as notification endpoints. + * Enable configurable HTTP headers to be set in responses: This feature is +usable for Registry administrators to set response headers for various +uses cases including increased security. + * Redirect Support in the Swift Driver: The Swift storage driver now supports +generating download URLs in line with other cloud storage drivers. + * Gotchas: In order to support valid hostnames as name components, supporting +repeated dash was added. Additionally double underscore is now allowed as a +separator to loosen the restriction for previously supported names. +- Update bundled configuration file: do no longer use deprecated `loglevel` + +--- Old: docker-distribution-2.1.1.tar.bz2 New: _service distribution-2.2.1.tar.xz Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.k1eKgk/_old 2016-01-07 00:24:41.0 +0100 +++ /var/tmp/diff_new_pack.k1eKgk/_new 2016-01-07 00:24:41.0 +0100 @@ -17,18 +17,18 @@ Name: docker-distribution -Version:2.1.1 +Version:2.2.1 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 Group: System/Management Url:http://www.docker.io -Source: %{name}-%{version}.tar.bz2 +Source: distribution-%{version}.tar.xz Source1:registry-configuration.yml Source2:registry.service Source3:README-registry.SUSE Patch0: fix_version.patch -BuildRequires: go >= 1.3 +BuildRequires: go >= 1.5.2 BuildRequires: make BuildRequires: systemd-devel PreReq: %fillup_prereq @@ -54,7 +54,7 @@ Registry server for Docker (hosting/delivering of repositories and images). %prep -%setup -q -n docker-distribution-%{version} +%setup -q -n distribution-%{version} cp %{SOURCE3} . %patch0 -p1 ++ _service ++ https://github.com/docker/distribution.git git .git 2.2.1 v2.2.1 distribution-*.tar xz distribution ++ registry-configuration.yml ++ --- /var/tmp/diff_new_pack.k1eKgk/_old 2016-01-07 00:24:41.0 +0100 +++ /var/tmp/diff_new_pack.k1eKgk/_new 2016-01-07 00:24:41.0 +0100 @@ -1,5 +1,6 @@ version: 0.1 -loglevel: info +log: + level: info storage: filesystem: rootdirectory: /var/lib/docker-registry
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2015-10-06 13:25:01 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2015-09-17 09:21:52.0 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2015-10-06 13:25:02.0 +0200 @@ -1,0 +2,5 @@ +Wed Sep 23 11:05:51 UTC 2015 - jmassaguer...@suse.com + +- set exclusive arch to x86_64 since this is the only arch we build for + +--- Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.nXRpqB/_old 2015-10-06 13:25:03.0 +0200 +++ /var/tmp/diff_new_pack.nXRpqB/_new 2015-10-06 13:25:03.0 +0200 @@ -33,6 +33,7 @@ BuildRequires: systemd-devel PreReq: %fillup_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExclusiveArch: x86_64 %description The Docker toolset to pack, ship, store, and deliver content.
commit docker-distribution for openSUSE:Factory
Hello community, here is the log from the commit of package docker-distribution for openSUSE:Factory checked in at 2015-09-17 09:21:51 Comparing /work/SRC/openSUSE:Factory/docker-distribution (Old) and /work/SRC/openSUSE:Factory/.docker-distribution.new (New) Package is "docker-distribution" Changes: --- /work/SRC/openSUSE:Factory/docker-distribution/docker-distribution.changes 2015-07-12 22:52:13.0 +0200 +++ /work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes 2015-09-17 09:21:52.0 +0200 @@ -1,0 +2,18 @@ +Mon Sep 7 18:39:59 UTC 2015 - jmassaguer...@suse.com + +- Update to 2.1.1 + + This release provides a bug fix where the filesystem layout of manifests was +not backwards compatible with v2.0.x registries. + +- Update to 2.1.0 + - Support for listing Registry repositories + - Manifest and layer soft deletion + - Pull through caching (experimental) + - Storage Drivers + + more details on: https://github.com/docker/distribution/releases + + add fix_version.patch: fix version to 2.1.1 instead of git version + +--- Old: docker-distribution-2.0.1.tar.bz2 New: docker-distribution-2.1.1.tar.bz2 fix_version.patch Other differences: -- ++ docker-distribution.spec ++ --- /var/tmp/diff_new_pack.RauNMl/_old 2015-09-17 09:21:52.0 +0200 +++ /var/tmp/diff_new_pack.RauNMl/_new 2015-09-17 09:21:52.0 +0200 @@ -17,7 +17,7 @@ Name: docker-distribution -Version:2.0.1 +Version:2.1.1 Release:0 Summary:The Docker toolset to pack, ship, store, and deliver content License:Apache-2.0 @@ -27,6 +27,7 @@ Source1:registry-configuration.yml Source2:registry.service Source3:README-registry.SUSE +Patch0: fix_version.patch BuildRequires: go >= 1.3 BuildRequires: make BuildRequires: systemd-devel @@ -52,15 +53,17 @@ Registry server for Docker (hosting/delivering of repositories and images). %prep -%setup -q -n docker-distribution +%setup -q -n docker-distribution-%{version} cp %{SOURCE3} . +%patch0 -p1 %build export DISTRIBUTION_PKG="github.com/docker/distribution" mkdir -p .gopath/src/"$(dirname "${DISTRIBUTION_PKG}")" ln -sf ../../../.. .gopath/src/"${DISTRIBUTION_PKG}" export GOPATH="$(pwd)/.gopath:$(pwd)/Godeps/_workspace" - +# patch version +export VERSION=v%{version} make binaries %install @@ -99,7 +102,6 @@ %config %{_sysconfdir}/registry %config %{_sysconfdir}/registry/config.yml %doc LICENSE README.md README-registry.SUSE -%doc cmd/registry/config.yml /var/lib/docker-registry %changelog ++ docker-distribution-2.0.1.tar.bz2 -> docker-distribution-2.1.1.tar.bz2 ++ 66585 lines of diff (skipped) ++ fix_version.patch ++ --- a/Makefile 2015-08-13 00:13:45.0 +0200 +++ b/Makefile 2015-09-07 20:29:07.601642650 +0200 @@ -1,10 +1,6 @@ # Set an output prefix, which is the local directory if not specified PREFIX?=$(shell pwd) - -# Used to populate version variable in main package. -VERSION=$(shell git describe --match 'v[0-9]*' --dirty='.m' --always) - # Allow turning off function inlining and variable registerization ifeq (${DISABLE_OPTIMIZATION},true) GO_GCFLAGS=-gcflags "-N -l" --- a/version/version.go2015-08-13 00:13:45.0 +0200 +++ b/version/version.go2015-09-09 12:10:00.534696788 +0200 @@ -8,4 +8,4 @@ // the latest release tag by hand, always suffixed by "+unknown". During // build, it will be replaced by the actual version. The value here will be // used if the registry is run after a go get based install. -var Version = "v2.1.0+unknown" +var Version = "v2.1.1+unknown"