summaryrefslogtreecommitdiff
path: root/bin/ftpsync
Commit message (Collapse)AuthorAge
* 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 break if there is no , return a default emptyJoerg Jaspert2011-03-03
| | | | 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
|
* 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>
* 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>
* log the runmirror argsJoerg Jaspert2010-01-01
| | | | 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>
* ftpsyncJoerg Jaspert2009-12-31
| | | | | only set -a argument for runmirrors when it actually has one 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>
* | fix whitespace to minimize diff between master and mhop branchesUli Martens2009-12-29
| | | | | | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | ftpsyncJoerg Jaspert2009-12-28
| | | | | | | | | | | | call runmirrors with the correct argument set Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | ftpsync. call runmirrors with getopts argsJoerg Jaspert2009-12-28
| | | | | | | | | | | | | | | | call runmirrors with the getopts args it has now. always present -a and -f. only set -s and -k when appropriate. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | ftpsyncJoerg Jaspert2009-12-28
|/ | | | | | add new option sync:mhop Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2009-12-27
| | | | | | remove the Archive-Update-in-Progress file before pushing downstreams. Otherwise its a race condition if they get this or not. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2009-12-27
| | | | | | | | | move the whole logic of the mirrorsync into a function named mainroutine. Depending on how we are called run this mainroutine backgrounded. (Ie. all "normal" mirror pushes now background immediately, only staged ones will run foreground). Signed-off-by: Joerg Jaspert <joerg@debian.org>
* One more comment. comments good. :)Joerg Jaspert2009-12-26
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Mention kfreebsd-{i386,amd64} and drop m68kJoerg Jaspert2009-12-25
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* release version 80286Joerg Jaspert2009-10-08
| | | | | document the new alternative runmirrors.mirror line format Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Fix debian host test (false positive if fqdn=shortname)Simon Paillard2009-08-17
|
* errtrapJoerg Jaspert2009-06-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* also redirect stdinJoerg Jaspert2009-05-02
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Version number 8086 and small README fixJoerg Jaspert2009-04-23
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2009-04-23
| | | | | fix a bash4 bug in the script Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2009-04-03
| | | | | | | also exclude the .changes files from proposed-updates directories when we exclude an arch. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* multipleJoerg Jaspert2009-03-23
| | | | | | | | | adjust pushdelay to be longer by default better logging for pushes actually increase the timeout, so it should hit at some point, in staged pushes. log if a staged push failed to find all other locks it waits for. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* (C) year (okok, fake commit for a test)Joerg Jaspert2009-01-15
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* fixJoerg Jaspert2008-11-19
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* savelogJoerg Jaspert2008-11-19
| | | | | savelog on our own Signed-off-by: Joerg Jaspert <joerg@debian.org>
* more lockfile funJoerg Jaspert2008-11-18
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-11-18
| | | | | kick lockfile, use shell only Signed-off-by: Joerg Jaspert <joerg@debian.org>
* missing spaceJoerg Jaspert2008-11-18
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-11-17
| | | | | lockfile in shell, for procmail haters Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-11-17
| | | | | new version Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-11-17
| | | | | | | handle "file missing"/"partial transfer" errors better, in case we already have a second push. We might just have tried to receive files that the second push removed. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsync: rerun stage1 already if needed, not only after stage2Joerg Jaspert2008-11-15
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>