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

Bug#354307: packages.qa.debian.org/m/mydsn.html has weird sorted news



On Sat, 26 Jan 2008, Stefano Zacchiroli wrote:
> On Fri, Jan 25, 2008 at 08:05:01PM +0100, Stefano Zacchiroli wrote:
> > Moreover, and that's the main point of this report, it seems that the
> > last time the clash happened was January 2006, no other clashes in 2007
> > nor 2008. Is it possible that the issue has been solved elsewhere and
> > the clash no longer happens?
> 
> And indeed this diff explains the reason:
> 
>   zack@aquarium:/srv/debian/pts/www/bin$ svn diff -r1281:1282 common.py|grep -C 2 raise
>   +    targetfile = "%s/%s.txt" % (dir, info['timestamp'])
>   +    if os.path.isfile(targetfile):
>   +        raise("Aiee, already such message %s" % targetfile)
>   +    f = open(targetfile, "w")
>        f.write(msg.as_string())
> 
> it is dated February 2006. So, starting from there on, duplicate news
> are refused on the basis of its timestamp alone.
> 
> I will then get rid of duplicates and see what to do with the other
> strange files ...

Note that this behaviour should be fixed. It happens that dak send several
Accepted mails during the same second for example when the package gets
out of NEW and when several upload happened while the package was sitting
in NEW.

I remember neuro complaining about getting bounces on those cases. Jeroen
never got around to fix that.

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/



Reply to: