Gentoo Archives: gentoo-dev

From: Marius Mauch <genone@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Undefined cases in version policy
Date: Sat, 28 Feb 2004 00:47:17
1 Hi there,
3 as I was rewriting the code used for verifying and comparing versions I
4 noticed a case that's not covered in the docs, let's use the example
5 where foo has the following versions available:
6 foo-1.0b
7 foo-1.0.1
8 Now the question is: Which version is considered newer?
9 As I had no idea and though that we didn't have this case in the tree I
10 started a small poll in #gentoo-dev and achieved a 4:0 vote for foo-1.0b
11 being newer than foo-1.0.1, so I went on and implemented it this way.
12 Now while testing I noticed that a) current code handles this the other
13 direction and b) we actually have 2 packages that are affected by this:
14 app-arch/arj and media-video/kavi2svcd.
16 So I'm sending this mail to get some more opinions about this. If anyone
17 is curious, the actual code and test scripts are on bug #37406.
19 Marius
21 --
22 Public Key at
24 In the beginning, there was nothing. And God said, 'Let there be
25 Light.' And there was still nothing, but you could see a bit better.


Subject Author
Re: [gentoo-dev] Undefined cases in version policy Jay Maynard <jmaynard@××××××××.cx>
Re: [gentoo-dev] Undefined cases in version policy Georgi Georgiev <chutz@×××.net>
Re: [gentoo-dev] Undefined cases in version policy Marius Mauch <genone@g.o>