Modify ↓
Ticket #691 (closed defect: fixed)
reverse Source priority in Packages plugin
Reported by: | [email protected]… | Owned by: | desai |
---|---|---|---|
Priority: | minor | Milestone: | Bcfg2 1.0.0 Release |
Component: | bcfg2-server | Version: | |
Keywords: | Cc: |
Description
The current implementation seems to prioritize Sources in the order they appear in config.xml: the first matching package is used.
However, APT seems to prioritize the other way round: the last matching package is used. This is relevant when adding the security repositories as a second APTSource (just as one does in sources.list). The security repo contains packages with the same names as the main repo, but with later revisions etc.
To reproduce the same behaviour, one has to specify their repositories in config.xml in the reverse order they appear in sources.list, which is kind of counter-intuitive.
Probably just a matter of reversing a loop somewhere.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
Fixed in [f9591ddf3830627802c04676254546708ee80b00] (SVN r5329)