summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* One more style cleanupJoerg Jaspert2016-01-07
|
* Also count stage2 rsync timePeter Palfrader2016-01-07
|
* Fix a typo in a filenamePeter Palfrader2016-01-07
|
* Only do _hierarchy and _traces when EXTENDEDTRACE is full, or when upstream ↵Peter Palfrader2016-01-07
| | | | does it
* add (c)Peter Palfrader2016-01-06
|
* Kill a stray ‐Peter Palfrader2016-01-06
|
* Style ([ -> [[)Joerg Jaspert2016-01-06
|
* Revert "Revert "Add pipefail option""Joerg Jaspert2016-01-06
| | | | | | This reverts commit dc6d6030549c26becc6506f3ed7903b2168ba93c. Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Fix egrep callJoerg Jaspert2016-01-06
|
* Revert "Add pipefail option"Peter Palfrader2016-01-06
| | | | | | | | | | | | This reverts commit 42354e9abfc5c3807543b01221536c083a0f66e6. This breaks stuff for now. E.g.: | + [[ -f /home/archvsync/archvsync/log/rsync-ftpsync-security.log ]] | +++ egrep '[[0-9.,]]+ bytes/sec' /home/archvsync/archvsync/log/rsync-ftpsync-security.log | +++ tail -n 1 | ++++ cleanup Needs more careful testing.
* Add pipefail optionJoerg Jaspert2016-01-06
|
* Style (no "" in [[ ]] and spaces in $(( )) )Joerg Jaspert2016-01-06
|
* And -1 for ls, for the less enlightened onesPeter Palfrader2016-01-06
|
* sort ls by timePeter Palfrader2016-01-06
|
* fix variable namePeter Palfrader2016-01-06
|
* Also create a list of tracefilesPeter Palfrader2016-01-06
|
* Include tracehost and rsync-host in hieraPeter Palfrader2016-01-06
|
* We also do not want _hierarchy overwrittenPeter Palfrader2016-01-06
|
* proper path for trace hierarchyPeter Palfrader2016-01-06
|
* Experiment with hierarchy filePeter Palfrader2016-01-06
|
* remove stage1 tracefile on all syncPeter Palfrader2016-01-06
|
* protect stage1 tracefilePeter Palfrader2016-01-06
|
* Do stage1 tracefile at the end, if we only did stage1Peter Palfrader2016-01-06
|
* Do not divide by zeroPeter Palfrader2016-01-06
|
* move rfc822 date and archive serial into the terse/full block for ↵Peter Palfrader2016-01-06
| | | | tracefiles. do not include them in the date version
* The unprefixed date line should remain the first line of a tracefilePeter Palfrader2016-01-05
|
* Style (mostly use [[ instead of [, more readable)Joerg Jaspert2016-01-04
|
* tracefile generation in a function, use it for stage1 file tooJoerg Jaspert2016-01-04
|
* Archive serial, parseable date headerJoerg Jaspert2016-01-04
| | | | | | | Get the archive serial from upstream and put it into our file, so easier to see when we last updates. Also put a parseable date header into the tracefile
* Try to extract bytes transferred from rsync logs and put them and rsync time ↵Peter Palfrader2016-01-01
| | | | into the trace file
* When excluding source, re-include some non-source tar.gz filesSteve McIntyre2015-08-13
| | | | | | | | | | | | | To: joerg@debian.org Cc: Steve McIntyre <steve@einval.com> Date: Wed, 12 Aug 2015 16:11:19 +0100 (17 hours, 9 minutes, 48 seconds ago) Excluding source will cause rsync to drop all *.tar.gz from the mirro, but some of those in the archive are not actually source files. Over-ride and re-include them. Signed-off-by: Steve McIntyre <steve@einval.com> Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Clarify all/staged mirror typesJoerg Jaspert2015-06-08
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Update versionJoerg Jaspert2015-04-25
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Merge remote-tracking branch 'paultag/paultag/featutre/Dockerfile' into mergeJoerg Jaspert2014-11-26
|\ | | | | | | | | * paultag/paultag/featutre/Dockerfile: Add a Dockerfile
| * Add a DockerfilePaul Tagliamonte2014-11-14
|/ | | | | This will help new hackers or people interested in creating a mirror going with running the process under Docker.
* Add new arch ppc64elSimon Paillard2014-08-18
|
* Add arm64 to the list of archs included in the trace fileRaphael Geissert2014-08-15
|
* ARCH_EXCLUDE: add new arch "arm64"Simon Paillard2014-08-02
|
* Ensure TRACEHOST is set in the "config" part of the script.Joerg Jaspert2014-05-08
| | | | | That avoids surprises if on ever uses a variable elsewhere, and forgets it is set differently than all the rest (only at usage).
* Adjust versionJoerg Jaspert2014-05-08
| | | | Signed-off-by: Joerg Jaspert <joerg@debian.org>
* Use $0 for BASEDIR instead of $HOMENeil Mayhew2014-05-08
| | | | | | | | | | | To: Joerg Jaspert <joerg@debian.org> Cc: Neil Mayhew <neil_mayhew@sil.org> Date: Fri, 22 Jun 2012 11:27:58 -0600 (1 year, 45 weeks, 4 days ago) From: Neil Mayhew <neil_mayhew AT sil DOT org> Ths provides more flexibility in where the scripts are placed, without having to specify BASEDIR in the command
* Adjust mail sending optionJoerg Jaspert2014-05-08
| | | | | | | | | -e should be -E: Some mailx variants don't list -e, some silently seem to map it to -E, some others use it to check if the local users mailbox has some content, but -E (for those I've seen) always means what we want: "Don't send a mail when there is no body". Thanks to Neil Mayhew for reporting.
* Revised trace file generation a bit.Eugene Paskevich2014-05-08
| | | | | | - Added an option to write the date only. - Added an option to change the hostname written into the trace file. - Open the new temporary trace file for writing only once.
* Revised rsync run statistics generation.Eugene Paskevich2014-05-08
| | | | | | - Moved the code from cleanup() to check_rsync() where it looks naturally. - Support the format of speed with commas as new rsync prints out.
* Don't lose rsync logs/errors if stage 1 is repeated.Eugene Paskevich2014-05-08
|
* README changesJoerg Jaspert2014-01-19
| | | | | add InRelease and i18n/ to readmes exclude options. Reported by Uwe Kleine-Koenig
* bin/ftpsync: fix typoSimon Paillard2013-12-27
|
* README: document ARCHIVE names used in the mirror networkSimon Paillard2013-11-21
|
* savelog() fix failure if logfile doesn't existSimon Paillard2013-10-20
|
* Handling of trigger errors: fix logging and email reportsSimon Paillard2013-10-15
| | | | | - No separate log file for errors - One mail per faulty pushed mirror