Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: [gentoo-portage-dev] [PATCH 0/2] Add binrepos.conf to support fetchcommand customization (bug 661332)
Date: Mon, 07 Sep 2020 06:35:26
Message-Id: 20200907063131.395951-1-zmedico@gentoo.org
1 Support /etc/portage/binrepos.conf as a replacement for the
2 PORTAGE_BINHOST variable. Behavior is similar to repos.conf,
3 initially supporting just the sync-uri attribute. Both binrepos.conf
4 and PORTAGE_BINHOST can be used simultaneously, in the same way that
5 repos.conf and PORTDIR_OVERLAY can be used simultaneously.
6
7 The emerge --info output for binrepos.conf looks like this:
8
9 Binary Repositories:
10
11 example-binhost
12 sync-uri: https://example.com/packages
13
14 Support customization of fetchcommand and resumecommand in
15 binrepos.conf, allowing customized authentication mechanisms for
16 each repository.
17
18 Zac Medico (2):
19 Add binrepos.conf to replace PORTAGE_BINHOST (bug 668334)
20 binrepos.conf: support fetchcommand customization (bug 661332)
21
22 lib/_emerge/BinpkgFetcher.py | 29 ++++--
23 lib/_emerge/actions.py | 13 ++-
24 lib/portage/binrepo/__init__.py | 0
25 lib/portage/binrepo/config.py | 131 ++++++++++++++++++++++++
26 lib/portage/const.py | 1 +
27 lib/portage/dbapi/bintree.py | 48 ++++++---
28 lib/portage/tests/emerge/test_simple.py | 14 ++-
29 man/make.conf.5 | 3 +-
30 man/portage.5 | 52 ++++++++++
31 9 files changed, 264 insertions(+), 27 deletions(-)
32 create mode 100644 lib/portage/binrepo/__init__.py
33 create mode 100644 lib/portage/binrepo/config.py
34
35 --
36 2.25.3

Replies