From dd98747e2c302c82d4137297e9d9c93cec6b4ee0 Mon Sep 17 00:00:00 2001 From: Ryan Hughes Date: Fri, 5 Jun 2026 19:11:16 -0400 Subject: [PATCH] Avoid R2 HEAD checks during repo sync --- bin/sync-repo | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/sync-repo b/bin/sync-repo index 0fc99c1..e766828 100755 --- a/bin/sync-repo +++ b/bin/sync-repo @@ -84,6 +84,7 @@ print_info "Syncing to: $REMOTE/$DESTINATION_DIRECTORY" # Use --ignore-existing to not overwrite different versions already on remote print_info "Syncing packages..." rclone sync "$REPO_DIR" "$REMOTE/$DESTINATION_DIRECTORY" \ + --s3-no-head \ --exclude "omarchy.db*" \ --exclude "omarchy.files*" \ --ignore-existing \ @@ -92,6 +93,7 @@ rclone sync "$REPO_DIR" "$REMOTE/$DESTINATION_DIRECTORY" \ # Then sync database files last to ensure repository integrity print_info "Updating repository database..." rclone copy "$REPO_DIR" "$REMOTE/$DESTINATION_DIRECTORY" \ + --s3-no-head \ --include "omarchy.*" \ --checksum --copy-links -v