- 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.9 KiB
| layout | title |
|---|---|
| default | Release Notes 2.11 |
Released on - 2021-06-09
Mock 2.11 features:
-
You can use
--cwdtogether with--shellnow. [PR 732] -
You can use
mock --install 'external:pypi:hwdata'now. [PR 733] -
Mock now defines macro
%{_platform_multiplier}which is set to 1 by default. However, when forcearch is used, then it is set to 10. [PR 730]This can be used to tune timeouts in e.g.,
%checkand reflects that emulated platforms can take longer to finish task. Suggested use case can be:%{!?_platform_multiplier:%global _platform_multiplier 1} timeout $(( 60*%_platform_multiplier )) the-long-running-taskThis will timeout after 60 seconds but on emulated platforms after 600 seconds.
If you have slow builder for some architecture, you can put in your config
config_opts['macros']['%_platform_multiplier'] = 5to tune up this macro.
Mock 2.11 bugfixes:
-
Plug-in
compress_logsnow compresses log files even in case of DNF repository failures [PR 736]. -
Broken "usage" section in
mock --helpoutput was fixed [issue 738].
Mock-core-configs v34.4:
- centos-stream-8 repositories use mirrorlist now. And have additional repositories which are presented in default centos-stream-8 installation [PR 729]
The following contributors contributed to this release:
- Neal Gompa
- Miroslav Suchý
Thank you!