deb-mock/docs/Release-Notes-2.11.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

1.9 KiB

layout title
default Release Notes 2.11

Released on - 2021-06-09

Mock 2.11 features:

  • You can use --cwd together with --shell now. [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., %check and 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-task
    

    This 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'] = 5
    

    to tune up this macro.

Mock 2.11 bugfixes:

  • Plug-in compress_logs now compresses log files even in case of DNF repository failures [PR 736].

  • Broken "usage" section in mock --help output 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!