]] Dmitrijs Ledkovs | 2009/2/15 Gunnar Wolf <gw...@gwolf.org> | > | > Tollef Fog Heen dijo [Sat, Feb 14, 2009 at 06:42:37PM +0100]: | > > | when i've had to do this in the past i think i did something like | > > | <vers>~<YYYYMMDD>.git.<sha>. this way you get lots of relevant info, the | > > | fact that it's a prerelease of <vers>, the date the snapshot was taken, | > > | the fact that it's a git snapshot, and the sha sum. and of course it's | > > | sortable. | > > | > > If you use $vers~$ymd.git.$sha or something like that, please do make | > > sure the version number slightly bigger than zero. Having version | > > numbers that are positive and less than 0 sometimes breaks tools. | > | > Given that I kept staring at your message thinking something just went | > wrong, I suppose somebody else might fall in that logic trap: How can | > something be "positive but not bigger than zero"? 0~20090215 is. Nice | > math-breaking rules we had to introduce here :)
Yes, it's quite confusing. | Is it the -0 from the limits theory???? =D | | Or -0 is negative? No. It's a positive (version) number smaller than both -0 and 0. (To make matters worse, there's not just one of those, there's an infinity of them (0~1 is also smaller than 0, so is 0~n for all n). I think the fix here is «don't think the version number is a normal number», because it isn't. -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its friends are -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org