From c1b1eb771e04b02964d88b1bb0801ec587dfec3c Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Tue, 7 Apr 2026 20:54:44 -0400 Subject: [PATCH] fix(guix-pull): remove pregenerated docs before local channel snapshot --- steps-guix/improve/guix-daemon-and-pull.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/steps-guix/improve/guix-daemon-and-pull.sh b/steps-guix/improve/guix-daemon-and-pull.sh index db4f6358..782c66a2 100644 --- a/steps-guix/improve/guix-daemon-and-pull.sh +++ b/steps-guix/improve/guix-daemon-and-pull.sh @@ -173,6 +173,24 @@ prepare_local_channel_checkout() { patch -p1 < "${rendered_patch}" patch -p1 < "${rendered_mes_patch}" rm -f "${channel_patch_link}" + # TODO: Expand this cleanup to cover the full pregenerated-file set + # before snapshotting the local channel checkout. + rm -f doc/os-config* + rm -f doc/*.??*.* + rm -f doc/version*.texi + rm -f doc/stamp* + rm -f doc/*.1 + rm -f doc/*.info + rm -f doc/guix.info* + rm -f \ + doc/images/*.eps \ + doc/images/*.pdf \ + doc/images/bootstrap-*.png \ + doc/images/coreutils-bag-graph.png \ + doc/images/coreutils-graph.png \ + doc/images/gcc-core-mesboot0-graph.png \ + doc/images/service-graph.png \ + doc/images/shepherd-graph.png git init -q git add -A git -c user.name='guix-local' -c user.email='guix-local@example.invalid' commit -q -m 'local guix channel snapshot'