[wpkg-users] Extended hosts matches

Rainer Meier r.meier at wpkg.org
Fri Mar 26 18:21:30 CET 2010


Hi Daniel,

On 26.03.2010 16:04, Daniel Dehennin wrote:
> Daniel Dehennin <daniel.dehennin at ac-caen.fr> writes:
> 
>> Hello,
> 
> Hello,
> 
>> I saw a patch to extend hosts.xml, what is the status of this patch?
> 
> If found the URL: http://bugzilla.wpkg.org/show_bug.cgi?id=118
> 
>> Is it planned to integrate it in wpkg.js?
> 
> To avoid duplication of work, I announce that I'm working on patching my
> wpkg.js (1.1.3-RC2) to add theses functionalities. coming soon.

Feel free to prepare a patch for a current version of WPKG. Personally I've
expressed many times on the list already why I think the way it's done is not
the right one. A summary:

- LDAP/AD link introduces a new communication channel to wpkg.js which is prone
to errors.
- A lot of non-portable code with quite high potential to break something needs
to be introduced.
- Most users are using WPKG witout AD, so a few users will have to suffer from
bugs introduced for a couple of AD users.
- Export scripts written in Perl are already available to export AD structures
to WPKG XML structures.
- /applymultiple switch introduces complexity and breaks quite a lot of existing
installations if used without caution. Moreover there is no scenario known to me
which cannot be done without this functionality using existing functionality.
- Code posted in Bugzilla is not portable for different AD structures or generic
LDAP servers.


So feel free to create a patch for the current version of WPKG which might be
applied for these users who need it. I am personally OK with the delivery of
this patch even as part of the official shipment but I don't plan yet to
introduce this code in the stable release of WPKG.

For Version 1.2 I plan to restructure quite a lot of code where it might be
possible to extend the functionality - maybe by referring to eternal scripts.

br,
Rainer



More information about the wpkg-users mailing list