| Commit message (Collapse) | Author | Age |
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
use MIRRORNAME, not (bash set) HOSTNAME
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>
|
|
|
|
|
| |
right check for callback
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>
|
|
|
|
|
| |
now, check if we know the configfile.
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>
|
|
|
|
|
| |
[] do like their spaces
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
set -u likes to have variables declared before we use em
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
small fixes and "" at some places
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
| |
<steve@lobefin.net>
|
|
|
|
|
|
| |
code cleanups
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
some ""
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
future proof bz2
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
set syncall to false if we only need stage1 or stage2
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>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
bash really likes the syntax to be correct
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
the second stage should use >> for the logs.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
and another option to only mail errors instead of always full logs
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
better cleanup handling, like mailing logs in any case (if MAILTO is set).
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
use BASEDIR, defaulting to $HOME, so people could, if wanted, place the scripts outside of $HOME.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
also allow anonymous syncs
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
its helpful if we mkdir before we try to touch something in $TO
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
one + too much
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
| |
mirrorlogs alias instead of my own address
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|
|
|
|
|
|
| |
and use the variable.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
|