[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-buildsys-list
Subject:    New release: mock 1.3.4
From:       Miroslav_Suchý <msuchy () redhat ! com>
Date:       2017-02-27 20:50:01
Message-ID: 7ec485e2-cbbf-962f-b1de-b49ea2c25ec2 () redhat ! com
[Download RAW message or body]

See the full release notes for new version at the bottom of this email. 
I would like to highlight few things here.

I had systemd-nspawn as default. But it broke 4 regression tests and I 
was unable to fix them on time. I wanted to do the release before F26 
branching so people will get F26 configs on time. So I reverted this 
change and this version still use old chroot() as default.
I will switch it on again in devel branch. So next version will use 
systemd-nspawn for sure. However I think backward compatibility cannot 
be possible for some commands (e.g. `shell`).

So next version will have bumped up major version. It will not be 
released for EL6 (as that does not have systemd at all). And some 
behaviour may change. If you have some tool or script on top of mock you 
are encouraged to test development versions from:
   https://copr.fedorainfracloud.org/coprs/g/mock/mock/package/mock/
You may expect next version in April/May.

I will create new branch 1.3.x for EL6. But since no one raised voice in 
January, I really do not expect any new versions for EL6 in future.

 From 
https://github.com/rpm-software-management/mock/wiki/Release-Notes-1.3.4 :
There are new features:

* [scm plugin](Plugin-Scm) now supports 
[DistGit](https://github.com/release-engineering/dist-git/) (or DistSVN 
etc.) . 

* log files of [package_state plugin](Plugin-PackageState) got `.log` 
extension. I.e. `available_pkgs.log` and `installed_pkgs.log`.
* Configuration files for Fedora 26 has been added.
* Configuration files for Fedora 23 has been removed.
* Even rawhide configs now use best=1.
* when Mock is run directly without consolehelper it now return exit code 2.
* You can pass additional arguments to systemd-nspawn using this config 
option: `config_opts['nspawn_args'] = []`.
* kojipkgs urls now use https instead of http.
* new plugin [hw_info](Plugin-HwInfo) which prints HW information of 
builder. This plugin is enabled by default.

There are some bugfixes:

* reflect change of "Rawhide" to "rawhide" in /etc/os-release 
[RHBZ#1409735](https://bugzilla.redhat.com/show_bug.cgi?id=1409735)
* in site-defaults.cfg is more examples of how to set up PS1 
[RHBZ#1183733](https://bugzilla.redhat.com/show_bug.cgi?id=1183733)
* preserve mode of files when doing chroot_scan 
[RHBZ#1297430](https://bugzilla.redhat.com/show_bug.cgi?id=1297430)
* shell in systemd-nspawn is run as PID 2 
[RHBZ#1372234](https://bugzilla.redhat.com/show_bug.cgi?id=1372234) - 
this is not done in EL7 version of systemd-nspawn does not support it
* debuginfo repos has been renamed so `mock --dnf-cmd debuginfo-install 
PACKAGE` works now 
[RHBZ#1409734](https://bugzilla.redhat.com/show_bug.cgi?id=1409734)

Notes:

* next version will have systemd-nspawn as default. This can break your 
scripts built on top of Mock. You can try the new behaviour using 
`--new-chroot` option.
* next version will not be released for EL6. You are advised to upgrade 
to EL7.

-- 
Miroslav Suchy, RHCA
Red Hat, Senior Software Engineer, #brno, #devexp, #fedora-buildsys
_______________________________________________
buildsys mailing list -- buildsys@lists.fedoraproject.org
To unsubscribe send an email to buildsys-leave@lists.fedoraproject.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic