From 8f5597b49ae4b3ce55f1f2a4407c62a89b8463f7 Mon Sep 17 00:00:00 2001 From: Nils Langguth Date: Fri, 17 Oct 2025 13:32:30 +0200 Subject: [PATCH 1/2] add r to prevent python from interpreting backslash --- bits_helpers/sync.py | 2 +- output | 0 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 output diff --git a/bits_helpers/sync.py b/bits_helpers/sync.py index 5de3a2f7..0d10c0e1 100644 --- a/bits_helpers/sync.py +++ b/bits_helpers/sync.py @@ -341,7 +341,7 @@ def fetch_symlinks(self, spec) -> None: os.makedirs(os.path.join(self.workdir, links_path), exist_ok=True) cvmfs_architecture = re.sub(r"slc(\d+)_x86-64", r"el\1-x86_64", self.architecture) - err = execute("""\ + err = execute(r"""\ set -x # Exit without error in case we do not have any package published test -d "{remote_store}/{cvmfs_architecture}/Packages/{package}" || exit 0 diff --git a/output b/output new file mode 100644 index 00000000..e69de29b From 6b1de851b5ba12efc99c526842bde59f21095199 Mon Sep 17 00:00:00 2001 From: Nils Langguth Date: Fri, 17 Oct 2025 14:29:37 +0200 Subject: [PATCH 2/2] print err --- bits_helpers/sync.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bits_helpers/sync.py b/bits_helpers/sync.py index 0d10c0e1..311e8919 100644 --- a/bits_helpers/sync.py +++ b/bits_helpers/sync.py @@ -371,6 +371,7 @@ def fetch_symlinks(self, spec) -> None: remote_store=self.remoteStore, links_path=links_path, )) + print(f"fetch_symlink: maybe something wrong? {err}") def upload_symlinks_and_tarball(self, spec) -> None: dieOnError(True, "CVMFS backend does not support uploading directly")