On 11/21/11 15:03, Danek Duvall wrote:
Brock Pytlik wrote:

* source - This contains the file or service which needs the target.
(This is equivalent to pkg.debug.depend.reason in generated
dependencies.) This can be specified more than once. Each file or service
provided must be delivered in the same manifest as the dependency.
I'd rather not require source or reason attributes -- I think it raises the
barrier to using this construct sufficiently that either people will put in
useless data (reason="because I said so") or they simply won't use it,
which I think would be sad.  I do think it'd be appropriate to have pkglint
support for enforcing the use of it, though, so we can make sure that folks
contributing to Solaris consolidations do use it properly (with code
reviewers and RTI advocates making sure that silly reasons aren't used).
Ok, I can buy that.
Should we keep kind, or should target and source just use schemes to
identify the kind of thing they're referencing?
I'd lean towards merging kind and target and simply requiring a full FMRI
and assuming a file path if there's no scheme.
Sounds reasonable.
Do we need to allow users to specify path and basenames separately
(like generate does) or is allowing multiple full paths sufficient?
Can target be a relative path to source?
Do you have a use case for either?

The use case for the former is mostly less typing in some situations.
I don't particularly have one for the later, but it was something that came up when Tim and I were discussing that we didn't have a clear feeling on.

Brock

Danek

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

Reply via email to