[wpkg-users] [Bug 117] New: Dependencies ignore priority
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Fri May 9 13:15:45 CEST 2008
http://bugzilla.wpkg.org/show_bug.cgi?id=117
Summary: Dependencies ignore priority
Product: WPKG
Version: 1.0.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: wpkg.js
AssignedTo: mangoo at wpkg.org
ReportedBy: rl201 at cam.ac.uk
QAContact: wpkg-users at lists.wpkg.org
Created an attachment (id=117)
--> (http://bugzilla.wpkg.org/attachment.cgi?id=117)
Fix to the above problem
Let packageA depend on packageB.
Let packageB have a *lower* priority than packageA.
Installing packageA tries to install packageB *before* trying to install
packageA. I consider this wrong! (That's the whole point of priorities,
surely.)
Here's a patch to fix it: to install a single package, calculate all the
dependent packages (recursively) and form a list (including the original
package). Sort by priority, then work through the list installing packages. To
synchronize, find the list of packages to be installed, calculate all the
dependent packages (recursively) and form a list (including the original
packages). Sort and install as before.
Frank
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the wpkg-users
mailing list