summaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAge
* savelog() fix failure if logfile doesn't existSimon Paillard2013-10-20
|
* Handling of trigger errors: fix logging and email reportsSimon Paillard2013-10-15
| | | | | - No separate log file for errors - One mail per faulty pushed mirror
* common: add a vim modelineSimon Paillard2013-06-24
|
* rsync_protocol(): fix regex for bash 3.2Simon Paillard2013-05-21
| | | | | | | Thanks to maswan for the notice: etc/common: line 239: unexpected argument `(' to conditional binary operator' Introduced by 8d734b / a37134
* Merge remote-tracking branch 'rgeissert/really-done'Simon Paillard2013-05-01
|\
| * 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.
| * Retry the sync after a delay if an upstream AUIP file is foundRaphael Geissert2012-04-26
| |
* | Move reusable code to function rsync_protocolSimon Paillard2013-05-01
| |
* | Method --delete-delay as not configurable defaultSimon 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>
* | Sync sample config file options with that of the binaryRaphael Geissert2012-12-17
| | | | | | | | | | | | | | | | | | | | | | 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>
* | 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>
* | Add missing --exclude i18n/* from sample ftpsync.conf fileRaphael Geissert2012-12-17
| | | | | | | | | | | | | | 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>
* | 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>
* | * 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>
* | 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.
* enhance description of RSYNC_PATHJoerg Jaspert2012-02-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* signal() for push: log() fo proper timestamps in logsSimon Paillard2011-12-08
|
* hook(): spaces instead of tabsSimon Paillard2011-12-04
|
* hook(): mail on errorSimon Paillard2011-12-04
|
* 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
* Revert "etc/common"Joerg Jaspert2011-02-25
| | | | | | | | | | 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>
* etc/commonJoerg Jaspert2011-02-22
| | | | | | also want a "" Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsync.conf.sampleJoerg Jaspert2011-02-22
| | | | | | adjust sample rsync_options1 Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Always send sync:archive:Joerg Jaspert2010-10-10
| | | | 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>
* 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
|
* ftpsync lockingJoerg Jaspert2010-01-01
| | | | | | | | | | 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>
* indentationJoerg Jaspert2010-01-01
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2009-12-30
| | | | | | treat mhop mirror entries same as staged in this elif Signed-off-by: Joerg Jaspert <joerg@debian.org>
* More comments in the mirror sampleJoerg Jaspert2009-12-29
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2009-12-29
| | | | | | add a few comments Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2009-12-28
| | | | | | properly signal the mhop foo Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2009-12-28
| | | | | | 2 new options Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Sample configJoerg Jaspert2009-12-28
| | | | | | | | 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>
* commonJoerg Jaspert2009-12-28
| | | | | | also look at mhop hosts in get2stage Signed-off-by: Joerg Jaspert <joerg@debian.org>
* SetupTimeOut is a Debian specific alias for ServerAliveInterval, so use the ↵Simon Paillard2009-11-30
| | | | portable name instead
* websync: www-master.d.o as default RSYNC_HOSTSimon Paillard2009-11-15
|
* websync: default $SITE_FILTER to keep local sponsor changes (images, html)Simon Paillard2009-11-15
|
* Filter protect sponsor-specific files instead of exluding them (whichSimon Paillard2009-11-04
| | | | delete them cause of --delete-excluded)
* release version 80286Joerg Jaspert2009-10-08
| | | | | document the new alternative runmirrors.mirror line format Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrors: disable StrictHostKeyChecking by defaultSimon Paillard2009-08-07
|
* runmirrorsJoerg Jaspert2009-07-18
| | | | | | | | | | change the runmirrors.mirror format. We keep compatibility with the old format, so if one uses them they should continue to do so. If one uses the new style, one is able to add all possible ssh options one wants. They just have to start with -. All that in there will be passed as-is to ssh. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* a --exclude really helpsJoerg Jaspert2009-06-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* renameJoerg Jaspert2009-06-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* websyncJoerg Jaspert2009-06-22
| | | | | | initial version of a script to sync the debian website with. Signed-off-by: Joerg Jaspert <joerg@debian.org>