PET is not working properly
Hi.
I noticed that PET is not showing the most recent version in the Archive
column. For example, the most recent version of gtk2hs in sid is 0.10.1-4, but
PET is showing 0.9.13-5. Notice that this version, and 0.10.1-3, are also
available in Sources.gz, I don't know why. It seems that it's gettings the
last version in the file.
I don't know much perl and I don't know much about PET, but I think something
like this may fix the issue:
--- Archive.pm~ 2010-02-16 11:36:57.000000000 -0200
+++ Archive.pm 2010-02-16 12:25:09.000000000 -0200
@@ -203,6 +203,7 @@
@b_d_i = split(/\s*,\s*/, $b_d_i) if($b_d_i);
@maint = split(/\s*,\s*/, $maint) if($maint);
@upldr = split(/\s*,\s*/, $upldr) if($upldr);
+ $ver = $vers{$pkg}{ver} if deb_compare $vers{$pkg}{ver}, $ver > 0;
$vers{$pkg} = {
ver => $ver,
b_d => \@b_d,
Greetings.
--
marcot
http://marcot.iaaeee.org/
Reply to: