From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 537E5138359 for ; Mon, 7 Sep 2020 06:52:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 80317E0956; Mon, 7 Sep 2020 06:52:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 533E7E0956 for ; Mon, 7 Sep 2020 06:52:13 +0000 (UTC) Subject: [gentoo-portage-dev] Re: [PATCH 0/2] Add binrepos.conf to support fetchcommand customization (bug 661332) To: Zac Medico , gentoo-portage-dev@lists.gentoo.org References: <20200907063131.395951-1-zmedico@gentoo.org> From: Zac Medico Autocrypt: addr=zmedico@gentoo.org; prefer-encrypt=mutual; keydata= mQINBFs7tmwBEADTzG+IcYtRfTfKryU7sUH7LlV1M+TdaCMfIkY4x6RyHXkaaqYuQ+U9HKn0 +m5FcZsZ1Ojik+We3Tz0F6kDbam6EWzBxmsLb/IHeUEsvsuLzuBQjiD9zzqGocZiPWr+uWJs AdbueS72R7FPXJPDUEPrJ9GdhGFyYARveY9cmdisOwcDOiSFfBjk3/89t4gROn4KUhezVuO9 VS14gVSns1561CJjlB47HkSBu4+FuzrfVygg4xitWAH119Ehw0vJcgkTw4Bqhk01Iw9us80m dFyU8JbJ0CVYe30gYKFFbnXoiT6xLLogKOkv0goPFxaXcMwWM9ei3SjAGVqgN6i8VnO7kquV LwkTe6ntEK0iY+l4qTKuyIOQLpCbWNI0eVwlx5b/pY2pt5TEGWAPMCZGjlidMx0aDcVX4oji 2/x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mbSyEmgKdC+RYvaRlU1MlKT767EC2l1BYB+j+LpR4n93awCjEZXD+hLCCyekpimr6 gT+rEMLg5cZgPkaVgBI2mlHZ4UE4Pm2fp3jHi8HioAReaa9387/90Ar9neXtIXR+5MhGxFjf HOTxhUStVVCgGbtOksu9xaYKpvx8e1mGtdXyEaELC/m29saPYYwbVPzAfmd8poEnkTnXdpP9 8DwBSqU6BS2TxA58GVxc49mWEq8MjJMDzEYHWrR4KiWUKKNG+obKOP5KDz8EbeXNRJm4HbZ9 WJoA7VGTOtBht/AeZ/AAZU2WafotIYwCp9X3YnXa3ykhgQIFmPVZlR3Rm8fRw2TjS0wpXorj BNQDMNEca3GBxj5yKYnZLCO8/shoHBc3j/OL/I9xT2Ru8cOliAYQduoiP9zShZGw4/lKr4d4 hxOBCEoWTwgydFXdsJEbINCWK5gvz7pNiOb09+Hi6uNyIYQ9vFSTTUaTKYVZwk0h55RcKXWe lW54GktnxxU0pszdAsxILi5A0/5yzNYazX16m3EYseCzwFQRM+PJ4/2lC/WKnbSelNnhbbhd lopMa4aFZs0j8mtbfh500sMp6uIcWsdTbrJEimM4LN4GgpSf Message-ID: <8ebf404c-61d4-9e3c-1ffb-4602e2777fe6@gentoo.org> Date: Sun, 6 Sep 2020 23:52:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <20200907063131.395951-1-zmedico@gentoo.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="gYumdMnnMv65j0JkT2GlDxaQqvn1QCyZA" X-Archives-Salt: db403af7-f003-4c6c-b4cb-6a1dd925e956 X-Archives-Hash: 6e7d103fe08515fdcb9bdda25102afa6 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gYumdMnnMv65j0JkT2GlDxaQqvn1QCyZA Content-Type: multipart/mixed; boundary="3ad7cupLwBNq7a5OPePrdJqnEazr6PWIA" --3ad7cupLwBNq7a5OPePrdJqnEazr6PWIA Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable 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. >=20 > The emerge --info output for binrepos.conf looks like this: >=20 > Binary Repositories: >=20 > example-binhost > sync-uri: https://example.com/packages >=20 > Support customization of fetchcommand and resumecommand in > binrepos.conf, allowing customized authentication mechanisms for > each repository. >=20 > Zac Medico (2): > Add binrepos.conf to replace PORTAGE_BINHOST (bug 668334) > binrepos.conf: support fetchcommand customization (bug 661332) >=20 > 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 >=20 I had intended to refer to bug 668302 instead of bug 661332: https://bugs.gentoo.org/668302 --=20 Thanks, Zac --3ad7cupLwBNq7a5OPePrdJqnEazr6PWIA-- --gYumdMnnMv65j0JkT2GlDxaQqvn1QCyZA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----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----- --gYumdMnnMv65j0JkT2GlDxaQqvn1QCyZA--