Skip to content

Commit

Permalink
Use explicit rsync options to detect unchanged RPMs when uploading to…
Browse files Browse the repository at this point in the history
… stagingyum.

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 1, 2023
1 parent c924d18 commit f735164
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 --perms --devices --recursive --links --owner --group --verbose --partial --one-file-system --delete-after "tmp/$PROJECT/$VERSION" "$USER@$HOST:rsync_cache/$PROJECT"

0 comments on commit f735164

Please sign in to comment.