| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
kick lockfile, use shell only
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
lockfile in shell, for procmail haters
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
new version
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
document the config
add default for keyfile
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
| |
handle "file missing"/"partial transfer" errors better, in case we already
have a second push. We might just have tried to receive files that the
second push removed.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
optimize filter rules, so we no longer delete our trace files
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>
|
|
|
|
|
| |
Thanks to ISHIKAWA Mutsumi and Damin Viano
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If locale environment variables (LANG, LC_ALL etc..) are set,
new ftpsync script are write logs trace etc.. under this locales.
But I think it is better force to write trace file (typicaly
project/trace/HOSTNAME) with POSIX locale (or C) (not locale
language environment).
Mirror trace file will be used tracking mirror tree status.
Trace file is mainly used to parse them by some programs,
(mainly not for reading by a human)
If date in the trace file is written with locale language environmet
on each different host. It is too hard to perse them on each host
(for example, trace file on ftp.jp.debian.org is written in
Japanese, on ftp.kr.debian.org written in Korean, on ftp.de.debian.org
written in German... It will be nightmare for tracing mirror tree)
Signed-off-by: ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
>>>>> In <87zlkai7gc.fsf@vorlon.ganneff.de>
>>>>> Joerg Jaspert <joerg@ganneff.de> wrote:
>>
>> Hi
>>
>> Recently, we rewrote the Debian archive mirror script formerly known as
>> anonftpsync. The new scriptset has many more features, and is the new
>> de-facto standard for Debian mirrors.
>>
>> Please switch to it as soon as possible.
>>
>> The scriptset is available in two forms:
>> - as a tarball from http://ftp-master.debian.org/ftpsync.tar.gz
>> - as a git repository:
>> git clone https://ftp-master.debian.org/git/archvsync.git
Tiny patch, fix typo full logging setting variable (FULLLOGS)
Signed-off-by: ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
|
|
|
|
| |
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>
|
|
|
|
|
| |
make it possible to send full rsync logs too. default is off
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>
|
|
|
|
| |
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>
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
use MIRRORNAME, not (bash set) HOSTNAME
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 pretty large readme
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
modify the config sample to document *EVERY* possible option a user
might want to modify
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
oh well, make it look nice and only tell where we are pushed from if it
actually has a ssh connection
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
log who pushed us
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
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>
|
|
|
|
|
| |
right check for callback
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>
|