Switch to letting rsync filter our overlaps in docs combined site.
Right now we are doing 3 rsyncs one at a time, but this prevents us from deleting content that has disappeared from one of the first ones. So, switch to doing one rsync with multiple sources and let it sort out files that are now gone to be deleted in the target. Fixes ticket 7334.
This commit is contained in:
parent
d62dd190f1
commit
bff1f4d622
1 changed files with 1 additions and 3 deletions
|
@ -6,6 +6,4 @@
|
|||
# build the combined docs tree.
|
||||
# See https://pagure.io/fedora-infrastructure/issue/7130
|
||||
|
||||
/usr/bin/rsync -aH /srv/web/docs-old.fedoraproject.org/public_html/ /srv/web/docs-combined/
|
||||
/usr/bin/rsync -aH /srv/web/docs-redirects/ /srv/web/docs-combined/
|
||||
/usr/bin/rsync -aH /srv/web/docs.fedoraproject.org/ /srv/web/docs-combined/
|
||||
rsync -aH --delete /srv/web/docs.fedoraproject.org/ /srv/web/docs-redirects/ /srv/web/docs-old.fedoraproject.org/public_html/ /srv/web/docs-combined/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue