summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAge
* 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>
* | exclude translation and udeb contentsJoerg Jaspert2012-05-21
| | | | | | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | Revert "Exclude all of dist/ from the first stage"Joerg Jaspert2012-05-21
| | | | | | | | | | | | This reverts commit 2cb884ddc8eec3b620fd369c250958273feb0e01. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | Revert "Quote rsync patterns to avoid accidental expansion by the shell"Joerg Jaspert2012-05-21
| | | | | | | | | | | | This reverts commit 3cb5f405310bac2c2f21fdfde8e9d22372b1e284. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | * bin/ftpsync: missing } in a log lineJoerg Jaspert2012-05-18
| | | | | | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | Merge remote-tracking branch 'raphael/filename-expansion' into mergeJoerg Jaspert2012-05-18
|\ \ | | | | | | | | | | | | | | | | | | * raphael/filename-expansion: Quote rsync patterns to avoid accidental expansion by the shell Signed-off-by: Joerg Jaspert <joerg@debian.org>
| * | Quote rsync patterns to avoid accidental expansion by the shellRaphael Geissert2012-05-01
| | |
* | | * bin/ftpsync: Add a RSYNC_EXTRA option,Joerg Jaspert2012-05-18
| | | | | | | | | | | | | | | | | | for the local admins to set extra rsync options, to be prepended to the rsync call Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | | * bin/ftpsync: Added EXTENDEDTRACE optionJoerg Jaspert2012-05-18
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | fix missing - for an --exclude optionJoerg Jaspert2012-05-18
|/ / | | | | | | | | thanks to Emmanuel Lacour for spotting this Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | Multiple changesJoerg Jaspert2012-05-01
| | | | | | | | | | | | | | - update version write out list of mirrored architectures in tracefile write upstream mirror into tracefile Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | Exclude all of dist/ from the first stageRaphael Geissert2012-04-26
|/ | | | | | | 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.
* Ensure that SSH_CONNECTION is always set.Joerg Jaspert2011-12-09
| | | | | Newer bash kicks out "unused var" warning otherwise, rightly so Signed-off-by: Joerg Jaspert <joerg@debian.org>
* New arch for ARCH_EXCLUDE: armhf and s390xSimon Paillard2011-11-30
| | | | <877h2psdxn.fsf@gkar.ganneff.de>
* ftpsync: better default confSimon Paillard2011-11-23
| | | | TO and RSYNC_PATH for regular mirroradm setup
* archive now supports xz compressionSimon Paillard2011-08-11
| | | | http://lists.debian.org/debian-devel-announce/2011/08/msg00001.html
* dont include the space into mkeyfileJoerg Jaspert2011-04-30
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* dont break if there is no , return a default emptyJoerg Jaspert2011-03-03
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2011-02-22
| | | | | | we all like some "" Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2011-02-22
| | | | | | oh you evil ``, die Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2011-02-22
| | | | | | increase version number Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2011-02-22
| | | | | | | what, oh what, did i smoke when using ``? use $() damnit. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2011-02-22
| | | | | | path/filename without "" considered bad, mmmmmmmkay? Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2011-02-22
| | | | | | update rsync_options1 to also exclude the newish InRelease files in the first run Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2011-02-22
| | | | | | | | | fix bug in rsync speed statistic output in a case where, for whatever reason, the logfile has been rotated away before we try to grep around in it. also update copyright years. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsync now closes stdin, not attaches to dev/nullJoerg Jaspert2010-10-10
| | | | | and pushes use ssh -f, not ssh ... & Signed-off-by: Joerg Jaspert <joerg@debian.org>
* away with backgroundingJoerg Jaspert2010-10-10
| | | | | pull out the code that would background ftpsync immediately when it got a normal push. that can be put in again when we have bash 4 everywhere.... for now it has more trouble than its worth fighting Signed-off-by: Joerg Jaspert <joerg@debian.org>
* New versionJoerg Jaspert2010-10-10
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* bwlimitJoerg Jaspert2010-10-10
| | | | | specify RSYNC_BW to limit rsyncs bandwidth. value in kb. 0 or unset means unlimited Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Defualt RSYNC_OPTIONS: preserve permissionsSimon Paillard2010-03-13
|