On 26 Jun 2008, at 21:09, Danek Duvall wrote:

> On Thu, Jun 26, 2008 at 09:03:08PM +0100, Chris Ridd wrote:
>
>> $ pkgsend -s http://localhost:10000/ open [EMAIL PROTECTED]
>> $ pkgsend -s http://localhost:10000/ include manifest
>> $ pkgsend -s http://localhost:10000/ close
>> PUBLISHED
>> pkg:/[EMAIL PROTECTED],5.11:20080626T205448Z
>>
>> Note the version reported back is 1.1, not 1.01. The repo reports the
>> version is 1.1 as well.
>>
>> Where's my leading zero gone?
>
> Each number between the dots (new fortune cookie reading?) is  
> treated as an
> integer, so leading zeros are dropped.

That seems like it might be a bit too simplistic, but maybe having a  
leading zero inside a version string is asking for trouble anyway.

> Is there a 1.1 version that's different from 1.01?

Not yet, nor is there a 1.10 yet.

> We've talked about having a "human readable" version that can be an
> attribute on a package, which would allow for letters and other fun  
> things
> in a displayed version, but you'd only see that in "pkg info", and  
> not in
> any fmri display.

It is also quite important to be able to compare the versions of two  
packages for ordering purposes.

Cheers,

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

Reply via email to