Hi,

[Redirecting from on-ips-dev per Liane's suggestion]

Other than the brief description in pkg(5), does there exist
a specification of the pkg FMRI as used in IPS?

I am attempting to update the FMA protocol specification, which
is what (originally) defined FMRIs.  It already has a
"pkg" scheme FMRI for svr4-style packaging, specified as:

Member          Data type       Description
--------------- --------------- ------------------------------
scheme          string          "pkg"
version         uint8           0 for version 0
authority       authority       Authority information (see ...)
pkg-basedir     string          Base install directory of package.
pkg-inst        string          Base install directory of package.
pkg-version     string          Base install directory of package.

For IPS packages I'd like to capture a definition for "pkg"
version 1 along the lines of the above, to include:

pkg://opensolaris.org/library/[email protected],5.11-0.75:20071001T163427Z

 - member names and data types; these, of course, aren't
   necessarily rendered in the string form of a package
   but we use them when we represent an FMRI as say an nvlist_t

 - which are required/optional

 - what authority information can ever appear; just publisher
   string?

 - should the version string be represented simply as a full
   string "5.11,5.11-0.75:20071001T163427Z" (are all the elements
   always present?) or should we break out into subcomponents
   branch/version/timestamp etc?

 - rule for rendering a versioni 1 pkg fmri in string form
   given a name-type-value list

If no spec exists I can quickly put one together given answers
to the questions above.

Thanks

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

Reply via email to