Martín Ferrari wrote:
[...]
> 
> If it's of any use, the PET project has a implementation from scratch
> of Debian version comparison, made by reading policy and dpkg code.
> The only bug I know of is that it doesn't reject some invalid
> versions.
> 

To be more precise:

$ ./test pet.pl
pet.pl failed test 'foo- foo 0'/tests/foo with '1'
pet.pl failed test 'foo- foo+ -1'/tests/foo with '1'
pet.pl failed test '1foo:bar 1:bar x This is a syntax violation so the result
is "undetermined" but shouldn't be any of these: -1 0 1'/tests/foo with '-1'
pet.pl failed 3 over 731 tests

@Martín[OT]: hope you can find some time to write an email, probably addressed
to [EMAIL PROTECTED], about your proposed version=4 watch files; as I'm
about to write down my proposed "watch file format" specs.

Cheers,
Raphael Geissert


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to