| Commit message (Collapse) | Author | Age |
|
|
|
|
| |
That avoids surprises if on ever uses a variable elsewhere, and forgets
it is set differently than all the rest (only at usage).
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
|
|
|
|
| |
To: Joerg Jaspert <joerg@debian.org>
Cc: Neil Mayhew <neil_mayhew@sil.org>
Date: Fri, 22 Jun 2012 11:27:58 -0600 (1 year, 45 weeks, 4 days ago)
From: Neil Mayhew <neil_mayhew AT sil DOT org>
Ths provides more flexibility in where the scripts are placed, without
having to specify BASEDIR in the command
|
|
|
|
|
|
|
|
|
| |
-e should be -E: Some mailx variants don't list -e, some silently seem
to map it to -E, some others use it to check if the local users mailbox
has some content, but -E (for those I've seen) always means what we want:
"Don't send a mail when there is no body".
Thanks to Neil Mayhew for reporting.
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
| |
- Moved the code from cleanup() to check_rsync() where it looks
naturally.
- Support the format of speed with commas as new rsync prints out.
|
| |
|
|
|
|
|
| |
add InRelease and i18n/ to readmes exclude options.
Reported by Uwe Kleine-Koenig
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- No separate log file for errors
- One mail per faulty pushed mirror
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Introduced by 8d734b614f2f6a33f71cc0
|
|
|
|
|
|
|
| |
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.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Instead of not updating the trace file, skip the second stage so that
the mirror is kept in a consistent state.
|
| |
| |
| |
| |
| |
| | |
It is otherwise possible for a mirror to be synced while the upstream
is not yet done syncing and for the site trace to be updated
regardless.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Given the additional calls that append to the trace file, it could be
possible for an incomplete file to be downloaded, leading to unexpected
results.
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>
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
| |
| |
| | |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
| |
| |
| | |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
| |
| |
| |
| |
| | |
This reverts commit 2cb884ddc8eec3b620fd369c250958273feb0e01.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
| |
| |
| |
| |
| | |
This reverts commit 3cb5f405310bac2c2f21fdfde8e9d22372b1e284.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
| |
| |
| | |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
* raphael/filename-expansion:
Quote rsync patterns to avoid accidental expansion by the shell
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>
|
|/ /
| |
| |
| |
| | |
thanks to Emmanuel Lacour for spotting this
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
| |
| |
| |
| |
| |
| |
| | |
- update version
write out list of mirrored architectures in tracefile
write upstream mirror into tracefile
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|\ \
| |/
|/|
| |
| |
| |
| | |
* raphael/exclude-dist:
Exclude all of dist/ from the first stage
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.
|