Modify

Ticket #973 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Fix for incorrect dependency generation in Packages.py

Reported by: Jeramey Crawford <jeramey@…> Owned by: desai
Priority: minor Milestone: Bcfg2 1.1.2 Release (Bugfix)
Component: bcfg2-server Version: 1.0
Keywords: Cc:

Description

I found a small bug in how Python's sets are used to generate package lists for automatic dependency calculations. The problem has probably been overlooked because most repos have virtually all packages available for both i386 and x86_64, however I have an internal repo which consists mostly of x86_64 software only, and automatic dependency calculations did not work for me.

It's a small 2-line patch that completely fixes the issue. Thanks for making the code so easy to work with!

Attachments

bcfg2-sets.patch (866 bytes) - added by Jeramey Crawford <jeramey@…> 11 years ago.
Package set fix

Change History

Changed 11 years ago by Jeramey Crawford <jeramey@…>

Package set fix

comment:1 Changed 11 years ago by desai

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

Committed in [bd5aebba93fbd67b61d1a6f3ec221bc7e94f1559]. Thanks for the patch.

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.