aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2020-09-06 17:13:13 -0700
committerZac Medico <zmedico@gentoo.org>2020-09-07 18:38:08 -0700
commit5ebc8a249b08318da5a2ca89cee2eed604f7e639 (patch)
tree2423064ad11f4c3ef04285f96058455763695170 /lib/portage/binrepo/config.py
parentAdd binrepos.conf to replace PORTAGE_BINHOST (bug 668334) (diff)
downloadportage-5ebc8a249b08318da5a2ca89cee2eed604f7e639.tar.gz
portage-5ebc8a249b08318da5a2ca89cee2eed604f7e639.tar.bz2
portage-5ebc8a249b08318da5a2ca89cee2eed604f7e639.zip
binrepos.conf: support fetchcommand customization (bug 668302)
Support customization of fetchcommand and resumecommand in binrepos.conf, allowing customized authentication mechanisms for each repository. Bug: https://bugs.gentoo.org/668302 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'lib/portage/binrepo/config.py')
-rw-r--r--lib/portage/binrepo/config.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/portage/binrepo/config.py b/lib/portage/binrepo/config.py
index a4bce9073..6ba1a3e9f 100644
--- a/lib/portage/binrepo/config.py
+++ b/lib/portage/binrepo/config.py
@@ -15,7 +15,9 @@ class BinRepoConfig:
__slots__ = (
'name',
'name_fallback',
+ 'fetchcommand',
'priority',
+ 'resumecommand',
'sync_uri',
)
def __init__(self, opts):