summaryrefslogtreecommitdiffstats
path: root/bin/emerge-webrsync
Commit message (Collapse)AuthorAgeFilesLines
* emerge-webrsync: exit if "gpg binary not found"Alon Bar-Lev2011-09-171-0/+1
| | | | This prevents an endless loop (bug #383375).
* Remove all hasq/useq calls for bug #199722.Zac Medico2011-07-081-2/+2
|
* emerge-webrsync: drop lzma supportZac Medico2011-03-271-4/+2
| | | | | | | | The lzma snapshots have been replaced by xz snapshots, as discussed in the "RFC: Remove .lzma in favor of .xz portage snapshots" thread on the gentoo-dev ml: http://archives.gentoo.org/gentoo-dev/msg_7de1b57ce531fdf33d33b5b070006436.xml
* emerge-webrsync: update for current gpg keyZac Medico2011-01-141-1/+1
|
* emerge-webrsync: eat trailing newlinesMike Frysinger2011-01-051-3/+3
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* emerge-webrsync: add xz supportMike Frysinger2011-01-051-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* bash: as a general rule, use read -rZac Medico2010-12-291-1/+1
| | | | This solves cases like bug #350045.
* Bug #332799 - Don't download lzma snapshots if tarsync is installed.Zac Medico2010-08-141-6/+3
|
* Add a SYNC sanity check to help prevent people like funtoo usersZac Medico2010-04-261-1/+15
| | | | | from accidentally wiping out their git tree. It will bail out if SYNC does not refer to an rsync URI.
* Add back executable bits, accidentally removed in previous commit.Zac Medico2010-03-241-0/+0
|
* Remove all svn $Id keywords.Zac Medico2010-03-241-1/+0
|
* Use absolute paths for files in ${DISTDIR}. Thanks to RB <aoz.syn@gmail.com>Zac Medico2008-05-031-4/+4
| | | | | | for this patch. svn path=/main/trunk/; revision=10127
* Buf #219294 - Fix 'date' and 'cut' arguments for BSD userland. Thanks toZac Medico2008-05-031-2/+6
| | | | | | RB <aoz.syn@gmail.com> for this patch. svn path=/main/trunk/; revision=10126
* Skip group/owner tarsync options for tarsync if chown on /usr/portageZac Medico2008-05-021-1/+4
| | | | | | | fails, since the user might still be able to sync even though the chown call is not permitted. svn path=/main/trunk/; revision=10070
* Bug #219837 - Adjust date calculations some more and show anZac Medico2008-05-021-15/+53
| | | | | | | informative ewarn message when bailing out due to a newer snapshot being unavailable. svn path=/main/trunk/; revision=10067
* Detect an old version of tarsync and use bzip2 compression in that case.Zac Medico2008-05-011-3/+9
| | | | svn path=/main/trunk/; revision=10056
* Bug #219837 - Adjust date calculations to improve accuracy.Zac Medico2008-04-301-3/+7
| | | | svn path=/main/trunk/; revision=10047
* s/timetasmp/timestamp/Zac Medico2008-04-141-1/+1
| | | | svn path=/main/trunk/; revision=9883
* * Use type -P which does not produce messages to stderr.Zac Medico2008-04-061-7/+7
| | | | | | | | another option is to redirect both stderr and out. * Avoid &> replace with > ... 2>&1 Thanks to Alon Bar-Lev for this patch. svn path=/main/trunk/; revision=9727
* * Skip the recusive chown call if it fails on the top level directory sinceZac Medico2008-03-281-3/+3
| | | | | | | | it's possible that emerge-webrsync is not run by root. * Just chown to portage:portage instead of using PORTAGE_INST_{UID,GID}. svn path=/main/trunk/; revision=9538
* Disable tarsync when using lzma compression since it doesn't seem to beZac Medico2008-03-281-1/+2
| | | | | | | supported. svn path=/main/trunk/; revision=9537
* only try to fetch compression schemes which the host supportsMike Frysinger2008-02-231-1/+10
| | | | svn path=/main/trunk/; revision=9372
* add support for lzma/gz snapshotsMike Frysinger2008-02-231-68/+88
| | | | svn path=/main/trunk/; revision=9371
* tighten up output from scriptMike Frysinger2008-02-231-39/+39
| | | | svn path=/main/trunk/; revision=9370
* cleanup main option parsingMike Frysinger2008-02-231-23/+34
| | | | svn path=/main/trunk/; revision=9369
* fix typo in emerge-webrsync from r9118Alec Warner2008-01-131-1/+1
| | | | svn path=/main/trunk/; revision=9201
* As suggested by grobian, treat Darwin just like USERLAND=gnuZac Medico2007-12-291-2/+1
| | | | | | since they seem to be switching commands to gnu anyway. svn path=/main/trunk/; revision=9118
* Fix USERLAND references to handle Darwin like BSD.Zac Medico2007-12-291-1/+2
| | | | svn path=/main/trunk/; revision=9117
* Rely on USERLAND since it's automatically generated byZac Medico2007-12-291-5/+1
| | | | | | isolated-functions.sh when necessary. svn path=/main/trunk/; revision=9107
* Fix sync_local() to return 0 when a appropriate. Thanks toZac Medico2007-12-261-0/+1
| | | | | | Alon Bar-Lev" <alonbl@gentoo.org> svn path=/main/trunk/; revision=9055
* Fix broken timestamp logic in do_snapshot(). Thanks to AlonZac Medico2007-12-061-6/+5
| | | | | | Bar-Lev <alonbl@gentoo.org> for this patch. svn path=/main/trunk/; revision=8851
* Merge rewrite by Alon Bar-Lev from bug #130039:Zac Medico2007-08-061-113/+303
| | | | | | | - Verify gpg signature of snapshot if FEATURES="webrsync-gpg" is enabled. - Add a --revert=yyyymmdd option that alows a specific snapshot to be used. svn path=/main/trunk/; revision=7579
* For bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from ↵Zac Medico2007-07-281-1/+2
| | | | | | make.conf. svn path=/main/trunk/; revision=7415
* convert `type -p` to `type -P` as noted by grobianMike Frysinger2007-04-151-3/+3
| | | | svn path=/main/trunk/; revision=6411
* For bug #170178, remove all hardcoded references to '/usr/lib/portage'.Zac Medico2007-03-101-3/+4
| | | | svn path=/main/trunk/; revision=6203
* Add support for RSYNC_EXTRA_OPTS to webrsyncMarius Mauch2007-02-171-2/+2
| | | | svn path=/main/trunk/; revision=5973
* For bug #164532, don't rely on ${USERLAND} since the portage tree might be ↵Zac Medico2007-01-301-2/+4
| | | | | | empty. svn path=/main/trunk/; revision=5840
* For consistent behavior in all timezones, make emerge-webrsync use UTC time ↵Zac Medico2006-12-021-12/+11
| | | | | | for decisions about which snapshots to download. svn path=/main/trunk/; revision=5154
* For bug #154220, run /etc/portage/bin/post_sync at the end of emerge-webrsync.Zac Medico2006-11-061-0/+1
| | | | svn path=/main/trunk/; revision=4959
* Add forgotten PORTAGE_TMPDIR to the portageq call.Zac Medico2006-08-141-2/+2
| | | | svn path=/main/trunk/; revision=4258
* Use eval $(portageq envvar -v FOO BAR) to collapse many portageq calls into 1.Zac Medico2006-08-141-9/+6
| | | | svn path=/main/trunk/; revision=4257
* make elog mail module always set the 'From' header for rfc2822 complianceMarius Mauch2006-06-101-1/+1
| | | | svn path=/main/trunk/; revision=3483
* Use python to lookup the user and group corresponding to PORTAGE_INST_UID ↵Zac Medico2006-05-301-1/+4
| | | | | | and PORTAGE_INST_GID since tarsync doesn't support numeric arguments for the user and group. See bug #134885. svn path=/main/trunk/; revision=3442
* Make emerge-webrsync only do metadata-transfer when necessary. Thanks to ↵Zac Medico2006-03-201-2/+6
| | | | | | Patrick Lauer for reporting. svn path=/main/trunk/; revision=2965
* Fix typo in spelling of been in emerge-webrsync. Thanks to bonsaikitten for ↵Zac Medico2006-03-181-1/+1
| | | | | | reporting. svn path=/main/trunk/; revision=2943
* Make PORTAGE_INST_UID and PORTAGE_INST_GID default to 0 in case of ↵Zac Medico2006-03-181-2/+2
| | | | | | environment problems. svn path=/main/trunk/; revision=2942
* Fix deprecated emerge syntax in emerge-webrsync for bug #126558.Zac Medico2006-03-171-1/+1
| | | | svn path=/main/trunk/; revision=2924
* Merge emerge-webrsync uid and gid fixes from the prefix branch.Zac Medico2006-03-171-4/+5
| | | | svn path=/main/trunk/; revision=2923
* Make emerge-webrsync use renice for cleaner PORTAGE_NICENESS handling (bug ↵Zac Medico2006-03-021-7/+5
| | | | | | #124621). svn path=/main/trunk/; revision=2806
* Fix typo in emerge-webrsync PORTAGE_NICENESS handling for bug #124621 ↵Zac Medico2006-03-021-4/+4
| | | | | | (regression from r2623). svn path=/main/trunk/; revision=2805