summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2023-09-09 18:53:53 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2023-09-09 18:53:53 -0700
commit244c6d02e62ac8ca1c8d6f2e1d40d72fce575ee4 (patch)
treec52cbfd93f784da3c01f5994106e5fe132c34365 /sync-autobuilds.sh
parentsign-autobuilds: make it easier to selectively debug (diff)
downloadmastermirror-scripts-244c6d02e62ac8ca1c8d6f2e1d40d72fce575ee4.tar.gz
mastermirror-scripts-244c6d02e62ac8ca1c8d6f2e1d40d72fce575ee4.tar.bz2
mastermirror-scripts-244c6d02e62ac8ca1c8d6f2e1d40d72fce575ee4.zip
sync-autobuilds: try to avoid resync of .sha256 & .DIGEST after signing20230910T015406Z
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sync-autobuilds.sh')
-rwxr-xr-xsync-autobuilds.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/sync-autobuilds.sh b/sync-autobuilds.sh
index dc078e0..077192c 100755
--- a/sync-autobuilds.sh
+++ b/sync-autobuilds.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2011-2020 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 2011-2023 Gentoo Foundation; Distributed under the GPL v2
# might be earlier copyright, no history available
# Keep this variable in sync in both sign-autobuilds.sh & sync-autobuilds.sh
@@ -24,6 +24,9 @@ RSYNC_OPTS=(
# arm has ~111 files in a daily build as of ./arm/autobuilds/20230828T171640Z/
# so this needs to be at least that high.
--max-delete=150
+ # If the local side is nwer, don't replace
+ # should happen with the .DIGESTS & .sha256 files
+ --update
)
# Do NOT expand the following yet