- Add mock-specific build artifacts (chroot/, mock-*, mockroot/) - Include package build files (*.deb, *.changes, *.buildinfo) - Add development tools (.coverage, .pytest_cache, .tox) - Include system files (.DS_Store, Thumbs.db, ._*) - Add temporary and backup files (*.tmp, *.bak, *.backup) - Include local configuration overrides (config.local.yaml, .env.local) - Add test artifacts and documentation builds - Comprehensive coverage for Python build system project This ensures build artifacts, chroot environments, and development tools are properly ignored in version control.
1.7 KiB
| layout | title |
|---|---|
| default | Release Notes 2.6 |
Released on - 2020-09-15.
Mock 2.6 new features:
-
The default
--rebuildmode now supports-a|--addrepooption, as well as the--chaindid before, rhbz#1857918. -
The default
--rebuildmode now also accepts URLs pointing at source RPMs. In previous versions mock only worked with local source RPMs. The auto-downloading feature was previously available only in the--chainmode.
Mock 2.6 bugfixes:
-
The configuration files inside buildroot are pre-configured (or re-configured) by mock even if they are pre-installed by packages as symbolic links, rhbz#1878924.
-
Mock previously swallowed the 'rpm -i' error output when installing the source RPM into chroot and failed. Newly the error output is printed to stderr.
-
Each particular build failure reason in
--chainbuild is now properly dumped to stderr. -
The
--chainmode now fails right after the first build failure, as it was previously documented in the manual page. To follow to the other package builds, one has to specify--continue. -
Mock creates
/etc/localtimeas a symlink even with isolation=simple (per fedora discussion). -
When systemd-nspawn supports the
--resolv-conf=, mock newly always runs it with--resolv-conf=off. This is done to revert back the previous expected name resolution behavior inside mock chroot (the new default --resolv-conf=auto has broken it).
The following contributors contributed to this release:
- Miroslav Suchý
Thank you.