public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/portage:master commit in: man/, lib/portage/sync/modules/webrsync/
@ 2018-07-28  6:12 Zac Medico
  0 siblings, 0 replies; only message in thread
From: Zac Medico @ 2018-07-28  6:12 UTC (permalink / raw
  To: gentoo-commits

commit:     ec35cb530d14885d99a7c10ae5a50bf27e6d8495
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 27 06:19:33 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Jul 28 05:53:07 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=ec35cb53

webrsync: support sync-webrsync-keep-snapshots

Add a repos.conf sync-webrsync-keep-snapshots setting that enables
the emerge-webrsync --keep option, which keeps snapshots in DISTDIR
instead of deleting them.

Reviewed-by: Brian Dolbec <dolsen <AT> gentoo.org>

 lib/portage/sync/modules/webrsync/__init__.py | 1 +
 man/portage.5                                 | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/lib/portage/sync/modules/webrsync/__init__.py b/lib/portage/sync/modules/webrsync/__init__.py
index 1e09d1a47..118e752de 100644
--- a/lib/portage/sync/modules/webrsync/__init__.py
+++ b/lib/portage/sync/modules/webrsync/__init__.py
@@ -46,6 +46,7 @@ module_spec = {
 			},
 			'validate_config': CheckSyncConfig,
 			'module_specific_options': (
+				'sync-webrsync-keep-snapshots',
 				'sync-webrsync-verify-signature',
 			),
 		},

diff --git a/man/portage.5 b/man/portage.5
index 8ebf980f5..4cb1b0b34 100644
--- a/man/portage.5
+++ b/man/portage.5
@@ -1128,6 +1128,9 @@ when 0. Defaults to disabled.
 Require the repository to contain a signed MetaManifest and verify
 it using \fBapp\-portage/gemato\fR. Defaults to no.
 .TP
+.B sync\-webrsync\-keep\-snapshots = true|false
+Keep snapshots in \fBDISTDIR\fR (do not delete). Defaults to false.
+.TP
 .B sync\-webrsync\-verify\-signature = true|false
 Require the detached tarball signature to contain a good OpenPGP
 signature. This uses the OpenPGP key(ring) specified by the


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-07-28  6:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-28  6:12 [gentoo-commits] proj/portage:master commit in: man/, lib/portage/sync/modules/webrsync/ Zac Medico

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox