On Thu, May 29, 2008 at 3:55 PM, Nicolas Williams
<[EMAIL PROTECTED]> wrote:
>        pkg://<repository-server>/<vendor>/<pkg-name>
>
> to mean "<pkg-name> by <vendor> in <repository-server>."

Shouldn't that be

|        pkg://<authority>/vendor/<vendor>/<pkg-name>
|
| to mean "<pkg-name> by <vendor> as published by <authority>."

That is,

   pkg://opensolaris.org/vendor/yoyodyne.com/widget

May be found at http://pkg.opensolaris.org (implied) or
http://mirror.myco.com (explicit), depending on the mapping between
authority and URL used to access packages published by the authority.
This mapping is established at image creation time with the "-a
authority=origin_url" and can be modified with "pkg set-authority -O
origin_url authority".

Whether "/vendor" exists in the name is unclear to me right now (I'd
need to go re-read Stephen's message).

> But since we may have many protocols for accessing a repository we might
> want pkg URLs to support other schemes:
>
>        pkg:///<vendor>/<pkg-name> ->
>                -> "<pkg-name> by <vendor>, as found anywhere, and by
>                    any means"
>
>        pkg://<repository-server>/<vendor>/<pkg-name>
>                -> "<pkg-name> by <vendor> as found in
>                    <repository-server> by any means"

Again, not repository-server.  Here's a snippet from the proposal that
was posted:

http://src.opensolaris.org/source/xref/pkg/gate/doc/pkgs-and-groups.txt

   9     To be consistent with the system, following the introduction of the
  10     fault management architecture, each package is named by an FMRI in
  11     the "pkg:" scheme.  That is, we have
  12
  13     pkg://authority/[EMAIL PROTECTED]
  14
  15     The authority is generally expected to be a forward or reverse
  16     domain name identifying the publisher from which a package can be
  17     retrieved.  Authorities which cannot be determined to be a domain
  18     name are legitimate, but optional functionality, like automatic
  19     server discovery for a particular authority, may fail to work.
  20     In the examples that follow, we use "opensolaris.org" as a generic
  21     authority.

I have tried to clarify things at

http://cr.opensolaris.org/~mgerdts/pkg-names-and-groups/doc/pkgs-and-groups.txt.html

At the beginning of the thread, Stephen said:

|  0.  Terms.  Mike's edits reorganized the definitions a bit and
|      improved them.  Ultimately, these will need to move to a glossary,
|      and into manual page form for the pkg(5) page as well.


-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to