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.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.docker-distribution.new/docker-distribution.changes
2015-09-17 09:21:52.000000000 +0200
@@ -1,0 +2,18 @@
+Mon Sep 7 18:39:59 UTC 2015 - [email protected]
+
+- 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.000000000 +0200
+++ /var/tmp/diff_new_pack.RauNMl/_new 2015-09-17 09:21:52.000000000 +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.000000000 +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.go 2015-08-13 00:13:45.000000000 +0200
+++ b/version/version.go 2015-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"