Re: [udd] missing bugs
On 21/01/10 at 14:16 -0800, Don Armstrong wrote:
> On Fri, 22 Jan 2010, Lucas Nussbaum wrote:
> > On 21/01/10 at 12:22 -0800, Julius Davies wrote:
> > > Hi,
> > >
> > > Some bugs are missing from the UDD, for example
> > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471445 .
> > >
> > >
> > > udd=> select id from all_bugs where id = 471445 ;
> > > id
> > > ----
> > > (0 rows)
> > >
> > >
> > > I'm using a local replica.
> >
> > Some bugs are missing in UDD. We basically are using the following code,
> > but it doesn't list bug #471445.
> >
> > foreach my $b (get_bugs()) {
> > print "UNARCH ",$b,"\n";
> > }
> > foreach my $b (get_bugs(archive => 1))
> > {
> > print "ARCH ",$b,"\n";
> > }
> >
> > What should we do differently?
>
> I'm not sure how you're importing the bugs. 471145 is selected just
> fine when you run 'bts status 471145'; on it.
The full code of the bugs importer is available on
http://svn.debian.org/wsvn/collab-qa/udd/udd/bugs_gatherer.pl.
Basically, we use Debbugs::Bugs::get_bugs() or
Debbugs::Bugs::get_bugs(archive => 1) to get all the bugs we want to
import.
fter that, we use Debbugs::Status::read_bug() and
Debbugs::Status::get_bug_status() to fetch the information we want to
import.
The problem is that 471145 doesn't show up in Debbugs::Bugs::get_bugs()
or Debbugs::Bugs::get_bugs(archive => 1).
--
| Lucas Nussbaum
| lucas@lucas-nussbaum.net http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr GPG: 1024D/023B3F4F |
Reply to: