deb-mock/docs/Release-Notes-2.13.md
robojerk 4c0dcb2522
Some checks failed
Build Deb-Mock Package / build (push) Successful in 54s
Lint Code / Lint All Code (push) Failing after 1s
Test Deb-Mock Build / test (push) Failing after 36s
enhance: Add comprehensive .gitignore for deb-mock project
- 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.
2025-08-18 23:37:49 -07:00

2.5 KiB

layout title
default Release Notes 2.13

Released on - 2021-11-02

New Mock 2.13 features:

  • A new option --additional-package is added. During package development, this option can be used with mock --rebuild mode to specify an additional set of build requirements (still, properly setting BuildRequires: is a preferred way to achieve this) [PR 776].

  • A new option --debug-config-expanded is now available. It provides a very similar mock configuration output to the --debug-config option, except that the {{ Jinja }} constructs the configuration are expanded [PR 765].

Mock 2.13 bugfixes:

  • The external: dependencies are now properly installed into a proper build chroot, not into a bootstrap chroot [PR 771].

  • The option parsing mechanism was migrated from the optparse library to argparse. This in particular shouldn't be a user visible change, so please report changes in mock behavior if you observe any.

  • The repositories generated locally by mock are not automatically signed. But since Mock did not specify the default gpgpcheck= option before, and some of our config files didn't have gpgcheck=0 in the [main] section, DNF applied its own gpgcheck=1 default and it led to mock --chain build failures. Newly we set gpgcheck=0 by default by Mock and any GPG signed repository used in mock configuration needs to overwrite this explicitly [PR 782].

  • When re-mounting, we newly don't specify the source of the mountpoint as it is not needed in our case, and because the other (preferred) mount --target ... variant is more portable (behaves correctly with older util-linux implementations). [issue 715]

  • The distro.linux_distribution() call is now deprecated, we use distro.id() instead. [PR 767]

  • Fixed LVM error message caused by copy/paste error [PR 758].

The following contributors contributed to this release:

  • Gustavo Costa
  • Kamil Dudka
  • Miroslav Suchý
  • Sérgio M. Basto

Thank you!