Bugzilla – Bug 2691
ability to publish packages to local disk repository
Last modified: 2009-02-18 11:32:04 UTC
You need to log in before you can comment on or make changes to this bug.
There is a need to be able to publish packages directly to a local repository without having to start a depot server. This is useful in an automated build system to avoid having to start and stop the depot server. The idea is that this would work something like this: pkgsend -s file:///path/to/repodir open fmri Whether this causes the pkgsend client to start up a special daemon to serve the repository via a local socket, or it just uses a special class to mount the repository and manipulate it, is up for discussion. This issue is similar to issue 2660 except it is for the publishing side.
OTOH, it seems a more general solution is to get the IPS file format defined since many other use cases also need that. Once defined, builds can simply produce a *.ips (or whatever) file directly, so the current need to "publish" during a build goes away (since that need is just a workaround for the lack of a file format).
(In reply to comment #1) > OTOH, it seems a more general solution is to get the IPS file format defined > since many other use cases also need that. Once defined, builds can simply > produce a *.ips (or whatever) file directly, so the current need to "publish" > during a build goes away (since that need is just a workaround for the lack of > a file format). I would not assume that publishing will go away when there is a defined file format for packages. Publishing may go "direct to disk" instead of through a web server; but there will still be publishing tools involved.
Will be starting this work soon.
This has actually already been in progress for over a week now. Implementation is true to what was described in comment 0.
Implemented in changeset 873 / b95d76c53b5eeece7335982e3ccf7047770decc4.