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

Bug#549439: pkgreport.cgi - internal server errors when using include= parameter



clone 549439 -1
retitle -1 propogate users= cgi option to further queries in pkgreport.cgi
clone 549439 -2
retitle -2 some include options screw up the summary counts in pkgreport.cgi
thanks


On Mon, 05 Oct 2009, Vincent.McIntyre@csiro.au wrote:
> sure, I realised I could use that method. However I was interested
> to check whether for example this URL (taken from [1]) would/could
> ever work:
> http://bugs.debian.org/cgi-bin/pkgreport.cgi?maint=debian-boot@lists.debian.org;include=alpha
> which amounts to wondering what the include= keyword does for you.

I don't know who wrote that url, but presumably what they were
actually looking for was
http://bugs.debian.org/cgi-bin/pkgreport.cgi?maint=debian-boot@lists.debian.org;include=tags:alpha

> What form would be most useful?
> A distinct file or a patch to e.g. [2]?

It actually will have to be entirely new html documentation, ideally
written in wml against the web pages, which you can see in the webwml
CVS repository for the Debian website. The documentation in 2 is
really outdated, and I haven't been keeping it up to date.
 
> I tried the obvious
>   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=214790;users=debian-boot@lists.debian.org
> and got a 500 error.

This is the right query; there was a bug which I've fixed in my source
copy, which will be fixed when I next merge my changes.

> >It actually already does that at the top of the display:
> 
> Ah. I am pretty sure it wasn't doing that for me before, when I started
> asking all these dumb questions. I tried again just now, and got the
> list of tags. Yay. Have you updated the running code in between?

Nope.
 
> So now I think I am starting to get this. Then I tried:
> 
>  lynx -mime_header -source
>    http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=alpha;users=debian-boot@lists.debian.org
> 
> and got the attached file (pkgreport.cgi.usertag.test1.txt).
> 
> I see the Summary and the Options sections but no, er, bug numbers listed.
> Yet the Summary says there are bugs to display.

I'm not sure what the deal is with this; I'd have to look more
carefully.

 > If I do the obvious thing and hit the 'submit' button on the displayed
> page, the URL changes to
>    http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=alpha
> and I get "No reports found!".

That's because the alpha tag is a user tag, and the url doesn't
include the users= option any more. I need to fix this, but I haven't
had a chance yet; cloned out as a sepearate bug.


Don Armstrong

-- 
We were at a chinese resturant.
He was yelling at the waitress because there was a typo in his fortune
cookie.
 -- hugh http://www.gapingvoid.com/Moveable_Type/archives/000321.html

http://www.donarmstrong.com              http://rzlab.ucr.edu



Reply to: