diff --git a/1860.patch b/1860.patch new file mode 100644 index 00000000..958e075c --- /dev/null +++ b/1860.patch @@ -0,0 +1,25 @@ +From 3bd28f97b2991cf4e3b4ce9ce34c80cba2bf21ab Mon Sep 17 00:00:00 2001 +From: Lubomír Sedlář +Date: Aug 08 2025 11:54:39 +0000 +Subject: repoclosure: Don't fail if cache doesn't exist + + +Signed-off-by: Lubomír Sedlář + +--- + +diff --git a/pungi/phases/repoclosure.py b/pungi/phases/repoclosure.py +index 1d3fad0..398802f 100644 +--- a/pungi/phases/repoclosure.py ++++ b/pungi/phases/repoclosure.py +@@ -136,6 +136,9 @@ def _delete_repoclosure_cache_dirs(compose): + pass + + for top_cache_dir in cache_dirs: ++ if not os.path.isdir(top_cache_dir): ++ # Skip if the cache doesn't exist. ++ continue + for name in os.listdir(top_cache_dir): + if name.startswith(compose.compose_id): + cache_path = os.path.join(top_cache_dir, name) + diff --git a/pungi.spec b/pungi.spec index 33a46da6..026802ea 100644 --- a/pungi.spec +++ b/pungi.spec @@ -1,11 +1,12 @@ Name: pungi -Version: 4.10.0 +Version: 4.10.1 Release: 1%{?dist}.alma.1 Summary: Distribution compose tool License: GPL-2.0-only URL: https://pagure.io/pungi Source0: %{name}-%{version}.tar.bz2 +Patch: https://pagure.io/pungi/pull-request/1860.patch BuildRequires: make BuildRequires: python3-pytest @@ -166,6 +167,14 @@ gzip _build/man/pungi.1 %{_bindir}/%{name}-cache-cleanup %changelog +* Fri Aug 08 2025 Lubomír Sedlář - 4.10.1-1 +- osbuild: Handle wsl2 images (lsedlar) +- repoclosure: Clean up cache for dnf5 (lsedlar) +- Ignore errors for rmtree after archive extraction (dhodovsk) +- imagebuilder: accept `manifest_type` (supakeen) +- Add a telemetry span over image building threads (lsedlar) +- Add specific exception for skopeo copy (lsedlar) + * Wed Jul 30 2025 Lubomír Sedlář - 4.10.0-1 - Add more tracing to kojiwrapper (lsedlar) - phases: implement image-builder (supakeen) diff --git a/sources b/sources index 37d8ab66..f981b804 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pungi-4.10.0.tar.bz2) = e75ae0ad2fcb07dc54983aa59160cd12ae081080e35def0639fc53e9cec3a1d17ceff5723fbc7153a980258e723394d876a9f60a692a18da0d2d2e6bcc7e8e35 +SHA512 (pungi-4.10.1.tar.bz2) = 4ff1005ece77ac9b41ac31c3b0bcdd558afaaea4d99bf178d42b24a4318ccc9a5576ad4740446f1589a07f88f59f5cb4954d182f3f4e15b1a798e19d9a54fb22