1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-06-06 08:06:13 +02:00
infrastructure/roles/syncrepo
Evangelos Foutras 4fe427a266
syncrepo: Drop --temp-dir option as unneeded
Using a temporary directory outside of /srv/ftp was meant to protect
against incomplete files from being synced by downstream mirrors. It
does not achieve this to much effect though; each file gets uploaded
to the temporary directory but then immediately moved under a .~tmp~
directory at its target location (.~tmp~ because of --delay-updates,
otherwise the file would be renamed to its final path).

The `--delay-updates` option by itself sufficiently protects against
temp files being transferred to downstream mirrors; when used by the
receiver, it automatically adds an exclude rule for ~.tmp~, behaving
exactly like we want it to. As such, the `--temp-dir` option doesn't
provide any further benefit and can be removed.
2021-07-29 11:02:56 +03:00
..
files syncrepo: Drop --temp-dir option as unneeded 2021-07-29 11:02:56 +03:00
tasks Make ansible-lint happy 2021-02-14 14:22:05 +01:00
templates Send the nginx logs to Loki 2021-04-08 20:33:43 +02:00