| Commit message (Collapse) | Author | Age |
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
we all like some ""
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
oh you evil ``, die
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
|
| |
change all the indentation stuff to match one schema.
4 spaces indent, no tabs.
was pretty mixed up.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
| |
to wait until the push is gone through and they all returned, or we will exit
much too early.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
|
| |
only skip non-mhop/staged entries if we are called from within ftpsync.
When we are called outside, ie. starting the mirror run, we do have
to push everything and can not skip.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
| |
fixup calling of runmirrors
log more what we are supposed to do
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
| |
default is mhop and use && when checking for things
not enabled
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
only add -conf to the name when it has value
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
update copyright
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
merge \?) and :) into *)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
two new options in the array
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
only look at mhop/&taged entries if doing mhop push
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
drop the -s
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
add two seperators between initial setup, config values and code.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
define mailto
use fullpath for ssh keyfile check
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>
|
|
|
|
|
|
| |
document the config
add default for keyfile
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
add the archive name
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
small fixes and "" at some places
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>
|
|
|
|
|
|
| |
use BASEDIR instead of $HOME, default for $HOME if unset.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
use "" around SSH_OPTS
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
allow host wide extra ssh options to be set
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>
|
|
|
|
|
|
|
| |
implement hooks run at various places.
Allow a delay between two mirrors.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
add a script to push leaf mirrors
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|