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

77 lines
2.4 KiB
Markdown

---
layout: default
title: Release Notes 1.4.8
---
Released on 2017-12-22.
Features:
* There is a new option --config-opts [GH#138](https://github.com/rpm-software-management/mock/issues/138)
You can run:
```
mock --config-opts yum_command=/usr/bin/yum-deprecated --enable-network
```
which will set:
```
config_opts['system_yum_command'] = '/usr/bin/yum'
```
or for a list:
```
mock --config-opts extra_chroot_dirs=/mnt/b --config-opts extra_chroot_dirs=/mnt/a
```
which will set
```
config_opts['extra_chroot_dirs'] = ['/mnt/b', '/mnt/a']
```
or list with a single item:
```
mock --config-opts extra_chroot_dirs=/mnt/b --config-opts extra_chroot_dirs=
```
which will set
```
config_opts['extra_chroot_dirs'] = ['/mnt/b']
```
It can detect boolean:
```
mock --config-opts nosync=False --debug-config |grep nosync
config_opts['nosync'] = False
```
A specialized option has priority. Therefore:
```
mock --config-opts rpmbuild_networking=False --enable-network --debug-config |grep rpmbuild_networking
config_opts['rpmbuild_networking'] = True
```
It is unable to set complicated variables. Like config_opts['plugin_conf']['package_state_opts'] or anything which has dictionary as value.
* There is a new option. `--enable-network` which is equivalent to `config_opts['rpmbuild_networking'] = True`
Bugfixes:
* orphanskill now emits SIGKILL when SIGTERM is not enough [RHBZ#1495214](https://bugzilla.redhat.com/show_bug.cgi?id=1495214)
* when mock tries to force umount, it will try umount recursively
* do not change to directory if nspawn is used [GH#108](https://github.com/rpm-software-management/mock/issues/108)
* when creating yum/dnf.conf, mock now copy timestamp from the host [RHBZ#1293910](https://bugzilla.redhat.com/show_bug.cgi?id=1293910)
* We now mount /proc and /sys in chroot before executing any package manager command (outside of chroot)[RHBZ#1467299](https://bugzilla.redhat.com/show_bug.cgi?id=1467299)
* Dependencies of mock-scm (git, cvs, tar, subversion) are now soft dependencies (Recommends) [RHBZ#1515989](https://bugzilla.redhat.com/show_bug.cgi?id=1515989)
* Previously job control in `mock shell` does not work. [RHBZ#1468837](https://bugzilla.redhat.com/show_bug.cgi?id=1468837). This was a glibc bug and it is resolved in rawhide now.
Following contributors contributed to this release:
* Matt Wheeler
* Matthew Stoltenberg