| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
|
| |
|
|
|
|
|
|
| |
- Added an option to write the date only.
- Added an option to change the hostname written into the trace file.
- Open the new temporary trace file for writing only once.
|
| |
|
|
|
|
|
| |
- No separate log file for errors
- One mail per faulty pushed mirror
|
| |
|
|
|
|
|
|
|
| |
Thanks to maswan for the notice:
etc/common: line 239: unexpected argument `(' to conditional binary operator'
Introduced by 8d734b / a37134
|
|\ |
|
| |
| |
| |
| |
| |
| | |
In case something went wrong somewhere and upstream's update stalled or
there are stale AUIP files, this will prevent ftpsync from retrying
without an eventual error message.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
If RSYNC_OPTIONS2 hasn't been modified, this will result in
--delete-delay being used if rsync 3.0.0 or greater is used.
Signed-off-by: Raphael Geissert <geissert@debian.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This also ensures that even if RSYNC_OPTIONS is uncommented in the
config file, the trace, lock, and sync flag files are never removed.
The use of the exclude filter, could result in unexpected behaviour due
to the removal of the Update-Required flag file, and some temporary
404s that have been seen by http.debian.net.
Signed-off-by: Raphael Geissert <geissert@debian.org>
|
| |
| |
| |
| |
| |
| |
| | |
Quoting the values would some times result in double quoting,
preventing the patterns from matching what they were intended to match.
Signed-off-by: Raphael Geissert <geissert@debian.org>
|
| |
| |
| |
| | |
Signed-off-by: Raphael Geissert <geissert@debian.org>
|
| |
| |
| |
| |
| |
| |
| | |
Only if the variable was not set in the config file, the i18n/ files
would actually be excluded.
Signed-off-by: Raphael Geissert <geissert@debian.org>
|
| |
| |
| |
| |
| |
| | |
This reverts commit 2cb884ddc8eec3b620fd369c250958273feb0e01.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
| |
| |
| |
| |
| | |
for the local admins to set extra rsync options, to be prepended to the
rsync call
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
one can now select to have no tracefile, just to touch a file, terse or
full format.
For Debian mirrors it has to be full.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|/
|
|
|
|
|
| |
All the files under dist/ are indexes and need to be updated as close
together as possible.
Of all the stuff in dist/, only installer-<arch> can and should be synced
in the first stage.
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
|
| |
|
| |
|
|
|
|
| |
<877h2psdxn.fsf@gkar.ganneff.de>
|
|
|
|
| |
TO and RSYNC_PATH for regular mirroradm setup
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit f27c79aa0d054e6841a229dcf0e32be58c76f72a.
Reason: While I envisioned hooks to be scripts running whatever it needs
then, it can be perfectly valid to just have a single command here, with
arguments. and then one doesnt want ""
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
also want a ""
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
adjust sample rsync_options1
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
and pushes use ssh -f, not ssh ... &
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
specify RSYNC_BW to limit rsyncs bandwidth. value in kb. 0 or unset means unlimited
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
have three ways of locking, depending on the bash version
old bash (older than 4 :) ) does not have BASHPID variable, nor a
good way to find the pid of a backgrounded subshell. so if we have
old bash, go the way of guessing if its still running, by comparing
the age of the LOCK file or by taking our proc/self target as pid
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
treat mhop mirror entries same as staged in this elif
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
add a few comments
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
properly signal the mhop foo
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
2 new options
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
|
| |
make clear we need the username in the mirrors file, fix
the broken example.
Also mention backwards compatibility
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
also look at mhop hosts in get2stage
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
portable name instead
|
| |
|
| |
|
|
|
|
| |
delete them cause of --delete-excluded)
|
|
|
|
|
| |
document the new alternative runmirrors.mirror line format
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|