summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAge
* 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>
* | fix whitespace indenting to minimize diffUli Martens2009-12-29
| | | | | | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | quote some more argumentsUli Martens2009-12-29
| | | | | | | | 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>
* | set delay to 600 to be what we tell users in our config file would be defaultJoerg Jaspert2009-12-29
| | | | | | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | runmirrors getoptsJoerg Jaspert2009-12-28
| | | | | | | | | | | | merge \?) and :) into *) Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | runmirrorsJoerg Jaspert2009-12-28
| | | | | | | | | | | | two new options in the array Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | runmirrorsJoerg Jaspert2009-12-28
| | | | | | | | | | | | only look at mhop/&taged entries if doing mhop push Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | runmirrorsJoerg Jaspert2009-12-28
| | | | | | | | | | | | drop the -s 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>
* | runmirrorsJoerg Jaspert2009-12-28
| | | | | | | | | | | | add two seperators between initial setup, config values and code. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* | runmirrors, getoptsJoerg Jaspert2009-12-28
| | | | | | | | | | | | | | add new option parsing using getopts. keep the old way of just telling it the archive name working 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>
* 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)
* Update the test about debian.org machine in remaining scriptsSimon Paillard2009-10-12
|
* 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
|
* 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>
* Its site_exclude not source_excludeJoerg 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>
* errtrapJoerg Jaspert2009-06-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Use the mirror hardlink treeJoerg Jaspert2009-06-13
| | | | 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>
* no more progressJoerg Jaspert2008-11-28
|
* a few "Joerg Jaspert2008-11-27
|
* keep rsync logJoerg Jaspert2008-11-27
|
* No lockdirJoerg Jaspert2008-11-27
|
* pushpdoJoerg Jaspert2008-11-27
| | | | add a mirror script for packages.d.o
* runmirrorsJoerg Jaspert2008-11-19
| | | | | | define mailto use fullpath for ssh keyfile check 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>