[wpkg-users] [Bug 154] fasdj = new Array();

bugzilla-daemon at bugzilla.wpkg.org bugzilla-daemon at bugzilla.wpkg.org
Sun Apr 12 14:21:01 CEST 2009


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





--- Comment #4 from Rainer Meier <r.meier at wpkg.org>  2009-04-12 14:20:55 ---
Created an attachment (id=139)
 --> (http://bugzilla.wpkg.org/attachment.cgi?id=139)
Latest milestone testing release

Change notes
============
WPKG Version: 1.1.0-M21
Author:     : Rainer Meier <skybeam (at) users.sourceforge.net>
Date        : 2009-04-11
Status      : Not released yet

Changes/fixes visible to the user:

Summary:
- Show useage if executed without parameter.
- Unnecessary null-reference check removed from getPackageChecks() method.
- Updated help and config.xml (grammar and consistency fixes). Fixes Bug 116.
- Updated XSD to support installdate & uninstalldate package attributes.
- Changed exit behavior in case of overridden reboot (exits with 3010 << 8).
- Fixed invalid env-splitting.
- Fixed environment setup.
- Fixed package ID reading bug wen reading profile.
- Fixed recursive dependency tree build.
- Fixed crash when profile did not havree any packages assigned.
- Show usage when no parameter is given
- improved documentation
- Migrated code to work with Eclipse JSDT
- Fixed typo when reading fixed IP addresses from registry
- Added possibility for package chaining
- Fixed removal of dependent packages. Fixes Bug 150.
- Fixed typo in removal message. Fixes Bug 151.
- Fixed more typos in output messages. Fixes Bug 152.
- Fixed environment setup for remove commands. Fixes Bug 146.
- XSD fixes
- Fixed multi-dependency removal. Fixes Bug 153.
- Added flushing of STDOUT and STDERR during exec(). Fixes Bug 123.
- Fix writing null value to system log fails. Fix for Bug 135.
- Removed unused varialble. Fix for Bug 154.


NEW: Shows usage if executed without parameter (instead of just throwing an
     error and exiting).
FIX: In case a command is executed which does not exist (WScript.Shell.exec()
     throws exception) WPKG does not immediately terminate.
FIX: Removed unnecessary check for undefined checks in getPackageChecks()
     method. It seems that selectNodes(String) never returns null but instead
     returns empty collection.
FIX: Updated help and config.xml with grammar and consistency fixes as proposed
     by Jens Geile. Thanks Jens. Fixes Bug 116.
FIX: Updated XSD to suppport installdate and uninstalldate package attributes.
     The attributes have been missing from the XSD definition.
MOD: Changed behavior of wpkg.js again in case reboot is overridden.
     Previously it was exiting with exit code 3010 but this caused WPKG client
     to initiate a reboot immediately after wpkg.js terminated.
     Now WPKG returns code 3010 << 8 (3010 bit-shifted by 8 bits to the left)
     which evaluates to a decimal value of 770560. This allows an external
     tool to verify if a reboot was initiated but overridden.
     If you would like WPKG to exit with code 3010 without issuing a reboot
     consider to specify a reboot command within the configuration
     (see rebootCmd in config.xml or /rebootcmd: switch) which points to a
     script which does not do anything. In this case WPKG executes the script
     (e.g. reboot.cmd) and then exits with code 3010.
     This was discussed in Bug 132.
FIX: Fixed invalid env-splitting introduced in earlier pre-release version.
FIX: Fixed environment setup for package install/remove/upgrade.
FIX: Package IDs wrongly read from profile.
FIX: Fixed recursive dependency tree build introduced in previous milestone
     checkin.
FIX: Fixed error if profile does not have any packages assigned.
NEW: Shows usage if executed without parameter (instead of just throwing an
     error and exiting).
MOD: Improved documentation.
MOD: Updated source to be readable by Eclipse JSDT. This will be my primary
     development environment now.
     The change already helped me to identify a bunch of unused code and to
     improve code quality in general.
MOD: Fixed typo when reading fixed IP adresses from registry. It looks like
     it did not have any effect on the functionality.
     Changed
     var fixedIPs = getRegistryValue(regBase, "IPAddress").toArray();
     to
     var fixedIPs = getRegistryValue(regBase + "IPAddress").toArray();
     Thanks to Alan for reporting it.
NEW: Added possiblity to chain packages. Use the following synatx:
         <chain package-id="some-id" />
         A chained package is pretty much similar to the
         <depends package-id="some-id" />
         functionality but chained packages are installed right after the
package
         which specifies the chain.
         Personally I prefer to set a dependency on the "chained" package to
assure
         that the "chaining" package is installed _before_ the package which
         depends on it.
FIX: Fixed removal of package dependencies by fixing up removePackage() return
     value. Anyway by definition it should return the success state according
     to the documentation which was not the case yet.
     Fixes Bug 150. Thanks to Jason Oster.
MOD: Modified message when removing depending package from
     Removal of depending package package '<package-id'> ...
     to
     Removal of depending package '<package-id'> ...
     Fixes Bug 151.. Thanks to Jason Oster.
MOD: Changed misspelled word "referemces" to "references"
     Changed quoting in "Removal of <package> successful." message.
     Fixes Bug 152. Thanks to Jason Oster.
FIX: Fixed loading of package-specific environment for remove commands.
     Previously environment variables set for a package have been unavailable
     to remove commands.
     Fixes Bug 146. Thanks to Jason Oster.
FIX: Fixed packages.xsd - type of some elements was wrongly set to String.
     Now correctly refers to packageReference where appropriate
     (chain, depends, include).
     Fixed 'type' attribute of 'check' element to be specified in lower case.
FIX: Fixed possible errors when a package is removed twice during the same
     session. This could happen if a package depends on multiple other
     packages which are removed during a WPKG session.
     Fixes Bug 153. Thanks to Jason Oster.
MOD: Added flushing of STDOUT and STDERR during exec(). Due to strange
     behavior of WSH a command might block if the buffer for STDOUT/STDERR
     is full. Now WPKG flushes this buffer every second and prints its
     contents to the debug log. This also allows you to see the console
     output of the executed command if any.
FIX: Writing log events to event log with null value might fail due to the
     fact that WshShell.logEvent() method does not accept null values
     directly. Now the string "null" will be logged in such case.
     Fixes Bug 135.
FIX: Unused Array removed from getPackageDependencies() function. Seems to be
     some left-over from a testing session.
     Fixes Bug 154. Thanks to Jason Oster.


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