Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 194552

Summary: new PORTAGE_BINHOST protocol
Product: Portage Development Reporter: Zac Medico <zmedico>
Component: .tbz2 supportAssignee: Portage team <dev-portage>
Severity: normal CC: solar, ulm, wolf31o2, wschlich
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 108448, 133908, 199413, 216231    

Description Zac Medico gentoo-dev 2007-10-02 20:40:03 UTC
The original PORTAGE_BINHOST protocol, which is uses a remote ${PKGDIR}/All/ directory listing to download all the metadata chunks from each individual package, needs to be replaced due to inefficiency (bug #108448) and file collision issues (bug #133908).

Main requirements:

 1) Server side generation of a package metadata index (similar
    to genpkgindex from gentoolkit) to solve bug #108448.

 2) Resolve package file name collisions between packages from
    different categories (bug #133908)

Both of the above are already implemented in trunk. The package
metadata index is generated as packages are built, and there is
also a `emaint --fix binhost` command that can be used to
update, prune, or regenerate the index. The file collisions are
currently handled by using separate category directories, with
no ${PKGDIR}/All directory.

Anyone who would like to try the current implementation may
may want to consult our "how to obtain and test development
versions" doc:
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2008-03-20 18:14:53 UTC
This is supposed to be fixed in portage-2.2_pre5 or earlier.
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2008-03-20 18:15:32 UTC
This is supposed to be fixed in portage-2.2_pre5 or earlier.