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

3.2 KiB

layout title
default Release Notes - Mock 5.6

Release 5.6 - 2024-05-14

New features

  • The Bash completion script for Mock has been improved to pre-compile the list of available Mock options at package build-time. This enhancement significantly reduces the time required for option completion from approximately 0.5 seconds (on a reasonably fast laptop) to just 0.05 seconds. rhbz#2259430.

Bugfixes

  • When a mock --chain --recurse fails to built at least one package, it is unable to print a list of failed packages and displays AttributeError: type object 'FileDownloader' has no attribute 'backmap' instead. The original_name method of FileDownloader class has been fixed, and the chain build results displayed as expected (issue#1345).
  • Don't use the --allowerasing parameter for DNF subcommands such as repoquery, makecache, search, and info.
  • A missing bash completion script for mock-parse-buildlog command has been added.
  • In the issue#1257 it was suggested that we do not change recursively ownership every run. This was implemented and landed in Mock 5.5. But in the issue#1364 we found that for fresh chroots the homedir is not writable for unpriv user. We changed the behaviour that ownership of homedir is changed always (that was a behaviour prior 5.5 release) and the ownership is changed recursively only for rebuilds.
  • The nosync logic was preparing temporary directories even when config_opts["nosync"] = False (meaning nosync was disabled). This logic has been optimized out. Works around issue#1351.
  • No more ugly tracebacks for "no space left on device" (and similar OSErrors) related to copying built artifacts to --resultdir, rhbz#2261758.
  • The SCM plugin's option git_timestamps has been updated to work with Python 3 and to handle Git repositories with non-Unicode data. (PR#1355)

Mock Core Configs changes

Following contributors contributed to this release:

  • Bella Zhang
  • David Michael
  • Jakub Kadlcik
  • Jani Välimaa
  • Miroslav Suchý
  • Nikita Gerasimov
  • Pavel Raiskup
  • Takuya Wakazono