[wpkg-users] [Bug 217] Add host properties to local wpkg.xml file

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Sat Jul 9 18:05:10 CEST 2011


http://bugzilla.wpkg.org/show_bug.cgi?id=217

--- Comment #3 from Rainer Meier <r.meier at wpkg.org>  ---
Fixed in latest SVN. Moreover I had to introduce a config switch in order to
fix the issue that this change did in fact break all the test cases which
compare wpkg.xml. As it is host-specific now (including hostname, IP etc.) it
would require a much more advanced parsing and comparing of wpkg.xml.
As an intermediate solution I've therefore provided this switch to disable this
feature.

NEW: Added host attributes to <wpkg /> node of local settings file (wpkg.xml).
     This allows analysis tools to get some more host information without
     having to parse the log files. Example node:
     <wpkg
       hostname="admin-pc"
       architecture="x64"
       os="microsoft windows 7 professional, , , 6.1.7600"
       ipaddresses="192.168.1.30"
       domainname=""
       groups=""
       lcid="807"
     />
     Fixes bug 217. Thanks to Stefan Pendl.
     Update: This change did have a huge impact on test cases as wpkg-test
     performs 1:1 comparison to expected wpkg.xml files. As a result all checks
     fail. To work-around this issue unless the tests are updated I have
     introduced a configuration switch in config.xml:
       settingsHostInfo=true
     If set to false, then WPKG will not write host attributes to local
     wpkg.xml database.


br,
Rainer

-- 
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