Ticket #1311 (new enhancement)

Opened 4 years ago

Last modified 4 years ago

Support for same package with different USE in same bpin repository

Reported by: loki42 Owned by:
Priority: Sometime Milestone: pbin support
Component: clients/cave Version: 1.4.2
Keywords: Cc:
Blocked By: Blocking:
Distribution: N/A


To improve the building and providing of binary packages, support for multiple versions of the same package with different useflags would be usefull. To keep the pbin names "short", the useflags could be encoded as hash into the pbin name.

for example

  • paludis[pbins] => paludis-1.4.2-r1.pbin-1+4-c3c0dc4055d4bd4c9404cbab8261c798
  • paludis[pbins,xml]=> paludis-1.4.2-r1.pbin-1+4-90d2ea5c7a3583b48d22dcf743bb555c

Change History

comment:1 Changed 4 years ago by ciaranm

This doesn't work very cleanly: there's no mechanism for selecting the "preferred" combination of flags when there are multiple matches.

comment:2 Changed 4 years ago by loki42

if there is no matching pbin, cave could throw a resolution error.

comment:3 Changed 4 years ago by ciaranm

But use flags don't specify a requirement. They specify a preference. So that wouldn't work.

Note: See TracTickets for help on using tickets.