summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAge
* Also create a list of tracefilesPeter Palfrader2016-01-06
|
* Include tracehost and rsync-host in hieraPeter Palfrader2016-01-06
|
* We also do not want _hierarchy overwrittenPeter Palfrader2016-01-06
|
* proper path for trace hierarchyPeter Palfrader2016-01-06
|
* Experiment with hierarchy filePeter Palfrader2016-01-06
|
* remove stage1 tracefile on all syncPeter Palfrader2016-01-06
|
* protect stage1 tracefilePeter Palfrader2016-01-06
|
* Do stage1 tracefile at the end, if we only did stage1Peter Palfrader2016-01-06
|
* Do not divide by zeroPeter Palfrader2016-01-06
|
* move rfc822 date and archive serial into the terse/full block for ↵Peter Palfrader2016-01-06
| | | | tracefiles. do not include them in the date version
* The unprefixed date line should remain the first line of a tracefilePeter Palfrader2016-01-05
|
* Style (mostly use [[ instead of [, more readable)Joerg Jaspert2016-01-04
|
* tracefile generation in a function, use it for stage1 file tooJoerg Jaspert2016-01-04
|
* Archive serial, parseable date headerJoerg Jaspert2016-01-04
| | | | | | | Get the archive serial from upstream and put it into our file, so easier to see when we last updates. Also put a parseable date header into the tracefile
* Try to extract bytes transferred from rsync logs and put them and rsync time ↵Peter Palfrader2016-01-01
| | | | into the trace file
* When excluding source, re-include some non-source tar.gz filesSteve McIntyre2015-08-13
| | | | | | | | | | | | | To: joerg@debian.org Cc: Steve McIntyre <steve@einval.com> Date: Wed, 12 Aug 2015 16:11:19 +0100 (17 hours, 9 minutes, 48 seconds ago) Excluding source will cause rsync to drop all *.tar.gz from the mirro, but some of those in the archive are not actually source files. Over-ride and re-include them. Signed-off-by: Steve McIntyre <steve@einval.com> Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Update versionJoerg Jaspert2015-04-25
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Add new arch ppc64elSimon Paillard2014-08-18
|
* Add arm64 to the list of archs included in the trace fileRaphael Geissert2014-08-15
|
* ARCH_EXCLUDE: add new arch "arm64"Simon Paillard2014-08-02
|
* Ensure TRACEHOST is set in the "config" part of the script.Joerg Jaspert2014-05-08
| | | | | That avoids surprises if on ever uses a variable elsewhere, and forgets it is set differently than all the rest (only at usage).
* Adjust versionJoerg Jaspert2014-05-08
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Use $0 for BASEDIR instead of $HOMENeil Mayhew2014-05-08
| | | | | | | | | | | 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
* Adjust mail sending optionJoerg Jaspert2014-05-08
| | | | | | | | | -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.
* Revised trace file generation a bit.Eugene Paskevich2014-05-08
| | | | | | - 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.
* Revised rsync run statistics generation.Eugene Paskevich2014-05-08
| | | | | | - Moved the code from cleanup() to check_rsync() where it looks naturally. - Support the format of speed with commas as new rsync prints out.
* Don't lose rsync logs/errors if stage 1 is repeated.Eugene Paskevich2014-05-08
|
* bin/ftpsync: fix typoSimon Paillard2013-12-27
|
* Handling of trigger errors: fix logging and email reportsSimon Paillard2013-10-15
| | | | | - No separate log file for errors - One mail per faulty pushed mirror
* ftpsync: Fix message, use ${UPDATE_RETRIES} (Closes: #725488)Simon Paillard2013-10-06
|
* PROGRAM variable: hostname already included elsewhereSimon Paillard2013-09-20
|
* New version 20130605Simon Paillard2013-06-05
|
* RSYNC_OPTIONS and delete-method: fix regex for bash 3.2Simon Paillard2013-05-21
| | | | Introduced by 8d734b614f2f6a33f71cc0
* New version, 20130501Simon Paillard2013-05-01
|
* Merge remote-tracking branch 'rgeissert/really-done'Simon Paillard2013-05-01
|\
| * Remove upstream's AUIP file to avoid a deadlockRaphael Geissert2012-12-18
| |
| * Limit the number of update retriesRaphael Geissert2012-12-18
| | | | | | | | | | | | 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.
| * Change the code style to match that of the rest of the codeRaphael Geissert2012-12-18
| |
| * Retry the sync after a delay if an upstream AUIP file is foundRaphael Geissert2012-04-26
| |
| * Better error reportingRaphael Geissert2012-04-26
| |
| * Only perform the second stage if upstream is not updatingRaphael Geissert2012-04-26
| | | | | | | | | | Instead of not updating the trace file, skip the second stage so that the mirror is kept in a consistent state.
| * Only update the trace file if no AUIP file is foundRaphael Geissert2012-04-26
| | | | | | | | | | | | 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.
* | Move reusable code to function rsync_protocolSimon Paillard2013-05-01
| |
* | Add RSYNC_DELETE_METHOD option to make it easier to use --delete-delayRaphael Geissert2013-05-01
| | | | | | | | | | | | | | 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>
* | Replace the trace file atomicallyRaphael Geissert2013-05-01
| | | | | | | | | | | | | | | | 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>
* | Pass exclude options as --opt=value to avoid shell expansionRaphael Geissert2012-12-17
| | | | | | | | | | | | | | 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>
* | Actually send emails on errors and new versionsRaphael Geissert2012-12-17
| | | | | | | | Signed-off-by: Raphael Geissert <geissert@debian.org>
* | Unbreak SOURCE_EXCLUDE patternSimon Paillard2012-06-03
| |
* | actually exclude i18n completly, including Index fileJoerg Jaspert2012-05-21
| | | | | | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | New version, 20120521Joerg Jaspert2012-05-21
| | | | | | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>