Bug#354307: packages.qa.debian.org/m/mydsn.html has weird sorted news
On Sun, 27 Jan 2008, Stefano Zacchiroli wrote:
> On Sat, Jan 26, 2008 at 06:21:16PM +0100, Raphael Hertzog wrote:
> > targetfile = "%s/%s.0.txt" % (dir, info['timestamp'])
> > At least it'll fix the sorting order...
>
> Yes, but it will add the ".0" to all files. While not using it we will
> have the extra digit only when needed, which I hope are exception rather
> than rules. If you really want to have the sorting fixed (which, let me
> insist, should be not that relevant, given that all the mails we are
> talking about have been sent in the very same second) I prefer to use a
> custom sorting function.
Do you really find the URL nice enough to worry for a .0 ? I believe the
sorting to be important because even if it's the same second, I think they
are sent in order of increasing versions. And it wouldn't be nice to see:
Accepted 1.0-1
Accepted 1.0-3
Accepted 1.0-2
Cheers,
--
Raphaël Hertzog
Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/
Reply to: