[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#782849: debsources: "latest" openldap sources reported as woody



On Sat, Apr 18, 2015 at 09:15:15PM +0200, Helmut Grohne wrote:
> The reason is that the openldap version history is non-monotonic (even
> considering epochs). There was a time when openldap was maintained in
> openldap-X.Y and thus for a few releases there was no
> src:openldap. When reintroducing src:openldap a lower version was
> picked.
> 
> This certainly is a corner case, but it would be nice if the "latest"
> would work nonetheless.

Agreed. And thanks for this bug report.

A proper, but really cumbersome, solution for this one would be
introducing a table of version comparison overrides, keeping track of
corner cases like this one. That would be quite gross though, and it's
not even clear to me that we have a way to extract the information to
feed it from the archive, short of adding entries one by one as soon as
some user hit them.

An easy workaround would be to sort first by release, and then by
version, which would solve most occurrences of this problem, I think.

Thoughts?
-- 
Stefano Zacchiroli  . . . . . . .  zack@upsilon.cc . . . . o . . . o . o
Maître de conférences . . . . . http://upsilon.cc/zack . . . o . . . o o
Former Debian Project Leader  . . @zack on identi.ca . . o o o . . . o .
« the first rule of tautology club is the first rule of tautology club »

Attachment: signature.asc
Description: Digital signature


Reply to: