[wpkg-users] [Bug 53] One Host, several Profiles
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Tue Nov 20 23:36:41 CET 2007
http://bugzilla.wpkg.org/show_bug.cgi?id=53
Rainer Meier <skybeam at users.sourceforge.net> changed:
What |Removed |Added
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #11 from Rainer Meier <skybeam at users.sourceforge.net> 2007-11-20 23:36:34 ---
Hi all,
I am back again :-)
Mainly for a feasibility study I changed the code to allow an array of
associated profiles to be handled instead of just one. There had been quite
some changes to be done to handle it properly. For the logfile handling it
created a small "problem" that [PROFILE] within the filename-template is
replaced by the associated profile (which could be multiple ones now). So I
decided that in case of multiple profiles they are just concatenated in the
form of
<profile>[-profile[-profile[...]]]
A new version of my redesigned package is available within Bugzilla (see Bug
79). So I am setting this to fixed and close the discussion.
Relevant parts of the Changelog:
NEW: Implemented change to allow multiple profiles to be specified within a
host node (hosts.xml). The entries need to have the following format:
<host name='hostname' profile-id='main-profile'>
<profile id='profile1' />
<profile id='profile2' />
</host>
The legacy "profile-id" is still used and preferred if you refer just
to one single profile. However it is required to specify at least one
valid profile which can be resolved within profiles.xml.
WPKG will quit immediately if no profile can be resolved. Note that
host definitions in the form of
<host name='hostname' profile-id='main-profile' />
are still allowed and preferred. Additionally the following is allowed
as well:
<host name='hostname'>
<profile id='profile1' />
<profile id='profile2' />
</host>
as long as at least one valid profile is referenced.
Please note: If you use [PROFILE] within the logfile-template the
names
of all referenced profiles are concatenated in the form of
<profile>[-profile[-profile]]
Fixes Bug 53.
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Easy Software Deployment >> http://wpkg.org
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list