Skip to content

Commit

Permalink
Mock release v5.8
Browse files Browse the repository at this point in the history
./releng/generate-release-notes --use-version 5.8
/usr/bin/tito tag --use-version=5.8
  • Loading branch information
praiskup committed Sep 27, 2024
1 parent cc235e7 commit 9e84357
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .tito/packages/mock
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.7-1 mock/
5.8-1 mock/
23 changes: 23 additions & 0 deletions docs/Release-Notes-5.8.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
layout: default
title: Release Notes - Mock 5.8
---

## [Release 5.8](https://rpm-software-management.github.io/mock/Release-Notes-5.8) - 2024-09-27


### Bugfixes

- Mock v5.7 introduced a regression in the `chroot_scan` plugin that prevented the
result directory from being created properly. This issue has been
[fixed][PR#1472] - and is the major reason for doing v5.8 bugfix release.

- The ownership of the tarball provided by `chroot_scan` (when `write_tar =
True`) has been corrected, ensuring the file is no longer root-owned.

- The `chroot_scan` plugin now consistently uses the `util.do` method instead of
custom `subprocess.call` calls. This ensures that the `mock --verbose` output
properly displays the commands (like `cp`, or `tar`) being executed.


[PR#1472]: https://github.com/rpm-software-management/mock/pull/1472
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Versions in Linux distributions:


## Release Notes
* [5.8](Release-Notes-5.8) - Bug-fixed regression in `chroot_scan` plugin.
* [5.7 and Configs 41.3](Release-Notes-5.7) - Support for isolated builds added. DNF4 = DNF. Option `--scrub-all-chroots` added.
* [Configs 41.1 (and 41.2)](Release-Notes-Configs-41.1) - EL7 configs EOL. F38 EOL. F41 branched.
* [Configs 40.6](Release-Notes-Configs-40.6) - CentOS Stream 10 uses mirrored repositories.
Expand Down
7 changes: 6 additions & 1 deletion mock/mock.spec
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Summary: Builds packages inside chroots
Name: mock
Version: 5.7
Version: 5.8
Release: 1%{?dist}
License: GPL-2.0-or-later
# Source is created by
Expand Down Expand Up @@ -313,6 +313,11 @@ pylint-3 py/mockbuild/ py/*.py py/mockbuild/plugins/* || :
%config(noreplace) %{_sysusersdir}/mock.conf

%changelog
* Fri Sep 27 2024 Pavel Raiskup <[email protected]> 5.8-1
- chroot_scan: make sure the tarball is owned by non-priv user
- chroot_scan: use util.do to display command in --verbose
- chroot_scan: correctly create the result directory

* Thu Sep 26 2024 Pavel Raiskup <[email protected]> 5.7-1
- hermetic: new mode to do fully-offline builds
- new --scrub-all-chroots option
Expand Down
2 changes: 0 additions & 2 deletions releng/release-notes-next/chroot-scan-permissions.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions releng/release-notes-next/chroot-scan-util-do.bugfix

This file was deleted.

3 changes: 0 additions & 3 deletions releng/release-notes-next/chroot_scan_resultdir.bugfix

This file was deleted.

0 comments on commit 9e84357

Please sign in to comment.