summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* | 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>
* | Merge remote-tracking branch 'raphael/exclude-dist' into mergeJoerg Jaspert2012-04-30
|\ \ | |/ |/| | | | | | | | | * raphael/exclude-dist: Exclude all of dist/ from the first stage 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>
* 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>
* 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
* 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>
* 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>
* 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>
* ftpsync.conf.sampleJoerg Jaspert2011-02-22
| | | | | | adjust sample rsync_options1 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>
* 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>
* 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
|
* pushpdoJoerg Jaspert2010-01-23
| | | | | actually honor SSH_OPTS variable Signed-off-by: Joerg Jaspert <joerg@debian.org>
* space, lotsa spaceJoerg Jaspert2010-01-02
| | | | | | | | change all the indentation stuff to match one schema. 4 spaces indent, no tabs. was pretty mixed up. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2010-01-02
| | | | | Add some statistical foo, idea from Md Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Always create .project/trace at the endJoerg Jaspert2010-01-02
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* 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>
* complain if we run into timeoutJoerg Jaspert2010-01-01
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* If we are run from within ftpsync *and* have an mhop push to send on, we haveJoerg Jaspert2010-01-01
| | | | | | | to wait until the push is gone through and they all returned, or we will exit much too early. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* indentationJoerg Jaspert2010-01-01
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* log the runmirror argsJoerg Jaspert2010-01-01
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Merge branch 'mhop'Joerg Jaspert2010-01-01
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mhop: (28 commits) runmirrors ftpsync, runmirrors runmirrors ftpsync runmirrors common runmirrors ftpsync tracefile fix whitespace indenting to minimize diff quote some more arguments fix whitespace to minimize diff between master and mhop branches readme More comments in the mirror sample common set delay to 600 to be what we tell users in our config file would be default runmirrors getopts common common runmirrors runmirrors ...
| * runmirrorsJoerg Jaspert2009-12-31
| | | | | | | | | | | | | | | | only skip non-mhop/staged entries if we are called from within ftpsync. When we are called outside, ie. starting the mirror run, we do have to push everything and can not skip. Signed-off-by: Joerg Jaspert <joerg@debian.org>
| * ftpsync, runmirrorsJoerg Jaspert2009-12-31
| | | | | | | | | | | | | | fixup calling of runmirrors log more what we are supposed to do Signed-off-by: Joerg Jaspert <joerg@debian.org>
| * runmirrorsJoerg Jaspert2009-12-31
| | | | | | | | | | | | | | default is mhop and use && when checking for things not enabled Signed-off-by: Joerg Jaspert <joerg@debian.org>
| * ftpsyncJoerg Jaspert2009-12-31
| | | | | | | | | | only set -a argument for runmirrors when it actually has one Signed-off-by: Joerg Jaspert <joerg@debian.org>
| * runmirrorsJoerg Jaspert2009-12-31
| | | | | | | | | | only add -conf to the name when it has value 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>
| * runmirrorsJoerg Jaspert2009-12-30
| | | | | | | | | | | | update copyright Signed-off-by: Joerg Jaspert <joerg@debian.org>
| * ftpsync tracefileJoerg Jaspert2009-12-30
| | | | | | | | | | | | only update the tracefile if it is a stage2 or all sync Signed-off-by: Joerg Jaspert <joerg@debian.org>
| * Merge branch 'master' into mhopJoerg Jaspert2009-12-30
| |\ | |/ |/| | | | | | | * master: ftpsync ftpsync
* | ftpsyncJoerg Jaspert2009-12-30
| | | | | | | | | | | | | | update the pid written in our lockfile after backgrounding mainroutine Thanks to Kurt Roeckx for spotting this. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | ftpsyncJoerg Jaspert2009-12-30
| | | | | | | | | | | | add check if RSYNC_HOST is set Signed-off-by: Joerg Jaspert <joerg@debian.org>