[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 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 ...

Cheers.

-- 
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
zack@{upsilon.cc,cs.unibo.it,debian.org}  -<%>-  http://upsilon.cc/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time



Reply to: