Hi, Am Dienstag, den 16.02.2010, 12:26 -0200 schrieb Marco Túlio Gontijo e Silva: > 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.
This could be change in the archive handling, it seems to retain all
versions in the sources where there is a binary version for (which makes
sense).
> 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,
I’m replying to the pet-devel list, maybe one of the PET developers can
comment on this.
Greetings,
Joachim
--
Joachim "nomeata" Breitner
Debian Developer
[email protected] | ICQ# 74513189 | GPG-Keyid: 4743206C
JID: [email protected] | http://people.debian.org/~nomeata
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
