| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
| |
- No separate log file for errors
- One mail per faulty pushed mirror
|
| |
|
|
|
|
|
|
|
| |
Thanks to maswan for the notice:
etc/common: line 239: unexpected argument `(' to conditional binary operator'
Introduced by 8d734b / a37134
|
| |
|
|
|
|
| |
Signed-off-by: Raphael Geissert <geissert@debian.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit f27c79aa0d054e6841a229dcf0e32be58c76f72a.
Reason: While I envisioned hooks to be scripts running whatever it needs
then, it can be perfectly valid to just have a single command here, with
arguments. and then one doesnt want ""
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
also want a ""
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
and pushes use ssh -f, not ssh ... &
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
treat mhop mirror entries same as staged in this elif
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
add a few comments
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
properly signal the mhop foo
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
2 new options
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
also look at mhop hosts in get2stage
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
portable name instead
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
savelog on our own
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
Thanks to ISHIKAWA Mutsumi and Damin Viano
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
its SSH_OPTS not SSHOPTS
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
make waiting delay in staged sync configurable
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
pushlock sync should now work
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
correctly set PUSHLOCKS
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
${ works better than {$
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
bad fingers, [ != {
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
define some more variables
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
return
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
fix little errors
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
code cleanups
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
first code for a 2stage sync trigger.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
| |
Add remote command options and callback.
Also move functions to one single place.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
|
| |
Add a (rewritten) ftpsync script together with an config file example.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
Add a file for common functions. Currently only holds
a (very adapted) version of signal()
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|