Bug 2691 - ability to publish packages to local disk repository
: ability to publish packages to local disk repository
Status: RESOLVED FIXINSOURCE
Product: pkg
pkgsend
: unspecified
: ANY/Generic All
: P3 enhancement (vote)
: ---
Assigned To: Shawn Walker
: pkg/pkgsend watcher
:
:
:
:
: 5946 6572 6573 6574
  Show dependency treegraph
 
Reported: 2008-07-28 11:07 UTC by Tom Mueller
Modified: 2009-02-18 11:32 UTC (History)
1 user (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Tom Mueller 2008-07-28 11:07:48 UTC
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.
Comment 1 jyri.virkki 2009-01-13 19:10:02 UTC
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).
Comment 2 Shawn Walker 2009-01-14 11:12:47 UTC
(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.
Comment 3 Shawn Walker 2009-01-14 12:10:50 UTC
Will be starting this work soon.
Comment 4 Shawn Walker 2009-01-30 10:31:51 UTC
This has actually already been in progress for over a week now.

Implementation is true to what was described in comment 0.
Comment 5 Shawn Walker 2009-02-13 12:08:31 UTC
Implemented in changeset 873 / b95d76c53b5eeece7335982e3ccf7047770decc4.