On 06/27/10 10:22 PM, Frank Batschulat (Home) wrote:
On Mon, 28 Jun 2010 06:49:03 +0200, Shawn Walker<[email protected]>  
wrote:

On 06/26/10 09:25 AM, Frank Batschulat (Home) wrote:

is that really supposed to work ?

(btw, I run across this when I wanted to change the URI for the exiting
publisher...)

jette.batschul./home/batschul.=>   pkg publisher
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org          (preferred)  origin   online   
http://pkg.opensolaris.org/dev/

try to change the URI:

jette.batschul./home/batschul.=>   pfexec pkg set-publisher -g 
http://ipkg.sfbay/dev/ opensolaris.org

gave me this:

ette.batschul./home/batschul.=>   pkg publisher
PUBLISHER                             TYPE     STATUS   URI
opensolaris.org          (preferred)  origin   online   http://ipkg.sfbay/dev/
opensolaris.org          (preferred)  origin   online   
http://pkg.opensolaris.org/dev/

this certainly does not look right, no ?

A publisher is simply the identity of a group, organisation, etc. that
provides packages.

http://ipkg.sfbay/dev/ is an *origin*, or in simpler terms, the location
of a package repository that provides package data for the
'opensolaris.org' publisher.

It is intended that a publisher can have multiple origins.

As such, this is the expected behaviour.

ah, thanks, was just wondering/confused.

I'd assume that no problems would arise from the fact that
in the example above the 1st origion provided packages based on build 142
while the latter provided packages based on build 134 ?
ie. no possibility to end up with some sort of mix ?

Currently, it would cause you problems because the assumption is that all origins for a publisher have the same package content. The multiple origins support is intended for use with http://pkg.opensolaris.org/dev, http://pkg-eu2.opensolaris.org/dev, etc.

In the future, it is hoped that the client can aggregate the package data from multiple repositories even when they don't have the same set of package data and "Do The Right Thing(TM)".

Cheers,
-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to