1 |
Add a repos.conf sync-webrsync-keep-snapshots setting that enables |
2 |
the emerge-webrsync --keep option, which keeps snapshots in DISTDIR |
3 |
instead of deleting them. |
4 |
--- |
5 |
lib/portage/sync/modules/webrsync/__init__.py | 1 + |
6 |
man/portage.5 | 3 +++ |
7 |
2 files changed, 4 insertions(+) |
8 |
|
9 |
diff --git a/lib/portage/sync/modules/webrsync/__init__.py b/lib/portage/sync/modules/webrsync/__init__.py |
10 |
index 1e09d1a47..118e752de 100644 |
11 |
--- a/lib/portage/sync/modules/webrsync/__init__.py |
12 |
+++ b/lib/portage/sync/modules/webrsync/__init__.py |
13 |
@@ -46,6 +46,7 @@ module_spec = { |
14 |
}, |
15 |
'validate_config': CheckSyncConfig, |
16 |
'module_specific_options': ( |
17 |
+ 'sync-webrsync-keep-snapshots', |
18 |
'sync-webrsync-verify-signature', |
19 |
), |
20 |
}, |
21 |
diff --git a/man/portage.5 b/man/portage.5 |
22 |
index 8ebf980f5..4cb1b0b34 100644 |
23 |
--- a/man/portage.5 |
24 |
+++ b/man/portage.5 |
25 |
@@ -1128,6 +1128,9 @@ when 0. Defaults to disabled. |
26 |
Require the repository to contain a signed MetaManifest and verify |
27 |
it using \fBapp\-portage/gemato\fR. Defaults to no. |
28 |
.TP |
29 |
+.B sync\-webrsync\-keep\-snapshots = true|false |
30 |
+Keep snapshots in \fBDISTDIR\fR (do not delete). Defaults to false. |
31 |
+.TP |
32 |
.B sync\-webrsync\-verify\-signature = true|false |
33 |
Require the detached tarball signature to contain a good OpenPGP |
34 |
signature. This uses the OpenPGP key(ring) specified by the |
35 |
-- |
36 |
2.16.4 |