summaryrefslogtreecommitdiff
path: root/bin
Commit message (Collapse)AuthorAge
* 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>
* 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>
* 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>
* fix subjectJoerg Jaspert2008-09-29
| | | | | one + too much Signed-off-by: Joerg Jaspert <joerg@debian.org>
* typicalsyncJoerg Jaspert2008-09-29
| | | | | | add the typicalsync script, in use on ftp-master (ries). Signed-off-by: Joerg Jaspert <joerg@debian.org>
* MirrorlogsJoerg Jaspert2008-09-28
| | | | | mirrorlogs alias instead of my own address Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Use itJoerg Jaspert2008-09-28
| | | | | | and use the variable. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* tracefileJoerg Jaspert2008-09-28
| | | | | | make sure the tracefile *always* gets the full hostname, even if $HOSTNAME is set to the short one. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Make executableJoerg Jaspert2008-09-28
| | | | 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>
* VariousJoerg Jaspert2008-09-28
| | | | | | | - use proper "" where we need them. - dont check if variables are defined that get defaults from us anyway. 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>
* Removed temp files that shouldnt have ever been committedJoerg Jaspert2008-09-28
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* CommentsJoerg Jaspert2008-09-28
| | | | | describe our varibales 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>
* Hooks, HubJoerg Jaspert2008-09-28
| | | | | | | | | Implement 5 hooks so we can call scripts at various places of the mirror sync. Also make runmirrors optional, depending on if we are a hub or not. 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>
* Dont use pathsJoerg Jaspert2008-09-27
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ouchJoerg Jaspert2008-09-27
| | | | | ouch, use the correct syntax. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Use the correct path for runmirrorsJoerg Jaspert2008-09-27
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Dont use $0, use $NAMEJoerg Jaspert2008-09-27
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* var namesJoerg Jaspert2008-09-27
| | | | | | fix variables names Signed-off-by: Joerg Jaspert <joerg@debian.org>
* udhJoerg Jaspert2008-09-27
| | | | | little helper to update archvsync homedirs Signed-off-by: Joerg Jaspert <joerg@debian.org>
* dircombineJoerg Jaspert2008-09-27
| | | | | | Add dircombine from joeyh 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>
* logdirJoerg Jaspert2008-09-27
| | | | | fix logdir variable setting 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>
* common functionsJoerg Jaspert2008-09-27
| | | | | | source our common functions Signed-off-by: Joerg Jaspert <joerg@debian.org>
* hostnameJoerg Jaspert2008-09-27
| | | | | | dont hardcode the hostname in $PROGRAM Signed-off-by: Joerg Jaspert <joerg@debian.org>
* ftpsyncJoerg Jaspert2008-09-27
Add a (rewritten) ftpsync script together with an config file example. Signed-off-by: Joerg Jaspert <joerg@debian.org>