commit cni for openSUSE:Factory
Hello community, here is the log from the commit of package cni for openSUSE:Factory checked in at 2020-10-08 13:05:58 Comparing /work/SRC/openSUSE:Factory/cni (Old) and /work/SRC/openSUSE:Factory/.cni.new.4249 (New) Package is "cni" Thu Oct 8 13:05:58 2020 rev:10 rq:839000 version:0.8.0 Changes: --- /work/SRC/openSUSE:Factory/cni/cni.changes 2020-03-03 10:16:03.530627835 +0100 +++ /work/SRC/openSUSE:Factory/.cni.new.4249/cni.changes2020-10-08 13:07:09.922899802 +0200 @@ -1,0 +2,31 @@ +Thu Oct 1 12:47:37 UTC 2020 - John Paul Adrian Glaubitz + +- Update to version 0.8.0: + * Specification and Conventions changes ++ docs: add ips and mac to well-known capabilities ++ add interface name validation ++ Add GUID to well known Capabilities ++ Add DeviceID attribute to RuntimeConfig ++ Typo fixes for infiniband GUID ++ Fix linting issues in docs, add headers to json example, update errors into table + * Documentation changes ++ Update cnitool docs ++ Remove extra ',' chars which makes conflist examples invalid. + * libcni changes ++ Remove Result.String method ++ libcni: add config caching [v2] ++ clean up : fix staticcheck warnings ++ libcni: add InitCNIConfigWithCacheDir() and deprecate RuntimeConfig.CacheDir ++ skel: clean up errors in skel and add some well-known error codes ++ libcni: find plugin in exec ++ validate containerID and networkName ++ skel: remove needless functions and types ++ libcni: also cache IfName ++ libcni: fix cache file 'result' key name ++ Bump Go version to 1.13 ++ When CNI version isn't supplied in config, use default. ++ intercept netplugin std error ++ invoke: capture and return stderr if plugin exits unexpectedly ++ Retry exec commands on text file busy + +--- Old: cni-0.7.1.tar.xz New: cni-0.8.0.tar.xz Other differences: -- ++ cni.spec ++ --- /var/tmp/diff_new_pack.HzTrkk/_old 2020-10-08 13:07:11.034900809 +0200 +++ /var/tmp/diff_new_pack.HzTrkk/_new 2020-10-08 13:07:11.038900812 +0200 @@ -21,7 +21,7 @@ %define cni_doc_dir %{_docdir}/cni Name: cni -Version:0.7.1 +Version:0.8.0 Release:0 Summary:Container Network Interface - networking for Linux containers License:Apache-2.0 ++ _service ++ --- /var/tmp/diff_new_pack.HzTrkk/_old 2020-10-08 13:07:11.074900845 +0200 +++ /var/tmp/diff_new_pack.HzTrkk/_new 2020-10-08 13:07:11.078900848 +0200 @@ -4,8 +4,8 @@ git cni .git -0.6.0 -v0.6.0 +0.8.0 +v0.8.0 enable ++ cni-0.7.1.tar.xz -> cni-0.8.0.tar.xz ++ 2940 lines of diff (skipped)
commit cni for openSUSE:Factory
Hello community, here is the log from the commit of package cni for openSUSE:Factory checked in at 2020-03-03 10:15:26 Comparing /work/SRC/openSUSE:Factory/cni (Old) and /work/SRC/openSUSE:Factory/.cni.new.26092 (New) Package is "cni" Tue Mar 3 10:15:26 2020 rev:9 rq:780245 version:0.7.1 Changes: --- /work/SRC/openSUSE:Factory/cni/cni.changes 2020-01-13 22:16:54.822389913 +0100 +++ /work/SRC/openSUSE:Factory/.cni.new.26092/cni.changes 2020-03-03 10:16:03.530627835 +0100 @@ -9 +9 @@ -- Update to version 0.7.1: +- Update to version 0.7.1 (bsc#1160460): Other differences: --
commit cni for openSUSE:Factory
Hello community, here is the log from the commit of package cni for openSUSE:Factory checked in at 2020-01-13 22:16:08 Comparing /work/SRC/openSUSE:Factory/cni (Old) and /work/SRC/openSUSE:Factory/.cni.new.6675 (New) Package is "cni" Mon Jan 13 22:16:08 2020 rev:8 rq:763882 version:0.7.1 Changes: --- /work/SRC/openSUSE:Factory/cni/cni.changes 2019-07-26 12:37:15.342027128 +0200 +++ /work/SRC/openSUSE:Factory/.cni.new.6675/cni.changes2020-01-13 22:16:54.822389913 +0100 @@ -1,0 +2,5 @@ +Mon Jan 13 10:32:53 UTC 2020 - Sascha Grunert + +- Set correct CNI version for 99-loopback.conf + +--- Other differences: -- ++ cni.spec ++ --- /var/tmp/diff_new_pack.N1Kuh1/_old 2020-01-13 22:16:55.998390459 +0100 +++ /var/tmp/diff_new_pack.N1Kuh1/_new 2020-01-13 22:16:56.022390470 +0100 @@ -1,7 +1,7 @@ # # spec file for package cni # -# 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 @@ -26,7 +26,7 @@ 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 ++ 99-loopback.conf ++ --- /var/tmp/diff_new_pack.N1Kuh1/_old 2020-01-13 22:16:56.142390526 +0100 +++ /var/tmp/diff_new_pack.N1Kuh1/_new 2020-01-13 22:16:56.142390526 +0100 @@ -1,4 +1,4 @@ { -"cniVersion": "0.2.0", +"cniVersion": "0.4.0", "type": "loopback" }
commit cni for openSUSE:Factory
Hello community, here is the log from the commit of package cni for openSUSE:Factory checked in at 2019-07-26 12:37:09 Comparing /work/SRC/openSUSE:Factory/cni (Old) and /work/SRC/openSUSE:Factory/.cni.new.4126 (New) Package is "cni" Fri Jul 26 12:37:09 2019 rev:7 rq:716935 version:0.7.1 Changes: --- /work/SRC/openSUSE:Factory/cni/cni.changes 2019-05-22 10:50:37.895351778 +0200 +++ /work/SRC/openSUSE:Factory/.cni.new.4126/cni.changes2019-07-26 12:37:15.342027128 +0200 @@ -1,0 +2,14 @@ +Tue Jul 16 07:36:57 UTC 2019 - John Paul Adrian Glaubitz + +- Update to version 0.7.1: + * 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 + +--- Old: cni-0.7.0.tar.xz New: cni-0.7.1.tar.xz Other differences: -- ++ cni.spec ++ --- /var/tmp/diff_new_pack.Tu1wGy/_old 2019-07-26 12:37:15.898026761 +0200 +++ /var/tmp/diff_new_pack.Tu1wGy/_new 2019-07-26 12:37:15.902026759 +0200 @@ -21,7 +21,7 @@ %define cni_doc_dir %{_docdir}/cni Name: cni -Version:0.7.0 +Version:0.7.1 Release:0 Summary:Container Network Interface - networking for Linux containers License:Apache-2.0 ++ cni-0.7.0.tar.xz -> cni-0.7.1.tar.xz ++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cni-0.7.0/.travis.yml new/cni-0.7.1/.travis.yml --- old/cni-0.7.0/.travis.yml 2019-04-26 18:00:55.0 +0200 +++ new/cni-0.7.1/.travis.yml 2019-06-05 17:31:12.0 +0200 @@ -2,8 +2,8 @@ dist: trusty go: - - 1.10.x - 1.11.x + - 1.12.x env: matrix: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cni-0.7.0/README.md new/cni-0.7.1/README.md --- old/cni-0.7.0/README.md 2019-04-26 18:00:55.0 +0200 +++ new/cni-0.7.1/README.md 2019-06-05 17:31:12.0 +0200 @@ -67,6 +67,7 @@ - [Knitter - a CNI plugin supporting multiple networking for Kubernetes](https://github.com/ZTE/Knitter) - [DANM - a CNI-compliant networking solution for TelCo workloads running on Kubernetes](https://github.com/nokia/danm) - [VMware NSX – a CNI plugin that enables automated NSX L2/L3 networking and L4/L7 Load Balancing; network isolation at the pod, node, and cluster level; and zero-trust security policy for your Kubernetes cluster.](https://docs.vmware.com/en/VMware-NSX-T/2.2/com.vmware.nsxt.ncp_kubernetes.doc/GUID-6AFA724E-BB62-4693-B95C-321E8DDEA7E1.html) +- [cni-route-override - a meta CNI plugin that override route information](https://github.com/redhat-nfvpe/cni-route-override) The CNI team also maintains some [core plugins in a separate repository](https://github.com/containernetworking/plugins). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cni-0.7.0/Vagrantfile new/cni-0.7.1/Vagrantfile --- old/cni-0.7.0/Vagrantfile 2019-04-26 18:00:55.0 +0200 +++ new/cni-0.7.1/Vagrantfile 2019-06-05 17:31:12.0 +0200 @@ -12,7 +12,7 @@ apt-get update -y || (sleep 40 && apt-get update -y) apt-get install -y git -wget -qO- https://storage.googleapis.com/golang/go1.11.1.linux-amd64.tar.gz | tar -C /usr/local -xz +wget -qO- https://storage.googleapis.com/golang/go1.12.5.linux-amd64.tar.gz | tar -C /usr/local -xz echo 'export GOPATH=/go; export PATH=/usr/local/go/bin:$GOPATH/bin:$PATH' >> /root/.bashrc eval `tail -n1 /root/.bashrc` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cni-0.7.0/cnitool/README.md new/cni-0.7.1/cnitool/README.md --- old/cni-0.7.0/cnitool/README.md 2019-04-26 18:00:55.0 +0200 +++ new/cni-0.7.1/cnitool/README.md 2019-06-05 17:31:12.0 +0200 @@ -21,7 +21,7 @@ Create a network configuration ``` -echo '{"cniVersion":"0.3.1","name":"myptp","type":"ptp","ipMasq":true,"ipam":{"type":"host-local","subnet":"172.16.29.0/24","routes":[{"dst":"0.0.0.0/0"}]}}' | sudo tee /etc/cni/net.d/10-myptp.conf +echo '{"cniVersion":"0.4.0","name":"myptp","type":"ptp","ipMasq":true,"ipam":{"type":"host-local","subnet":"172.16.29.0/24","routes":[{"dst":"0.0.0.0/0"}]}}' | sudo tee /etc/cni/net.d/10-myptp.conf ``` Create a network namespace. This will be called `testing`: @@
commit cni for openSUSE:Factory
Hello community, here is the log from the commit of package cni for openSUSE:Factory checked in at 2019-05-22 10:50:31 Comparing /work/SRC/openSUSE:Factory/cni (Old) and /work/SRC/openSUSE:Factory/.cni.new.5148 (New) Package is "cni" Wed May 22 10:50:31 2019 rev:6 rq:703715 version:0.7.0 Changes: --- /work/SRC/openSUSE:Factory/cni/cni.changes 2018-07-06 10:44:30.243075597 +0200 +++ /work/SRC/openSUSE:Factory/.cni.new.5148/cni.changes2019-05-22 10:50:37.895351778 +0200 @@ -1,0 +2,35 @@ +Fri May 17 12:26:06 UTC 2019 - John Paul Adrian Glaubitz + +- 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.0.tar.xz Other differences: -- ++ cni.spec ++ --- /var/tmp/diff_new_pack.eZ1wRy/_old 2019-05-22 10:50:39.451350887 +0200 +++ /var/tmp/diff_new_pack.eZ1wRy/_new 2019-05-22 10:50:39.455350885 +0200 @@ -1,7 +1,7 @@ # # spec file for package cni # -# 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,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,7 +21,7 @@ %define cni_doc_dir %{_docdir}/cni Name: cni -Version:0.6.0 +Version:0.7.0 Release:0 Summary:Container Network Interface - networking for Linux containers License:Apache-2.0 @@ -29,6 +29,7 @@ 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}" ++ 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 "$@"
commit cni for openSUSE:Factory
Hello community, here is the log from the commit of package cni for openSUSE:Factory checked in at 2018-07-06 10:44:29 Comparing /work/SRC/openSUSE:Factory/cni (Old) and /work/SRC/openSUSE:Factory/.cni.new (New) Package is "cni" Fri Jul 6 10:44:29 2018 rev:5 rq:620951 version:0.6.0 Changes: --- /work/SRC/openSUSE:Factory/cni/cni.changes 2018-06-05 12:52:39.310201504 +0200 +++ /work/SRC/openSUSE:Factory/.cni.new/cni.changes 2018-07-06 10:44:30.243075597 +0200 @@ -1,0 +2,5 @@ +Tue Jun 5 08:21:05 UTC 2018 - dcass...@suse.com + +- Refactor %license usage to a simpler form + +--- Other differences: -- ++ cni.spec ++ --- /var/tmp/diff_new_pack.tb15wK/_old 2018-07-06 10:44:30.787074950 +0200 +++ /var/tmp/diff_new_pack.tb15wK/_new 2018-07-06 10:44:30.791074945 +0200 @@ -79,11 +79,7 @@ %files %defattr(-,root,root) %doc CONTRIBUTING.md README.md DCO -%if 0%{?suse_version} < 1500 -%doc LICENSE -%else %license LICENSE -%endif %dir %{cni_etc_dir} %dir %{cni_etc_dir}/net.d %config %{cni_etc_dir}/net.d/*
commit cni for openSUSE:Factory
Hello community, here is the log from the commit of package cni for openSUSE:Factory checked in at 2018-06-05 12:52:38 Comparing /work/SRC/openSUSE:Factory/cni (Old) and /work/SRC/openSUSE:Factory/.cni.new (New) Package is "cni" Tue Jun 5 12:52:38 2018 rev:4 rq:613967 version:0.6.0 Changes: --- /work/SRC/openSUSE:Factory/cni/cni.changes 2018-04-11 14:02:00.298773637 +0200 +++ /work/SRC/openSUSE:Factory/.cni.new/cni.changes 2018-06-05 12:52:39.310201504 +0200 @@ -1,0 +2,5 @@ +Mon Jun 4 11:27:31 UTC 2018 - dcass...@suse.com + +- Make use of %license macro + +--- Other differences: -- ++ cni.spec ++ --- /var/tmp/diff_new_pack.NGv47R/_old 2018-06-05 12:52:39.910179528 +0200 +++ /var/tmp/diff_new_pack.NGv47R/_new 2018-06-05 12:52:39.910179528 +0200 @@ -72,14 +72,18 @@ # documentation install -m 755 -d "%{buildroot}%{cni_doc_dir}" -cp CONTRIBUTING.md README.md LICENSE DCO %{buildroot}%{cni_doc_dir}/ %post %{fillup_only -n %{name}} %files %defattr(-,root,root) -%doc CONTRIBUTING.md README.md LICENSE DCO +%doc CONTRIBUTING.md README.md DCO +%if 0%{?suse_version} < 1500 +%doc LICENSE +%else +%license LICENSE +%endif %dir %{cni_etc_dir} %dir %{cni_etc_dir}/net.d %config %{cni_etc_dir}/net.d/*
commit cni for openSUSE:Factory
Hello community, here is the log from the commit of package cni for openSUSE:Factory checked in at 2018-04-11 13:59:38 Comparing /work/SRC/openSUSE:Factory/cni (Old) and /work/SRC/openSUSE:Factory/.cni.new (New) Package is "cni" Wed Apr 11 13:59:38 2018 rev:3 rq:594872 version:0.6.0 Changes: --- /work/SRC/openSUSE:Factory/cni/cni.changes 2018-02-06 16:49:01.600426269 +0100 +++ /work/SRC/openSUSE:Factory/.cni.new/cni.changes 2018-04-11 14:02:00.298773637 +0200 @@ -1,0 +2,5 @@ +Wed Apr 4 11:32:32 UTC 2018 - jmassaguer...@suse.com + +- Remove creating subvolumes. This should be in another package (kubernetes-kubelet) + +--- Other differences: -- ++ cni.spec ++ --- /var/tmp/diff_new_pack.tMf7qn/_old 2018-04-11 14:02:01.186741542 +0200 +++ /var/tmp/diff_new_pack.tMf7qn/_new 2018-04-11 14:02:01.186741542 +0200 @@ -1,7 +1,7 @@ # # spec file for package cni # -# Copyright (c) 2016 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 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + %define cni_etc_dir %{_sysconfdir}/cni %define cni_bin_dir %{_libexecdir}/cni %define cni_doc_dir %{_docdir}/cni @@ -28,9 +29,6 @@ Url:https://github.com/containernetworking/cni Source: %{name}-%{version}.tar.xz Source1:99-loopback.conf -%if 0%{?is_susecaasp} -Requires(post): snapper -%endif BuildRequires: golang-packaging BuildRequires: shadow BuildRequires: systemd-rpm-macros @@ -79,13 +77,6 @@ %post %{fillup_only -n %{name}} -# create a (writable) state dir for plugins -%if 0%{?is_susecaasp} -test -e /var/lib/cni || /usr/sbin/mksubvolume /var/lib/cni -%else -mkdir -p /var/lib/cni -%endif - %files %defattr(-,root,root) %doc CONTRIBUTING.md README.md LICENSE DCO
commit cni for openSUSE:Factory
Hello community, here is the log from the commit of package cni for openSUSE:Factory checked in at 2018-02-06 16:48:45 Comparing /work/SRC/openSUSE:Factory/cni (Old) and /work/SRC/openSUSE:Factory/.cni.new (New) Package is "cni" Tue Feb 6 16:48:45 2018 rev:2 rq:572985 version:0.6.0 Changes: --- /work/SRC/openSUSE:Factory/cni/cni.changes 2018-02-01 21:28:23.519868970 +0100 +++ /work/SRC/openSUSE:Factory/.cni.new/cni.changes 2018-02-06 16:49:01.600426269 +0100 @@ -1,0 +2,6 @@ +Mon Jan 29 11:12:16 UTC 2018 - kmacin...@suse.com + +- Use full/absolute path for mksubvolume +- Change snapper Requires to a Requires(post) + +--- Other differences: -- ++ cni.spec ++ --- /var/tmp/diff_new_pack.iUmTyZ/_old 2018-02-06 16:49:02.452386404 +0100 +++ /var/tmp/diff_new_pack.iUmTyZ/_new 2018-02-06 16:49:02.456386217 +0100 @@ -29,7 +29,7 @@ Source: %{name}-%{version}.tar.xz Source1:99-loopback.conf %if 0%{?is_susecaasp} -Requires: snapper +Requires(post): snapper %endif BuildRequires: golang-packaging BuildRequires: shadow @@ -81,7 +81,7 @@ # create a (writable) state dir for plugins %if 0%{?is_susecaasp} -test -e /var/lib/cni || mksubvolume /var/lib/cni +test -e /var/lib/cni || /usr/sbin/mksubvolume /var/lib/cni %else mkdir -p /var/lib/cni %endif