[wpkg-users] [Bug 79] Major WPKG enhancements, remote logging, doc, internal restructuring

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Fri Nov 9 01:12:23 CET 2007


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


Rainer Meier <skybeam at users.sourceforge.net> changed:

           What    |Removed                     |Added

  Attachment #53 is|0                           |1
           obsolete|                            |




--- Comment #22 from Rainer Meier <skybeam at users.sourceforge.net>  2007-11-09 01:12:00 ---
Created an attachment (id=55)
 --> (http://bugzilla.wpkg.org/attachment.cgi?id=55)
Full package, better debug output, some fixes

OK, I fixed some bugs and modified the install procedure to quickly detect
already intalled packages (even if local wpkg.xml is missing).

Here's the change log:
 * MOD: Modified install procedure. In case a package is not within the local
 *      settings it checks if the package checks return true (package
 *      installed) before it is installed. This was done to prevent re-
 *      installing all packages in case of a lost local wpkg.xml.
 *      Unfortunately this introduces a small chance that in case a new version
 *      is added to the package database AND the local wpkg.xml is deleted AND
 *      the check for the new package yields true for an old installation as
 *      well that the new package does not get installed. However in any case
 *      the next upgrade will fix that.
 *      I still added the changes since the advantages wight much heavier than
 *      the disadvantages of re-installing every package in case of lost local
 *      database.
 *      NOTE: This will not prevent packages without checks to be re-installed
 *      if no package checks are provided.
 * MOD: Revised debug messages printed by installPackage() to allow easier
 *      debugging for errors reported when debug log file is attached.
 * MOD: Installation of dependencies moved to separate function for better
 *      (code re-usage).
 * FIX: Package version comparison caused exception if one of the packages had
 *      no revision defined. Changed getPackageRevision() to return "0" for all
 *      packages where no revision is defined.
 *      Thanks to Falko Trojahn for reporting.
 * FIX: installPackage() returned false (failed installation) in case it found
 *      that a package is already installed (same revision within package
 *      database and wpkg.xml). This was causing dependeny installations to
 *      fail if the dependency was installed already. Fixed, installPackage()
 *      returns true now in case the specified package is already installed.
 *      Thanks to Falko Trojahn for reporting.
 * FIX: Adding a cloned node from package database to settings file instead
 *      of the node directly. Thes lead to the fact that the node disappeared
 *      within the package database and was therefore not available within the
 *      cached database any more. It looks like XML nodes are removed from any
 *      other node when "appended" to another node using appendChild().


-- 
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


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