Hello community,

here is the log from the commit of package cni for openSUSE:Leap:15.2 checked 
in at 2020-03-19 08:35:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/cni (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.cni.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cni"

Thu Mar 19 08:35:52 2020 rev:3 rq:786076 version:0.7.1

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/cni/cni.changes        2020-01-15 
14:50:34.349420876 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.cni.new.3160/cni.changes      2020-03-19 
08:35:58.433835718 +0100
@@ -1,0 +2,54 @@
+Mon Jan 13 10:32:53 UTC 2020 - Sascha Grunert <[email protected]>
+
+- Set correct CNI version for 99-loopback.conf
+
+-------------------------------------------------------------------
+Tue Jul 16 07:36:57 UTC 2019 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to version 0.7.1 (bsc#1160460):
+  * Library changes:
+    + invoke : ensure custom envs of CNIArgs are prepended to process envs
+    + add GetNetworkListCachedResult to CNI interface
+    + delegate : allow delegation funcs override CNI_COMMAND env automatically 
in heritance
+  * Documentation & Convention changes:
+    + Update cnitool documentation for spec v0.4.0
+    + Add cni-route-override to CNI plugin list
+  * Build and test changes:
+    + Release: bump go to v1.12
+
+-------------------------------------------------------------------
+Fri May 17 12:26:06 UTC 2019 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to version 0.7.0:
+  * Spec changes:
+    + Use more RFC2119 style language in specification (must, should...)
+    + add notes about ADD/DEL ordering
+    + Make the container ID required and unique.
+    + remove the version parameter from ADD and DEL commands.
+    + Network interface name matters
+    + be explicit about optional and required structure members
+    + add CHECK method
+    + Add a well-known error for "try again"
+    + SPEC.md: clarify meaning of 'routes'
+  * Library changes:
+    + pkg/types: Makes IPAM concrete type
+    + libcni: return error if Type is empty
+    + skel: VERSION shouldn't block on stdin
+    + non-pointer instances of types.Route now correctly marshal to JSON
+    + libcni: add ValidateNetwork and ValidateNetworkList functions
+    + pkg/skel: return error if JSON config has no network name
+    + skel: add support for plugin version string
+    + libcni: make exec handling an interface for better downstream testing
+    + libcni: api now takes a Context to allow operations to be timed out or 
cancelled
+    + types/version: add helper to parse PrevResult
+    + skel: only print about message, not errors
+    + skel,invoke,libcni: implementation of CHECK method
+    + cnitool: Honor interface name supplied via CNI_IFNAME environment 
variable.
+    + cnitool: validate correct number of args
+    + Don't copy gw from IP4.Gateway to Route.GW When converting from 0.2.0
+    + add PrintTo method to Result interface
+    + Return a better error when the plugin returns none
+- Install sleep binary into CNI plugin directory
+- Restore build.sh script which was removed upstream
+
+-------------------------------------------------------------------

Old:
----
  cni-0.6.0.tar.xz

New:
----
  build.sh
  cni-0.7.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cni.spec ++++++
--- /var/tmp/diff_new_pack.leYc2x/_old  2020-03-19 08:35:58.841835967 +0100
+++ /var/tmp/diff_new_pack.leYc2x/_new  2020-03-19 08:35:58.845835970 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package cni
 #
-# Copyright (c) 2018 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
@@ -12,7 +12,7 @@
 # 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/
 #
 
 
@@ -21,14 +21,15 @@
 %define         cni_doc_dir  %{_docdir}/cni
 
 Name:           cni
-Version:        0.6.0
+Version:        0.7.1
 Release:        0
 Summary:        Container Network Interface - networking for Linux containers
 License:        Apache-2.0
 Group:          System/Management
-Url:            https://github.com/containernetworking/cni
+URL:            https://github.com/containernetworking/cni
 Source:         %{name}-%{version}.tar.xz
 Source1:        99-loopback.conf
+Source2:        build.sh
 BuildRequires:  golang-packaging
 BuildRequires:  shadow
 BuildRequires:  systemd-rpm-macros
@@ -51,15 +52,17 @@
 
 %prep
 %setup -q
+cp %{SOURCE2} build.sh
 
 %build
-./build.sh
+sh ./build.sh
 
 %install
 
 # install the plugins
 install -m 755 -d "%{buildroot}%{cni_bin_dir}"
 cp bin/noop "%{buildroot}%{cni_bin_dir}/"
+cp bin/sleep "%{buildroot}%{cni_bin_dir}/"
 
 # undo a copy: cnitool must go to sbin/
 install -m 755 -d "%{buildroot}%{_sbindir}"

++++++ 99-loopback.conf ++++++
--- /var/tmp/diff_new_pack.leYc2x/_old  2020-03-19 08:35:58.861835980 +0100
+++ /var/tmp/diff_new_pack.leYc2x/_new  2020-03-19 08:35:58.861835980 +0100
@@ -1,4 +1,4 @@
 {
-    "cniVersion": "0.2.0",
+    "cniVersion": "0.4.0",
     "type": "loopback"
 }

++++++ build.sh ++++++
#!/usr/bin/env bash
set -e

ORG_PATH="github.com/containernetworking"
REPO_PATH="${ORG_PATH}/cni"

if [ ! -h gopath/src/${REPO_PATH} ]; then
        mkdir -p gopath/src/${ORG_PATH}
        ln -s ../../../.. gopath/src/${REPO_PATH} || exit 255
fi

export GO15VENDOREXPERIMENT=1
export GOPATH=${PWD}/gopath

echo "Building API"
go build "$@" ${REPO_PATH}/libcni

echo "Building reference CLI"
go build -o ${PWD}/bin/cnitool "$@" ${REPO_PATH}/cnitool

echo "Building plugins"
PLUGINS="plugins/test/*"
for d in $PLUGINS; do
        if [ -d $d ]; then
                plugin=$(basename $d)
                echo "  " $plugin
                go build -o ${PWD}/bin/$plugin "$@" ${REPO_PATH}/$d
        fi
done
++++++ cni-0.6.0.tar.xz -> cni-0.7.1.tar.xz ++++++
++++ 20714 lines of diff (skipped)


Reply via email to