http://bugzilla.wpkg.org/show_bug.cgi?id=79
Rainer Meier <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #63 is|0 |1 obsolete| | --- Comment #41 from Rainer Meier <[EMAIL PROTECTED]> 2007-11-15 01:10:04 --- Created an attachment (id=64) --> (http://bugzilla.wpkg.org/attachment.cgi?id=64) Full package, modified logging, fixed undefined attributes handling After some reports from Falko (thanks a lot!) I was able to improve some more things. Here's a list of changes: * NEW: Modified logLevel parameter. Now acts as a bitmask which allows masking * or unmasking of each severity level in its own. So for example it's * possible mow to print only error, warning and debug by skipping info * messages. * FIX: In case logLevel is set to 0 no output is written. * FIX: getPackageRevision() returns now "0" as a string instead of integer * in case a package node does not have a revision attribute. This caused * the version comparison of packages without revision attributes to fail * since integers cannot be splitted by "." values ;-). * MOD: At initialization only warnings and errors are logged. * MOD: If a zombie package without reference from profile is removed it is * removed from the local DB before a forced reboot (by exit code) takes * place. This is done to avoid endless reboots in case the uninstall * command returns the reboot command each time. Note that this can be * disabled by the /noforcedremove switch. Moreover the package is NOT * forced to be removed if the profile still has a reference to it (even * if it is not within the package database any more). * MOD: Modified some getter methods to return default values for optional * attributes instead of returning null. PLEASE NOTE: ============ It's too late for me to test this version now. I just post it in case you like do try it. I will do some more-detailed tests tomorrow. Sorry for the delay. -- Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ------------------------------------------------------- Easy Software Deployment >> http://wpkg.org _______________________________________________ wpkg-users mailing list wpkg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wpkg-users