Summary: | sys-apps/portage does not honour FETCHCOMMAND{,_HTTPS} while fetching "Packages" file over https | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Merlijn Wajer <gentoo> |
Component: | Core - External Interaction | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jason |
Priority: | Normal | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=661332 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 625246, 668334 | ||
Bug Blocks: | 739718 |
Description
Merlijn Wajer
2018-10-11 11:01:18 UTC
On IRC it was brought up the current method supports HTTP 'If-Modified-Since'. I think that supporting a feature like HTTP 'If-Modified-Since' should be quite feasible with wget in a FETCHCOMMAND as well if this is particularly important. In order to express things like this, we really need to introduce support for binary package repository configuration files. This will make it possible to specify a different FETCHCOMMAND for each binary package repository. *** Bug 371447 has been marked as a duplicate of this bug. *** Patches posted for review: https://archives.gentoo.org/gentoo-portage-dev/message/1a4794a59788885b513f58f8646e7eaf https://github.com/gentoo/portage/pull/618 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=5ebc8a249b08318da5a2ca89cee2eed604f7e639 commit 5ebc8a249b08318da5a2ca89cee2eed604f7e639 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2020-09-07 00:13:13 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-09-08 01:38:08 +0000 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> lib/_emerge/BinpkgFetcher.py | 29 +++++++++++++++++++---------- lib/portage/binrepo/config.py | 2 ++ lib/portage/dbapi/bintree.py | 34 +++++++++++++++++++++++++--------- man/portage.5 | 14 ++++++++++++++ 4 files changed, 60 insertions(+), 19 deletions(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd840baeef963f5fe746f9167976ce0eed83a3b4 commit fd840baeef963f5fe746f9167976ce0eed83a3b4 Author: Zac Medico <zmedico@gentoo.org> AuthorDate: 2020-09-08 03:44:51 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2020-09-08 03:51:23 +0000 sys-apps/portage: Bump to version 3.0.6 #668302 binrepos.conf: support fetchcommand customization #668334 Add binrepos.conf to replace PORTAGE_BINHOST #704416 env-update: create systemd user-session environment #737470 egencache --update-pkg-desc: emulate esync --verbose #737480 emerge --search: auto-detect regular expressions #739908 @change-deps: fix erroneous repeated rebuilds #740588 make.conf: Treat __* variables as local #740898 PORTAGE_BINHOST urlopen proxy support #740904 rsync and gemato proxy support Bug: https://bugs.gentoo.org/739718 Bug: https://bugs.gentoo.org/668302 Bug: https://bugs.gentoo.org/668334 Bug: https://bugs.gentoo.org/704416 Bug: https://bugs.gentoo.org/737470 Bug: https://bugs.gentoo.org/737480 Bug: https://bugs.gentoo.org/739908 Bug: https://bugs.gentoo.org/740588 Bug: https://bugs.gentoo.org/740898 Bug: https://bugs.gentoo.org/740904 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.6.ebuild | 265 ++++++++++++++++++++++++++++++++++ 2 files changed, 266 insertions(+) |