[wpkg-users] [Bug 121] New: additional EXCLUDES node for profiles
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Wed May 28 20:45:46 CEST 2008
http://bugzilla.wpkg.org/show_bug.cgi?id=121
Summary: additional EXCLUDES node for profiles
Product: WPKG
Version: 1.1.x-M
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: enhancement
Priority: P2
Component: wpkg.js
AssignedTo: mangoo at wpkg.org
ReportedBy: sebene at u.washington.edu
QAContact: wpkg-users at lists.wpkg.org
Created an attachment (id=119)
--> (http://bugzilla.wpkg.org/attachment.cgi?id=119)
wpkg.js updates
I have updated wpkg.js to include support for an EXCLUDES node within
profiles.xml. This option allows nodes of the type
<excludes package-id="NAME"/>
to be included in a profile, and will strip instances of that package from the
list of packages applied to the profile after that list is created. For
instance, if you had a profile:
<profile id="student">
<depends profile-id="web"/>
<excludes package-id="firefox"/>
</profile>
All packages within the "web" profile will be installed *except* firefox.
Since Firefox will not be on the list of packages to have on the machine, if it
is present in the current machine, it will be removed.
I have attached the functions that I modified in wpkg.js. The specific changes
are two sections between the comments "BEGIN SEBENIUS EDIT" and "END SEBENIUS
EDIT". The first edit is the addition of the getExcludeIDs() function, and the
second edit is an addition to the getProfilePackageNodes() function to
appropriately modify the package list.
--
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