-
-
Notifications
You must be signed in to change notification settings - Fork 408
publish switch to S3 uploading unchanged files starting in version 1.6 #1435
Description
I am using aptly on macOS, installed via Homebrew. I have several S3 hosted repositories where I publish updates to like this:
aptly publish switch ... bookworm s3:${S3_BUCKET}: ${APTLY_SNAPSHOT_NAME}
Up through version 1.5.0 this worked as expected, and only new packages added to the repo were actually uploaded to S3, so the process was very quick.
Starting in version 1.6.1 (I didn't try in version 1.6.0 sorry) when I run the same aptly publish switch command, all files in the repository are uploaded to S3, even if they are not changed. I have let the command complete, and tried again several times thinking maybe the next times around it would not re-upload all files, but it still did.
I then reverted back to version 1.5.0, and aptly publish switch went back to working as expected: only newly added packages are uploaded to S3.
I noticed the 1.6 release notes mentioned changes to the S3 component of aptly so wondered if something broke with the switch command with those changes?