- 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.
2.3 KiB
| layout | title |
|---|---|
| default | Release Notes - Mock v4.1 |
Released on 2023-06-05.
Mock v4.1 new features:
-
The
/bin/dnfpath can be either provided by DNF5 on newer systems (Fedora 39+), or by DNF4 on older systems. The detection of/bin/dnfthough wasn't ideal. Newly, if DNF4 is requested, Mock searches for the/bin/dnf-3script instead. Also, when installing DNF4 into a bootstrap chroot,python3-dnfis installed instead of justdnfwhich might install DNF5. -
We newly allow installing the bootstrap chroot using
/bin/dnf5as fallback, if the requested package manager is not found on host (e.g. ifpackage_manager=dnfis set for particular chroot, but only DNF5 is available on host, i.e. the future systems). Previous version of Mock would just fail verbosely. -
The
mock.rpmruntime dependencies were changed and relaxed. We newly don't strictly require any of the package managers. Havingdnf5orpython3-dnfinstalled on host is just aSuggestedthing, and it is newly up to the user to install one of them (on Fedora 39+, DNF5 will be more commonly the choice). Strictly speaking, with the--use-bootstrap-imagefeature, no package manager on host is needed at all. -
We use the same package manager search logic for bootstrap, non-bootstrap or bootstrap image use-cases.
Mock v4.1 bugfixes:
-
The Mock v4.0 broken chroot configurations with custom SSL certificates and bootstrap (the certificates were not copied into the bootstrap chroot correctly). This problem has been fixed.
-
The
bind_mountplug-in newly pre-creates the destination directory in-chroot for bind-mounted files. See PR#1093 for more info. -
The --dnf-cmd option was fixed for the revamped
package_managerdetection logic. See PR#1087 for more info.