hey all,
as discussed with bart and shawn, i created a new linked images
workspace in which i updated the linked images code to use a new package
dependency type instead of a constraints package.
i haven't updated my documentation yet to reflect the new design (this
will be done pending a nod of approval on these changes), but here's a
quick summary of the notable changes.
- removed the "packaging" publisher, the constraints packages, and the
"ku-sync" attribute
- addition of a "depend=parent" type dependency. the fmri specifier is
optional in this dependency, if it's not specified the fmri is assumed
to be equal to the package fmri which contains the dependency action.
this new dependency uses "incorporate" dependency fmri version
matching semantics.
- removed all transport.py and catalog.py changes
- reducing the amount of "magic" in image.py and elsewhere to
manage the "packaging" publisher.
- removing a lot of complexity in the linked images code around managing
the "constraints" package.
- removed one command line option
the changes have resulted in a net reduction in code and complexity and
seem like a good improvement to me. i'd like to get a quick review of
this new dependency type and constraint management approach, and if
folks think this looks like an improvement then i'll push this to my
gate. webrevs can be found here:
Full diffs against the package gate:
http://cr.opensolaris.org/~edp/pkg-li.dev.20110328.0.full
Diffs against the linked image gate:
http://cr.opensolaris.org/~edp/pkg-li.dev.20110328.0.diff
if folks would like to discuss this in person i'll be in the office
tomorrow.
thanks
ed
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss