Skip to content

Commit

Permalink
Use checksum to detect RPM changes and drop the use of --archive
Browse files Browse the repository at this point in the history
The --archive option includes --times implicitly that preserves modification
time and results in all RPMs being thought of as changed. Instead we explicitly
define the options that are included in --archive and drop the use of --times.
  • Loading branch information
ehelms committed Nov 2, 2023
1 parent 6383a06 commit e87725e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload_stage_rpms
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
USER='yumrepostage'
HOST='web01.osuosl.theforeman.org'

rsync --archive --verbose --partial --one-file-system --delete-after "tmp/$PROJECT/$VERSION" "$USER@$HOST:rsync_cache/$PROJECT"
rsync --checksum --perms --recursive --links --verbose --partial --one-file-system --delete-after "tmp/$PROJECT/$VERSION" "$USER@$HOST:rsync_cache/$PROJECT"

0 comments on commit e87725e

Please sign in to comment.