aboutsummaryrefslogtreecommitdiff
path: root/misc
Commit message (Collapse)AuthorAgeFilesLines
* emerge-delta-webrsync: chmod 755 temp dir (bug 704256)Zac Medico2019-12-301-0/+1
| | | | | | | | | Before the rsync call, chmod 755 the temporary directory so that the root directory of the repository will have appropriate permissions. Fixes: fa0f8720e168 ("emerge-delta-webrsync: handle gentoo-YYYYMMDD directory name") Bug: https://bugs.gentoo.org/704256 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* emerge-delta-webrsync: handle gentoo-YYYYMMDD directory nameZac Medico2019-12-091-7/+6
| | | | | Bug: https://bugs.gentoo.org/693454 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* repos.conf: default sync-webrsync-verify-signatureZac Medico2019-07-101-3/+16
| | | | | | | | | | | | | | | | | | Enable sync-webrsync-verify-signature by default in repos.conf (due to dependencies the ebuild will make this conditional on USE=rsync-verify in the same way as the default sync-rsync-verify-metamanifest value). Use a new PORTAGE_TEMP_GPG_DIR variable to distinguish indirect emerge-webrsync calls that use gemato for secure key refresh, and disable direct emerge-webrsync calls. Deprecate FEATURES=webrsync-gpg and use it to trigger a backward-compatibility mode where direct emerge-webrsync calls are allowed (but trigger a warning message). Since direct emerge-webrsync calls do not use gemato for secure key refresh, this behavior will not be supported in a future release. Bug: https://bugs.gentoo.org/689506 Signed-off-by: Zac Medico <zmedico@gentoo.org>
* emerge-delta-webrsync: fix vecho command substitutionZac Medico2018-07-271-1/+1
| | | | | | | Since vecho now outputs to stderr, the output has to be redirected to stdout when command substitution is intended. Fixes: 2b6210463300 ("isolated-functions.sh: Ensure informational command output to stderr")
* webrsync: support emerge-delta-webrsync (bug 661838)Zac Medico2018-07-271-1/+16
| | | | | | | | | Add a repos.conf sync-webrsync-delta setting that makes the webrsync module call emerge-delta-webrsync, so that emerge-delta-webrsync users can benefit from sync-openpgp-key-path support in the webrsync module. Bug: https://bugs.gentoo.org/661838 Reviewed-by: Brian Dolbec <dolsen@gentoo.org>
* emerge-delta-webrsync: exit early for signature problem (bug 661838)Zac Medico2018-07-271-0/+7
| | | | | | | | | Exit early after signature verification failure, since it's typically inappropriate to try other mirrors in this case (it may indicate a keyring problem). Bug: https://bugs.gentoo.org/661838 Reviewed-by: Brian Dolbec <dolsen@gentoo.org>
* emerge-delta-webrsync: uses gpg --status-fdZac Medico2018-01-311-1/+10
|
* Revert "portage.repository.config: Clean reading of repository (...) "Michał Górny2015-12-131-2/+2
| | | | | | This reverts commit 2cde1f65e9c585e78415857fdcac1fe5deaa60da. This was unreviewed and is a breaking change made without any discussion or announcement.
* portage.repository.config: Clean reading of repository names and drop ↵Arfrever Frehtes Taifersar Arahesis2015-12-081-2/+2
| | | | support for repositories with missing or invalid names.
* emerge-delta-webrsync: fix incorrect bzip2 file path argumentXiami2015-11-051-1/+1
|
* emerge-delta-webrsync: fix bug #506192Zac Medico2014-10-191-1/+1
| | | | | | | | | | | | | This fixes the sync_local function so that it doesn't prematurely remove the whole TMPDIR when tarsync is not installed. In this case, we really only want to remove the "${TMPDIR}"/portage directory which contains a temporary copy of the portage tree. The faulty code was introduced in commit 24f6a9599bcf445c468022264cd6952aad4d4076 when a bunch of code from emerge-webrsync was merged into emerge-delta-webrsync. Fixes: 24f6a9599bcf ("emerge-delta-webrsync: check full snapshot sig") X-Gentoo-Bug: 506192 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=506192
* emerge-webrsync: fix bug #523494Zac Medico2014-09-241-2/+2
| | | | | | | | Use PATH instead of PORTAGE_BIN_PATH to locate emerge. Fixes: 0cc4c1ac21a2 ("Install Portage using setup.py") X-Gentoo-Bug: 523494 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=523494
* Rename a private function.Arfrever Frehtes Taifersar Arahesis2014-02-051-2/+2
|
* emerge-webrsync: use PORTAGE_REPOSITORIES varZac Medico2013-07-221-19/+20
| | | | | Using this variable allows us to get all required configuration data with a singe portageq envvar call.
* emerge-webrsync and emerge-delta-webrsync: Stop using PORTDIR.Arfrever Frehtes Taifersar Arahesis2013-07-171-12/+18
|
* emerge-delta-webrsync: cleanup deltasZac Medico2013-07-101-0/+4
|
* emerge-delta-webrsync: rm empty file, bug #476416Zac Medico2013-07-101-1/+6
|
* emerge-webrsync: fetch_file rm absolute pathZac Medico2013-06-211-1/+1
|
* emerge-delta-webrsync: clean TMPDIR morev2.2.0_alpha184Zac Medico2013-06-211-2/+5
|
* emerge-delta-webrsync: check full snapshot sigZac Medico2013-06-211-153/+323
| | | | | | This patch merges a lot of code from emerge-webrsync, so that the same code is used when it's necessary to download a full snapshot and check the signature. This will fix bug #286373.
* emerge-delta-webrsync: fix STATE_DIR for EPREFIXZac Medico2013-01-281-1/+1
|
* emerge-webrsync: rsync -o -g, bug #442190Zac Medico2012-11-071-3/+6
| | | | | This fixes a regression since the -a option was removed in commit e672b5ccbbbe38eda5c733fc799a20d92a8bdf75.
* emerge-delta-webrsync: fix vecho breakageZac Medico2012-09-141-0/+4
| | | | Broken since commit 9b19ac5696c487dab58d7c10990fe07fd7f1f731.
* emerge-delta-webrsync: tweak "recompressing" msgZac Medico2012-08-181-1/+2
| | | | FEATURES=webrsync-gpg forces it to recompress in the foreground.
* emerge-delta-webrsync: improve date calculationsZac Medico2012-08-181-41/+43
| | | | This borrows some code from emerge-webrsync, and will fix bug #153513.
* emerge-*webrsync: use ${PORTAGE_BIN_PATH}/emergeZac Medico2012-08-181-2/+4
|
* emerge-*webrsync: fix post_sync for prefixZac Medico2012-08-181-3/+3
|
* emerge-delta-webrsync: mktemp in PORTAGE_TMPDIRZac Medico2012-08-181-23/+20
| | | | This will fix bug #198362.
* emerge-delta-webrsync: fix make.globals pathZac Medico2012-08-181-2/+3
|
* emerge-delta-webrsync: rm -f for non-interactiveZac Medico2012-08-181-10/+10
| | | | This prevents interactive mode as reported in bug #176008.
* emerge-delta-webrsync: normalize fetch URIZac Medico2012-08-171-1/+1
| | | | This will fix bug #124072.
* emerge-delta-webrsync: PORTAGE_RSYNC_OPTSZac Medico2012-08-171-3/+1
|
* emerge-delta-webrsync: add -q/--quiet optionZac Medico2012-08-171-0/+6
|
* emerge-delta-webrsync: check write permissionZac Medico2012-08-171-4/+15
| | | | This will fix bug #176008.
* emerge-delta-webrsync: handle FEATURES=usersyncZac Medico2012-08-171-3/+19
|
* emerge-delta-webrsync: support gpg verificationZac Medico2012-08-171-3/+59
| | | | | | | | This will fix bug #286373. BUG: Signature verification will fail if the local bzip2 program does not produce output that is perfectly identical to the bzip2 program used to compress the signed tar file.
* emerge-delta-webrsync: remove umd5sumAlexey Solovyev2012-08-171-1/+1
| | | | This will fix bug #189084.
* emerge-delta-webrsync: call portageq for configZac Medico2012-08-171-15/+26
|
* emerge-delta-webrsync: import version 3.5.1-r3Zac Medico2012-08-171-0/+512