On Wed, Apr 22, 2009 at 03:39:43PM -0500, Shawn Walker wrote:

> Tom Mueller wrote:
>> Shawn Walker wrote:
>>> pkg install [email protected]
>>> -- installs the latest build_release, branch and timestamp for a 1.0 
>>> release of foo and fails if it cannot
>> If the repository has [email protected], [email protected], [email protected], [email protected], and 
>> [email protected], 
>> I think I'd like to have
>>
>> pkg install [email protected]
>>
>> give me [email protected]. If I really want [email protected] in this case, I'd like to 
>> specify more information, possibly including the timestamp.
>
> I'm not certain.
>
> That seems like "fuzzy matching" on a version component, and lacks clear 
> intent on the part of the user.

Perhaps, but it does match the way dependencies work.  It makes a lot of
sense to me -- "install a 1.0 product, but if it's been patched up to ..4,
then install that".  Like "pkg install [email protected]" gives you [email protected].
Why not?  We've talked about version syntax that would force an exact
match, but in this case, it could simply be a flag to pkg install.

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

Reply via email to