Greetings,
The following webrev contains the following changes to implement package
archive support:
2152 standalone package support needed (on-disk format)
6576 pkg support for temporary publisher origins desired
15450 pydoc for pkg.client.api needs to document reset usage
requirement
17761 repository append operation erroneously includes append file
when closing transaction
17762 signing certs added to a repository do not have correct file
permissions set
17786 .hgignore needs update for coverage
17787 api should allow publishers without origins
17788 pkg should allow relative paths and not require URI syntax for
repositories
17789 pkg(1) arrangement and wording could be improved
webrev:
======
http://cr.opensolaris.org/~swalker/pkg-arc/
Examples (already in pkg(1) in some form)
========
To create a package archive containing one or more packages:
pkgrecv -s <src_repository_or_archive> -a -d <new_archive_name> <pkgs>
To install a package from an archive:
pkg install -g /path/to/archive.p5p <pkgs_to_install>
To list the packages in an archive that can be installed:
pkg list -g /path/to/archive.p5p
To list all packages and all versions regardless of platform (i386, sparc):
pkg list -g /path/to/archive.p5p -f
To list all of the packages in a repository:
pkg list -g http://example.com/repository -f
pkg list -g /path/to/repository -f
Notes
=====
* Filesystem paths to repositories no longer require 'file://', and can
be relative to the current working directory.
Example:
pkg set-publisher -p /path/to/repository
cd /path/to
pkg set-publisher -p repository
* Publishers are not required to have origins.
* zone creation, detach, and attach were tested
* a 'pkg update' of my own system to build 157 was checked
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss