summaryrefslogtreecommitdiff
path: root/bin/runmirrors
Commit message (Collapse)AuthorAge
* 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>
* 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>
* 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>
* Update the test about debian.org machine in remaining scriptsSimon Paillard2009-10-12
|
* 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>
* 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>
* 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>
* runmirrorsJoerg Jaspert2008-11-17
| | | | | | document the config add default for keyfile Signed-off-by: Joerg Jaspert <joerg@debian.org>
* fix unbound variable problem in runmirrors(Re: New mirror scripts for Debian ↵ISHIKAWA Mutsumi2008-11-09
| | | | | | | | | | | | | | | | | | | | | | | | | | mirrors) >>>>> In <87d4h5g7tm.fsf@vorlon.ganneff.de> >>>>> Joerg Jaspert <joerg@debian.org> wrote: >> On 11563 March 1977, Panagiotis Christias wrote: >> >> > are you sure that the "set -u" should be used? >> >> Yep I am. >> >> > I get a lot of "VAR: unbound variable" messages and ftpsync aborts. >> >> Yes, about HOOK1 til HOOK5 and HUB. >> My mistake, I put a version up that didn't have them defined in the >> script itself, sorry. >> If you redownload the tarball (or git pull), you will get a fixed >> version. I found same kind of problems in runmirrors. (HOOK1,2,3 is not defined) Signed-off-by: ISHIKAWA Mutsumi <ishikawa@hanzubon.jp> Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-30
| | | | | make waiting delay in staged sync configurable Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-30
| | | | | pushlock sync should now work Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-30
| | | | | correctly set PUSHLOCKS Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-30
| | | | | add the archive name Signed-off-by: Joerg Jaspert <joerg@debian.org>
* if we want to use a default - it might be helpful to check for itJoerg Jaspert2008-10-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Fix various little errorsJoerg Jaspert2008-10-21
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsync, runmirrorsJoerg Jaspert2008-10-21
| | | | | | small fixes and "" at some places Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsync, runmirrorsJoerg Jaspert2008-10-20
| | | | | | code cleanups Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-19
| | | | | | first code for a 2stage sync trigger. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-04
| | | | | | use BASEDIR instead of $HOME, default for $HOME if unset. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-03
| | | | | use "" around SSH_OPTS Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-03
| | | | | allow host wide extra ssh options to be set Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Dont use exec in runmirrors.Joerg Jaspert2008-09-28
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* FixesJoerg Jaspert2008-09-28
| | | | | | | | - Use $LOGDIR where we want the dir and not the file - use $LOG where we want the file. - use proper "" around variables where they have to be Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Hooks and DELAYJoerg Jaspert2008-09-28
| | | | | | | implement hooks run at various places. Allow a delay between two mirrors. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* use a full name for the logfileJoerg Jaspert2008-09-27
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Include a few suggestions from sgranJoerg Jaspert2008-09-27
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-09-27
add a script to push leaf mirrors Signed-off-by: Joerg Jaspert <joerg@debian.org>