Modify

Ticket #691 (closed defect: fixed)

Opened 14 years ago

Last modified 9 years ago

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

comment:1 Changed 14 years ago by desai

  • Status changed from new to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.