Hello community, here is the log from the commit of package container-feeder for openSUSE:Factory checked in at 2018-03-16 10:44:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/container-feeder (Old) and /work/SRC/openSUSE:Factory/.container-feeder.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "container-feeder" Fri Mar 16 10:44:20 2018 rev:3 rq:587557 version:0.0.0+20180315.git_r72_397c4cf Changes: -------- --- /work/SRC/openSUSE:Factory/container-feeder/container-feeder.changes 2018-03-05 13:46:26.789295053 +0100 +++ /work/SRC/openSUSE:Factory/.container-feeder.new/container-feeder.changes 2018-03-16 10:45:18.288247970 +0100 @@ -1,0 +2,78 @@ +Thu Mar 15 12:25:09 UTC 2018 - [email protected] + +- Commit e44efd4 by Valentin Rothberg [email protected] + vendor: update libpod to latest image-list fixes + + Update github.com/projectatomic/libpod/libpod to the latest version, which + includes fixes for image listing, an API used by container-feeder. + + Signed-off-by: Valentin Rothberg <[email protected]> feature#crio + + Commit 5c2f078 by Valentin Rothberg [email protected] + debug: print images from local storage + + Print the images found in the local container storage (e.g., docker, crio) + when run in debug mode. This can be useful for debugging. + + Signed-off-by: Valentin Rothberg <[email protected]> feature#crio + + +------------------------------------------------------------------- +Wed Mar 14 08:53:26 UTC 2018 - [email protected] + +- Commit 2858df0 by Flavio Castelli [email protected] + Fixed small typo + + Commit 9ec4711 by Flavio Castelli [email protected] + Don't fall back to docker when something goes wrong + + We should exit immediately with an error message instead of falling back to + use the docker target. + + Signed-off-by: Flavio Castelli <[email protected]> + + +------------------------------------------------------------------- +Tue Mar 13 14:26:43 UTC 2018 - [email protected] + +- Commit 2fbe04d by Valentin Rothberg [email protected] + update packaging + + Update the make_spec.sh spec-file generation template and add the remaining + sources to adhere to the lastet changes introduced by commit 78c810dba49f + ("add crio support"). + + Signed-off-by: Valentin Rothberg <[email protected]> + + +------------------------------------------------------------------- +Tue Mar 13 12:15:25 UTC 2018 - [email protected] + +- Commit 78c810d by Valentin Rothberg [email protected] + add crio support + + container-feeder defaults to loading the images into the Docker daemon, which + can be changed by setting the "feeder-target" field in the + /etc/container-feeder.json config to "crio". The loading of the images to + the graphroot of crio is achieved by using the libpod library, adding more + dependencies to the vendor directory. + + Notice, that this change implies some heavy refactorings. Now, we have a + more generalized design and a type hiearchry that will ultimately ease + maintenance. For packaging purposes a default container-feeder.json file is + added to the root of the project. + + Further changes: + * Add --log-level option to facilitate debugging. + * Manually update (and fix) containers/image and libpod to load xz + compressed files. Notice that once libpod has fixed the issue, we + need to update our ./vendor directory. + * Update Travis: + * Use go 1.8.x and 1.9.x + * Perform fmt checks via govendor + * Replace go test by a more meaningful compile-test + + Signed-off-by: Valentin Rothberg <[email protected]> + + +------------------------------------------------------------------- New: ---- container-feeder-rpmlintrc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ container-feeder.spec ++++++ --- /var/tmp/diff_new_pack.cY2JXJ/_old 2018-03-16 10:45:19.756195112 +0100 +++ /var/tmp/diff_new_pack.cY2JXJ/_new 2018-03-16 10:45:19.760194968 +0100 @@ -29,46 +29,53 @@ %endif Name: container-feeder -Version: 0.0.0+20180131.git_r63_bdeeca8 +Version: 0.0.0+20180315.git_r72_397c4cf Release: 0 -Summary: Automatically load all docker images that are packaged in RPM +Summary: Load container images from RPMs into different container engines License: Apache-2.0 Group: System/Management -Url: https://%{import_path} +Url: https://github.com/kubic-project/container-feeder Source: master.tar.gz Source1: sysconfig.%{name} Source2: %{name}.service -BuildRequires: golang-packaging -BuildRequires: systemd +Source3: %{name}-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: device-mapper-devel +BuildRequires: fdupes +BuildRequires: glib2-devel-static +BuildRequires: glibc-devel-static +BuildRequires: go-go-md2man +BuildRequires: golang-packaging +BuildRequires: libapparmor-devel +BuildRequires: libassuan-devel +BuildRequires: libbtrfs-devel +BuildRequires: libgpgme-devel +BuildRequires: libseccomp-devel +BuildRequires: golang(API) >= 1.7 Requires: docker-kubic +Requires: libcontainers-common +Requires: libcontainers-image +Requires: libcontainers-storage Requires(post): %fillup_prereq - %{?systemd_requires} - %{go_nostrip} %{go_provides} %description -Find all docker images that are packaged in RPM and load all them in docker daemon. +Load container images in the Docker archive format, installed by RPMs, into +different container engines, such as docker or crio (containers/storage). %prep %setup -q -n container-feeder-master %build -%goprep %{import_path} -%gobuild . - -%install -mkdir -p %{buildroot}/%{_fillupdir} -install -D -m 0644 %{S:1} %{buildroot}/%{_fillupdir} - -mkdir -p %{buildroot}/%{_unitdir} -install -D -m 0644 %{S:2} %{buildroot}/%{_unitdir}/ -mkdir -p %{buildroot}/%{_sbindir} -ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name} +export GOPATH=$HOME/go +mkdir -p $HOME/go/src/%{import_path} +rm -rf $HOME/go/src/%{import_path}/* +cp -ar * $HOME/go/src/%{import_path} +cd $HOME/go/src/%{import_path} -install -m 0755 ../go/bin/%{name} %{buildroot}/%{_bindir} +go build -tags "containers_image_ostree_stub seccomp apparmor" -o bin/container-feeder main.go %pre %service_add_pre %{name}.service @@ -83,12 +90,27 @@ %postun %service_del_postun %{name}.service +%install +cd $HOME/go/src/%{import_path} +install -D -m 0755 bin/%{name} %{buildroot}/%{_bindir}/%{name} +install -D -m 0644 container-feeder.json %{buildroot}/%{_sysconfdir}/container-feeder.json + +mkdir -p %{buildroot}/%{_fillupdir} +install -D -m 0644 %{SOURCE1} %{buildroot}/%{_fillupdir} + +mkdir -p %{buildroot}/%{_unitdir} +install -D -m 0644 %{SOURCE2} %{buildroot}/%{_unitdir}/ +mkdir -p %{buildroot}/%{_sbindir} +ln -s %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name} + +%fdupes %{buildroot}/%{_prefix} + %files -%defattr(-,root,root) %doc README.md LICENSE %{_bindir}/%{name} %{_sbindir}/rc%{name} %{_unitdir}/%{name}.service -%config %{_fillupdir}/sysconfig.%{name} +%{_fillupdir}/sysconfig.%{name} +%config(noreplace) %{_sysconfdir}/container-feeder.json %changelog ++++++ container-feeder-rpmlintrc ++++++ addFilter (".* W: explicit-lib-dependency libcontainers-common") addFilter (".* W: explicit-lib-dependency libcontainers-image") addFilter (".* W: explicit-lib-dependency libcontainers-storage") ++++++ master.tar.gz ++++++ /work/SRC/openSUSE:Factory/container-feeder/master.tar.gz /work/SRC/openSUSE:Factory/.container-feeder.new/master.tar.gz differ: char 13, line 1
