Your message dated Sat, 5 Dec 2015 22:46:32 +0100 with message-id <[email protected]> and subject line Re: Bug#807073: tracker.debian.org: duplicate news entries has caused the Debian Bug report #807073, regarding tracker.debian.org: duplicate news entries to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 807073: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807073 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: tracker.debian.org Severity: normal Dear Maintainer, there seems to be a recent regression in the handling of news, causing duplicates. Packages migrating to testing now produce three news entries like e.g. [1-4]: "[2015-12-04] ffmpeg 7:2.8.3-1 MIGRATED to testing (Debian testing watch)" It only produced one news entry for the last migration ten days ago. This problem also affects e.g. exim4, libpcap and openjdk-8. Best regards, Andreas 1: https://tracker.debian.org/pkg/ffmpeg 2: https://tracker.debian.org/news/729911 3: https://tracker.debian.org/news/729983 4: https://tracker.debian.org/news/730033
--- End Message ---
--- Begin Message ---On Sat, 05 Dec 2015, Niels Thykier wrote: > > Once this is fixed I'll try to clean up the duplicate news entries. > > BCC removed. Thanks, and I dropped the duplicate news now. Just for the record, I use this small bit of Python and it actually cleaned up many old duplicates too... all_dup = News.objects.extra({'day':'date(datetime_created)'}).values('package_id', 'package__name', 'day', 'title').annotate(Count('title'), Min('id')).filter(title__count__gt=1) for dup in all_dup: News.objects.filter(title=dup['title'], package_id=dup['package_id'], datetime_created__gt=dup['day'], datetime_created__lt=dup['day']+datetime.timedelta(days=1)).exclude(id=dup['id__min']).delete() Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: http://www.freexian.com/services/debian-lts.html Learn to master Debian: http://debian-handbook.info/get/
--- End Message ---

