Re: [PATCH 0/2] Add binrepos.conf to support fetchcommand customization (bug 661332)

Zac Medico <[email protected]>
Newsgroups gmane.linux.gentoo.portage.devel
Message-ID <[email protected]>
On 9/6/20 11:31 PM, Zac Medico wrote:
> Support /etc/portage/binrepos.conf as a replacement for the
> PORTAGE_BINHOST variable. Behavior is similar to repos.conf,
> initially supporting just the sync-uri attribute. Both binrepos.conf
> and PORTAGE_BINHOST can be used simultaneously, in the same way that
> repos.conf and PORTDIR_OVERLAY can be used simultaneously.
> 
> The emerge --info output for binrepos.conf looks like this:
> 
> Binary Repositories:
> 
> example-binhost
> 	sync-uri: https://example.com/packages
> 
> Support customization of fetchcommand and resumecommand in
> binrepos.conf, allowing customized authentication mechanisms for
> each repository.
> 
> Zac Medico (2):
>   Add binrepos.conf to replace PORTAGE_BINHOST (bug 668334)
>   binrepos.conf: support fetchcommand customization (bug 661332)
> 
>  lib/_emerge/BinpkgFetcher.py            |  29 ++++--
>  lib/_emerge/actions.py                  |  13 ++-
>  lib/portage/binrepo/__init__.py         |   0
>  lib/portage/binrepo/config.py           | 131 ++++++++++++++++++++++++
>  lib/portage/const.py                    |   1 +
>  lib/portage/dbapi/bintree.py            |  48 ++++++---
>  lib/portage/tests/emerge/test_simple.py |  14 ++-
>  man/make.conf.5                         |   3 +-
>  man/portage.5                           |  52 ++++++++++
>  9 files changed, 264 insertions(+), 27 deletions(-)
>  create mode 100644 lib/portage/binrepo/__init__.py
>  create mode 100644 lib/portage/binrepo/config.py
> 

I had intended to refer to bug 668302 instead of bug 661332:

https://bugs.gentoo.org/668302
-- 
Thanks,
Zac
signature.asc (application/pgp-signature, 981 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQKTBAEBCgB9FiEE8OgXaltWzqgSupCu0HX7jBBKPSAFAl9V2JlfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYw
RTgxNzZBNUI1NkNFQTgxMkJBOTBBRUQwNzVGQjhDMTA0QTNEMjAACgkQ0HX7jBBK
PSCj6RAAghoQXfBLnHliWtMKnCnS2fm/ESYZqK3Ij/FYzBRwECXeRdrr1AvtPy+4
M27e9jeRI60310Atg35+7djLbWSKfln9p0MSZ3OUEciUrqUG2PqhE8OfVs9TztLA
UZTVgjbGfqDtGQvkjLal5nhb47NTrZllmy7Hh6+67bZCd8+av4NgOaW2cZDpLEC+
SfhwhFbnvWRO1MsCtT32Dbv6wslOjCUMHSBQ2NiSvU/gr8r3Zd0mug2W+5wpUF5T
HqTz/wCC1EXFOQL+CRPrZtO5rPFzIfnqH5/Bjd3u1HpiKYA9bRmIaIq3xoEGLIny
ni10oVJtxxP5fl4kXd9qmJFMVlV3cgxCmPFvHDw2GbhzMlWjbfq9myzImrKDp/7t
guTAteV5+VYqTWckn1LFzzhGR5n3MPTfYT4yP/z1ryp/WKM5VXwDJcNLEVMJfilQ
ZOqQFmt3saXFXL0USfSIKwhLhuUQp+d7GrY/cwej66oxG4OLvdfIOV4ly3Evg5Ur
QLjig+VpQeBbo7f8O9laDEHZLEhN4h2rXS9mZ0HvDkgCjLGsDKcRxwZYlOnnntSR
CdXtAdlhgzA6dwJCrmVrJFEvWioNSnXG4RHAXc7w95qu76o2dWI/JCA8dBIvp7Qe
JvUEIc7EHMRzLzmxScW5iRztWbuE3MjblZDS0hiC1IBoiomp99c=
=M18J
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.