Hello community, here is the log from the commit of package buildah for openSUSE:Factory checked in at 2019-09-25 08:25:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/buildah (Old) and /work/SRC/openSUSE:Factory/.buildah.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "buildah" Wed Sep 25 08:25:50 2019 rev:20 rq:732771 version:1.11.2 Changes: -------- --- /work/SRC/openSUSE:Factory/buildah/buildah.changes 2019-09-16 10:51:06.667166726 +0200 +++ /work/SRC/openSUSE:Factory/.buildah.new.7948/buildah.changes 2019-09-25 08:25:51.822405182 +0200 @@ -1,0 +2,7 @@ +Mon Sep 23 15:32:41 UTC 2019 - Richard Brown <[email protected]> + +- Update to v1.11.2 + * Add some cleanup code + * Move devices code to unit specific directory. + +------------------------------------------------------------------- Old: ---- buildah-1.11.1.tar.xz New: ---- buildah-1.11.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ buildah.spec ++++++ --- /var/tmp/diff_new_pack.5d7bFF/_old 2019-09-25 08:25:52.974405027 +0200 +++ /var/tmp/diff_new_pack.5d7bFF/_new 2019-09-25 08:25:52.990405024 +0200 @@ -22,7 +22,7 @@ %define with_libostree 1 %endif Name: buildah -Version: 1.11.1 +Version: 1.11.2 Release: 0 Summary: Tool for building OCI containers License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.5d7bFF/_old 2019-09-25 08:25:53.022405020 +0200 +++ /var/tmp/diff_new_pack.5d7bFF/_new 2019-09-25 08:25:53.026405020 +0200 @@ -4,8 +4,8 @@ <param name="url">https://github.com/containers/buildah.git</param> <param name="scm">git</param> <param name="filename">buildah</param> -<param name="versionformat">1.11.1</param> -<param name="revision">v1.11.1</param> +<param name="versionformat">1.11.2</param> +<param name="revision">v1.11.2</param> </service> <service name="recompress" mode="disabled"> ++++++ buildah-1.11.1.tar.xz -> buildah-1.11.2.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/buildah-1.11.1/CHANGELOG.md new/buildah-1.11.2/CHANGELOG.md --- old/buildah-1.11.1/CHANGELOG.md 2019-09-11 14:44:29.000000000 +0200 +++ new/buildah-1.11.2/CHANGELOG.md 2019-09-13 15:45:25.000000000 +0200 @@ -2,6 +2,23 @@ # Changelog +## v1.11.1 (2019-09-11) + Add --devices flag to bud and from + Downgrade .papr to highest atomic verion + Add support for /run/.containerenv + Truncate output of too long image names + Preserve file and directory mount permissions + Bump fedora version from 28 to 30 + makeImageRef: ignore EmptyLayer if Squash is set + Set TMPDIR to /var/tmp by default + replace --debug=false with --log-level=error + Allow mounts.conf entries for equal source and destination paths + fix label and annotation for 1-line Dockerfiles + Enable interfacer linter and fix lints + install.md: mention goproxy + Makefile: use go proxy + Bump to v1.12.0-dev + ## v1.11.0 (2019-08-29) tests/bud.bats: add --signature-policy to some tests Vendor github.com/openshift/api diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/buildah-1.11.1/Makefile new/buildah-1.11.2/Makefile --- old/buildah-1.11.1/Makefile 2019-09-11 14:44:29.000000000 +0200 +++ new/buildah-1.11.2/Makefile 2019-09-13 15:45:25.000000000 +0200 @@ -55,7 +55,7 @@ .PHONY: clean clean: - $(RM) -r buildah imgtype build buildah.static + $(RM) -r buildah imgtype build buildah.static buildah.darwin tests/testreport/testreport $(MAKE) -C docs clean .PHONY: docs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/buildah-1.11.1/buildah.go new/buildah-1.11.2/buildah.go --- old/buildah-1.11.1/buildah.go 2019-09-11 14:44:29.000000000 +0200 +++ new/buildah-1.11.2/buildah.go 2019-09-13 15:45:25.000000000 +0200 @@ -27,7 +27,7 @@ Package = "buildah" // Version for the Package. Bump version in contrib/rpm/buildah.spec // too. - Version = "1.11.1" + Version = "1.11.2" // The value we use to identify what type of information, currently a // serialized Builder structure, we are using as per-container state. // This should only be changed when we make incompatible changes to diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/buildah-1.11.1/changelog.txt new/buildah-1.11.2/changelog.txt --- old/buildah-1.11.1/changelog.txt 2019-09-11 14:44:29.000000000 +0200 +++ new/buildah-1.11.2/changelog.txt 2019-09-13 15:45:25.000000000 +0200 @@ -1,3 +1,8 @@ +- Changelog for v1.11.2 (2019-09-13) + * Add some cleanup code + * Move devices code to unit specific directory. + * Bump back to v1.12.0-dev + - Changelog for v1.11.1 (2019-09-11) * Add --devices flag to bud and from * Downgrade .papr to highest atomic verion diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/buildah-1.11.1/contrib/rpm/buildah.spec new/buildah-1.11.2/contrib/rpm/buildah.spec --- old/buildah-1.11.1/contrib/rpm/buildah.spec 2019-09-11 14:44:29.000000000 +0200 +++ new/buildah-1.11.2/contrib/rpm/buildah.spec 2019-09-13 15:45:25.000000000 +0200 @@ -26,7 +26,7 @@ Name: buildah # Bump version in buildah.go too -Version: 1.11.1 +Version: 1.11.2 Release: 1.git%{shortcommit}%{?dist} Summary: A command line tool used to creating OCI Images License: ASL 2.0 @@ -100,6 +100,11 @@ %{_datadir}/bash-completion/completions/* %changelog +* Fri Sep 13, 2019 Tom Sweeney <[email protected]> 1.11.2-1 +- Add some cleanup code +- Move devices code to unit specific directory. +- Bump back to v1.12.0-dev + * Wed Sep 11, 2019 Tom Sweeney <[email protected]> 1.11.1-1 - Add --devices flag to bud and from - Downgrade .papr to highest atomic verion diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/buildah-1.11.1/pkg/parse/parse.go new/buildah-1.11.2/pkg/parse/parse.go --- old/buildah-1.11.1/pkg/parse/parse.go 2019-09-11 14:44:29.000000000 +0200 +++ new/buildah-1.11.2/pkg/parse/parse.go 2019-09-13 15:45:25.000000000 +0200 @@ -14,12 +14,9 @@ "unicode" "github.com/containers/buildah" - "github.com/containers/buildah/pkg/unshare" "github.com/containers/image/types" "github.com/containers/storage/pkg/idtools" "github.com/docker/go-units" - "github.com/opencontainers/runc/libcontainer/configs" - "github.com/opencontainers/runc/libcontainer/devices" "github.com/opencontainers/runtime-spec/specs-go" "github.com/pkg/errors" "github.com/sirupsen/logrus" @@ -953,19 +950,3 @@ } return true } - -func DeviceFromPath(device string) (configs.Device, error) { - src, dst, permissions, err := Device(device) - if err != nil { - return configs.Device{}, err - } - if unshare.IsRootless() { - return configs.Device{}, errors.Errorf("Renameing device %s to %s is not a supported in rootless containers", src, dst) - } - dev, err := devices.DeviceFromPath(src, permissions) - if err != nil { - return configs.Device{}, errors.Wrapf(err, "%s is not a valid device", src) - } - dev.Path = dst - return *dev, nil -} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/buildah-1.11.1/pkg/parse/parse_unix.go new/buildah-1.11.2/pkg/parse/parse_unix.go --- old/buildah-1.11.1/pkg/parse/parse_unix.go 2019-09-11 14:44:29.000000000 +0200 +++ new/buildah-1.11.2/pkg/parse/parse_unix.go 2019-09-13 15:45:25.000000000 +0200 @@ -5,6 +5,10 @@ import ( "fmt" + "github.com/containers/buildah/pkg/unshare" + "github.com/opencontainers/runc/libcontainer/configs" + "github.com/opencontainers/runc/libcontainer/devices" + "github.com/pkg/errors" "golang.org/x/sys/unix" ) @@ -19,3 +23,19 @@ } return defaultLimits } + +func DeviceFromPath(device string) (configs.Device, error) { + src, dst, permissions, err := Device(device) + if err != nil { + return configs.Device{}, err + } + if unshare.IsRootless() { + return configs.Device{}, errors.Errorf("Renaming device %s to %s is not a supported in rootless containers", src, dst) + } + dev, err := devices.DeviceFromPath(src, permissions) + if err != nil { + return configs.Device{}, errors.Wrapf(err, "%s is not a valid device", src) + } + dev.Path = dst + return *dev, nil +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/buildah-1.11.1/pkg/parse/parse_unsupported.go new/buildah-1.11.2/pkg/parse/parse_unsupported.go --- old/buildah-1.11.1/pkg/parse/parse_unsupported.go 2019-09-11 14:44:29.000000000 +0200 +++ new/buildah-1.11.2/pkg/parse/parse_unsupported.go 2019-09-13 15:45:25.000000000 +0200 @@ -2,6 +2,16 @@ package parse +import ( + "fmt" + + "github.com/opencontainers/runc/libcontainer/configs" +) + func getDefaultProcessLimits() []string { return []string{} } + +func DeviceFromPath(device string) (configs.Device, error) { + return configs.Device{}, fmt.Errorf("devices not supported") +}
