Gentoo Archives: gentoo-portage-dev

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

Attachments

File name MIME type
signature.asc application/pgp-signature