summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* commonJoerg Jaspert2008-11-01
| | | | | | its SSH_OPTS not SSHOPTS Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Add a few ""Joerg Jaspert2008-10-30
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Add a few ""Joerg Jaspert2008-10-30
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-30
| | | | | right check for callback 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>
* = is not the same as !=Joerg Jaspert2008-10-30
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-30
| | | | | ${ works better than {$ Signed-off-by: Joerg Jaspert <joerg@debian.org>
* args. space. i hate you.Joerg Jaspert2008-10-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-22
| | | | | now, check if we know the configfile. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* only trigger slave mirrors if we got pushed for stage2 or allJoerg Jaspert2008-10-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* what a difference a - can makeJoerg Jaspert2008-10-22
| | | | 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>
* space. *sigh*Joerg Jaspert2008-10-22
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrors.Joerg Jaspert2008-10-22
| | | | | bad fingers, [ != { Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrorsJoerg Jaspert2008-10-22
| | | | | | define some more variables Signed-off-by: Joerg Jaspert <joerg@debian.org>
* it seems i really like to forget the space in front of ];Joerg Jaspert2008-10-21
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-21
| | | | | [] do like their spaces Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Fix various little errorsJoerg Jaspert2008-10-21
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* and again a fix for set -uJoerg Jaspert2008-10-21
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-21
| | | | | set -u likes to have variables declared before we use em Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2008-10-21
| | | | | return Signed-off-by: Joerg Jaspert <joerg@debian.org>
* commonJoerg Jaspert2008-10-21
| | | | | fix little errors 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>
* Reuse some code, and change to case statement Signed-off-by: Stephen Gran ↵Stephen Gran2008-10-20
| | | | <steve@lobefin.net>
* ftpsync, runmirrorsJoerg Jaspert2008-10-20
| | | | | | code cleanups Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-20
| | | | | | some "" 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>
* ftpsyncJoerg Jaspert2008-10-19
| | | | | future proof bz2 Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-19
| | | | | set syncall to false if we only need stage1 or stage2 Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-19
| | | | | | | Add remote command options and callback. Also move functions to one single place. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-05
| | | | | | Allow to set SOURCE_EXCLUDE in config. If it is set we wont touch it anymore, even if $ARCH_EXCLUDE still contains "source". Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-04
| | | | | | bash really likes the syntax to be correct Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-04
| | | | | the second stage should use >> for the logs. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-04
| | | | | | also delete excluded files. and as we have rsync logs different now, do tell the rsync command in normal log Signed-off-by: Joerg Jaspert <joerg@debian.org>
* configsJoerg Jaspert2008-10-04
| | | | | renamed the configuration samples to clearly show what they are for. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-04
| | | | | and another option to only mail errors instead of always full logs Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-04
| | | | | | better cleanup handling, like mailing logs in any case (if MAILTO is set). Signed-off-by: Joerg Jaspert <joerg@debian.org>
* runmirrors.confJoerg Jaspert2008-10-04
| | | | | | keyfile is relative to $BASEDIR, no need to give a full path Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsync.confJoerg Jaspert2008-10-04
| | | | | | by default we are no hub. 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>
* ftpsyncJoerg Jaspert2008-10-04
| | | | | | use BASEDIR, defaulting to $HOME, so people could, if wanted, place the scripts outside of $HOME. 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>
* ftpsyncJoerg Jaspert2008-10-02
| | | | | | also allow anonymous syncs Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-10-02
| | | | | its helpful if we mkdir before we try to touch something in $TO Signed-off-by: Joerg Jaspert <joerg@debian.org>
* udhJoerg Jaspert2008-10-02
| | | | | dont use full path for links Signed-off-by: Joerg Jaspert <joerg@debian.org>
* udhJoerg Jaspert2008-10-02
| | | | | | use the correct path for dircombine Signed-off-by: Joerg Jaspert <joerg@debian.org>