From dc7872a8f84e02389d617219eba698278bcd5e77dd9ea2f20cf9582e04bc4154 Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Mon, 24 Apr 2017 11:31:37 +0000 Subject: [PATCH 1/2] =?UTF-8?q?-=20Bump=20version:=209.4.11=20=E2=86=92=20?= =?UTF-8?q?9.5.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Include '--delete' in OCI images DataSync This commit includes #310 patch for OCI images. It also corrects the end of line format for kiwi/container/docker.py and test/unit/container_image_docker_test.py, so flake tests are all green. - Include --delete flag in DataSync for docker images This commit includes the --delete flag in order to synchronize the docker images. This is relevant for derived images where the new layer might not only add files, but also remove something from the base image. Fixes #309 - Define correct default locations for sources-dir and preferences-dir In order to ensure that the defined repositories in the KIWI configuration are set to the correct places for installing into the image, the sources-dir and preferences-dir need to be redefined to point to the OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=23 --- python-kiwi.changes | 126 +++++++++++++++++++++++++++++++++++++++++++- python-kiwi.spec | 2 +- python-kiwi.tar.gz | 4 +- 3 files changed, 128 insertions(+), 4 deletions(-) diff --git a/python-kiwi.changes b/python-kiwi.changes index 5ce69ea..6223759 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,6 +1,120 @@ +------------------------------------------------------------------- +Mon Apr 24 13:22:03 CEST 2017 - ms@suse.com + +- Bump version: 9.4.11 → 9.5.0 + +------------------------------------------------------------------- +Mon Apr 24 12:29:44 CEST 2017 - dcassany@suse.com + +- Include '--delete' in OCI images DataSync + + This commit includes #310 patch for OCI images. + + It also corrects the end of line format for kiwi/container/docker.py + and test/unit/container_image_docker_test.py, so flake tests are all + green. + +------------------------------------------------------------------- +Thu Apr 20 12:55:24 CEST 2017 - dcassany@suse.com + +- Include --delete flag in DataSync for docker images + + This commit includes the --delete flag in order to synchronize the + docker images. This is relevant for derived images where the new + layer might not only add files, but also remove something from the + base image. + + Fixes #309 + +------------------------------------------------------------------- +Thu Apr 13 22:05:46 CEST 2017 - ngompa@datto.com + +- Define correct default locations for sources-dir and preferences-dir + + In order to ensure that the defined repositories in the KIWI configuration + are set to the correct places for installing into the image, the + sources-dir and preferences-dir need to be redefined to point to the + in-image location, as it is done for the other package managers. + +------------------------------------------------------------------- +Thu Apr 13 21:59:36 CEST 2017 - ngompa@datto.com + +- Do not purge the repositories before inserting them + + There are no good reasons to be purging the repo directories, especially + when it is common for some distributions (Red Hat/CentOS/Fedora, for example) + to ship repository configuration as packages. Deleting them puts the package + manager in the system into a weird state, so we want to avoid this. + +------------------------------------------------------------------- +Thu Apr 13 18:18:20 CEST 2017 - ngompa@datto.com + +- Fix default reposdir path for Yum + +------------------------------------------------------------------- +Thu Apr 13 13:35:33 CEST 2017 - dcassany@suse.com + +- Add support for OCI images + + This commit adds support for OCI images. Most of the docker related + code is reused for OCI classes and Docker classes have been refactored + so now they are a splecialization of the OCI classes. It is done this + way since KIWI internally only uses OCI format to operate with + containers, therefore docker images just differ from OCI images by + the way they are packaged or unpackaged. + +------------------------------------------------------------------- +Wed Apr 12 14:46:52 CEST 2017 - dcassany@suse.com + +- Add clear attribute for entrypoint and subcommand sections + + This commit adds the possibility of clearing asny subcommand or + entrypoint. This is relevant for docker derived images, as they + inherit the configuration and it might lead to some bad behavior. + +------------------------------------------------------------------- +Wed Apr 12 14:09:43 CEST 2017 - ms@suse.com + +- Bump version: 9.4.10 → 9.4.11 + +------------------------------------------------------------------- +Wed Apr 12 12:06:43 CEST 2017 - dcassany@suse.com + +- Add require/recommend installation support for yum + + This commit adds support to install required only or required plus + recommended packages using yum as the package manager. + +------------------------------------------------------------------- +Wed Apr 12 10:04:36 CEST 2017 - dcassany@suse.com + +- Add support for required/recommended packages + + This commit enables support to install only required packages + or install required plus recommended packages. + +------------------------------------------------------------------- +Tue Apr 11 17:45:39 CEST 2017 - dcassany@suse.com + +- Include 'plusRecommended' management for dnf + + Add support to enable/disable installation of recommended packages + for dnf package manager. With this commit 'plusRecommended' + patternType triggers on installation of recommended packages, which + is turned off by default. + +------------------------------------------------------------------- +Tue Apr 11 16:12:11 CEST 2017 - dcassany@suse.com + +- Make sure debian repositories database is populated before install + + This commit includes an 'apt-get update' call before any 'apt-get + install' command. This way the packages database is always ready, + even if no bootstrap procedure has been executed. + ------------------------------------------------------------------- Mon Apr 10 19:16:57 CEST 2017 - ms@suse.com - + - Bump version: 9.4.9 → 9.4.10 ------------------------------------------------------------------- @@ -61,6 +175,16 @@ Thu Apr 6 15:16:31 CEST 2017 - ms@suse.com the style of the chapter to be more straight forward for people who would like to contribute from scratch +------------------------------------------------------------------- +Wed Apr 5 14:31:49 CEST 2017 - dcassany@suse.com + +- Bypass bootstrap procedure if no bootstrap packages section + + This commit updates kiwi to bypass bootstrap procedure in case + there is no bootstrap packages section. + + It also adds extra validation in root_bind. + ------------------------------------------------------------------- Wed Apr 5 11:34:40 CEST 2017 - ms@suse.com diff --git a/python-kiwi.spec b/python-kiwi.spec index 038d66d..d66e566 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -67,7 +67,7 @@ %endif Name: python-kiwi -Version: 9.4.10 +Version: 9.5.0 Release: 0 Provides: kiwi-schema = 6.5 Url: https://github.com/SUSE/kiwi diff --git a/python-kiwi.tar.gz b/python-kiwi.tar.gz index 82c6a4b..1977298 100644 --- a/python-kiwi.tar.gz +++ b/python-kiwi.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:90591f5279e2e5c96d0c018286399ab1c711aee58d5d4e6061f513739aeaa24c -size 3183393 +oid sha256:65b9faac8af8d82485144e72918dd4d90113907939cf007af178ccdc4c1b498d +size 3169265 From 556f6c6717b8b3426ea795e35518c2a2bb30503b92570616a03f75abcfe5d45f Mon Sep 17 00:00:00 2001 From: Marcus Schaefer Date: Wed, 26 Apr 2017 15:38:37 +0000 Subject: [PATCH 2/2] =?UTF-8?q?-=20Bump=20version:=209.5.0=20=E2=86=92=209?= =?UTF-8?q?.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Additional container commandline options Added --set-container-derived-from and --set-container-tag commandline options which allows to overwrite the data set in the XML configuration - Implement obsrepositories source on derived_from The following reference to a derived container: obsrepositories:/container#latest Will be translated into the following buildservice local path: /usr/src/packages/SOURCES/containers/_obsrepositories/container#latest - Implement obs source on derived_from The following reference to a derived container: obs:/project/repo/container#tag OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=24 --- python-kiwi.changes | 55 ++++++++++++++++++++++++++++++++++++++++++++- python-kiwi.spec | 2 +- python-kiwi.tar.gz | 4 ++-- 3 files changed, 57 insertions(+), 4 deletions(-) diff --git a/python-kiwi.changes b/python-kiwi.changes index 6223759..47a533b 100644 --- a/python-kiwi.changes +++ b/python-kiwi.changes @@ -1,6 +1,59 @@ +------------------------------------------------------------------- +Wed Apr 26 17:29:31 CEST 2017 - ms@suse.com + +- Bump version: 9.5.0 → 9.6.0 + +------------------------------------------------------------------- +Wed Apr 26 14:12:33 CEST 2017 - ms@suse.com + +- Additional container commandline options + + Added --set-container-derived-from and --set-container-tag + commandline options which allows to overwrite the data set + in the XML configuration + +------------------------------------------------------------------- +Tue Apr 25 17:41:01 CEST 2017 - ms@suse.com + +- Implement obsrepositories source on derived_from + + The following reference to a derived container: + + obsrepositories:/container#latest + + Will be translated into the following buildservice + local path: + + /usr/src/packages/SOURCES/containers/_obsrepositories/container#latest + +------------------------------------------------------------------- +Tue Apr 25 15:28:38 CEST 2017 - ms@suse.com + +- Implement obs source on derived_from + + The following reference to a derived container: + + obs:/project/repo/container#tag + + Will be translated into the following buildservice + local path: + + /usr/src/packages/SOURCES/containers/project/repo/container#tag + +------------------------------------------------------------------- +Tue Apr 25 15:25:04 CEST 2017 - ms@suse.com + +- Use urlparse to detect uri scheme + + The source location postfix can contain several different + formats e.g :/, or :// or even just :, python's urlparse + is able to cope with all that which allows to work with + the url scheme base name and thus makes handling this + code more robust + ------------------------------------------------------------------- Mon Apr 24 13:22:03 CEST 2017 - ms@suse.com - + - Bump version: 9.4.11 → 9.5.0 ------------------------------------------------------------------- diff --git a/python-kiwi.spec b/python-kiwi.spec index d66e566..bf700a3 100644 --- a/python-kiwi.spec +++ b/python-kiwi.spec @@ -67,7 +67,7 @@ %endif Name: python-kiwi -Version: 9.5.0 +Version: 9.6.0 Release: 0 Provides: kiwi-schema = 6.5 Url: https://github.com/SUSE/kiwi diff --git a/python-kiwi.tar.gz b/python-kiwi.tar.gz index 1977298..3846c89 100644 --- a/python-kiwi.tar.gz +++ b/python-kiwi.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:65b9faac8af8d82485144e72918dd4d90113907939cf007af178ccdc4c1b498d -size 3169265 +oid sha256:d5dba6da3e51a05a278828b1144a49aafaeeccc132adb6292447363ba3d77fb8 +size 3177053