By ckamps on Mar 15, 2009
The UC2 development team is pleased to announce the availability of build 23 of the pkg(5) toolkit. New features in this build include:
- a new drop of the pkg(5) software (see below)
- a script for manifest file creation
- a new threading model in the updatetool GUI to make it more responsive at startup and during network operations
- refresh list is now in the right click menu
As with the previous build, there was quite a bit of bug fixing. This build resolves 36 issues beyond what was available in the previous build.
new threading model in updatetool causes networks operations such as
updating the catalog and retrieving manifests to be performed in a
background thread. This keeps the user interface active even though
the program is waiting for data from the server. This change also
changed the startup behavior of updatetool. In the past, updatetool
would check for updates on the selected image and display the available
updates panel if any were available, and if not, it would display the
available add-ons panel. This required quite a few network operations
and results in updatetool starting slowly. With the change, updatetool
now display the summary panel for the image, and the user is able to
select what detailed panel to display.
The new drop of pkg(5) is based on revision 897 (Feb 20, 2009) of the pkg(5) repository gate. This is the first time that the pkg(5) software has been resynced with the gate in the 2.2 development cycle. This drop includes the following significant features and bug fixes over what was in 2.1:
- Support for variants. A variant allows the
creation of so-called "fat" packages that include binaries for both
OpenSolaris x86 and SPARC. When the package is installed, only the
files for the desired architecture are downloaded and installed on the
target. The variants feature can also be used for other features such
as debug vs. non-debug. The Update Center project intends to use this
feature for operating system variants as well.
- The pkg.depotd process can serve SSL/HTTPS directly (without an Apache front-end) if desired
- The intent information that is sent to the server when manifests are requested now propertly includes information about the currently installed version of a package for an update.
- The pkgsend command now supports publishing to a local disk repository without having to run pkg.depotd. To do this, use a file URL rather than an HTTP URL. One still cannot create a new repository without running pkg.depotd (that is coming later).
- Checking of pkgsend arguments has been improved.
- The output from the Windows pkg(1) command now includes progress information.
- When running on Windows, pkg(5) now correctly detects if a file is in use when deleting a package.