[LLVMdev] Bugzilla REST API?

Alp Toker alp at nuanti.com
Tue Dec 10 06:46:15 PST 2013


On 08/11/2013 05:56, Sean Silva wrote:
>
>
>
> On Thu, Nov 7, 2013 at 4:58 PM, Daniel Dunbar <daniel at zuster.org 
> <mailto:daniel at zuster.org>> wrote:
>
>     I don't know the answer to this question, but I've attached an
>     (old) version of pybugz that I tweaked a little to work with LLVM
>     bugzilla. You can probably write such queries on top of this if
>     you feel like figuring out its API:
>
>
>
> Thanks. Looks like most of the pages have some way to get them to spit 
> out XML. Not quite as nice as a (well-documented) JSON REST API, but 
> it's workable.
>
> I guess the REST API is a newer feature and our bugzilla is just old?

Is there something I could contribute to help move this along, say an 
upgrade on the server?

I'd like to cross-reference outstanding PRs against the codebase and 
most library/tool support out there today is set up for the more modern 
Bugzilla REST API.

Alp.


>
> -- Sean Silva
>
>     --
>
>     $ ./bugz get -n 1000
>
>      * Using http://llvm.org/bugs/
>
>      * Getting bug 1000 ..
>
>     Title       : Chris Is Buggy
>
>     Assignee   : tonic
>
>     Reported   : 2006-11-10 18:40:00 -0600
>
>     Updated     : 2011-05-24 11:55:13 -0500
>
>     Status     : RESOLVED
>
>     Resolution : WONTFIX
>
>     Severity   : normal
>
>     Priority   : P
>
>     Reporter   : rspencer
>
>     Version     : trunk
>
>     Platform   : All
>
>     OS         : All
>
>     Product     : tools
>
>     Component   : analyze
>
>     Keywords   : regression
>
>     CC         : brukman+bugs
>
>     CC         : clattner
>
>     CC         : isanbard
>
>     CC         : llvmbugs
>
>     CC         : stuart
>
>     DependsOn   : 10000
>
>     Comments   : 21
>
>     Attachments : 0
>
>     URL         : http://llvm.org/bugs/show_bug.cgi?id=1000
>
>     --
>
>      - Daniel
>
>
>     On Wed, Nov 6, 2013 at 10:59 PM, Sean Silva <silvas at purdue.edu
>     <mailto:silvas at purdue.edu>> wrote:
>
>         Does anybody know if we have bugzilla's REST API enabled, and
>         if so how to access it?
>         <https://wiki.mozilla.org/Bugzilla:REST_API:Methods>. I tried
>         e.g. http://llvm.org/bugs/bug/count but there doesn't seem to
>         be anything there.
>
>         I'd like to write a script that tracks various statistics e.g.
>         how many bugs were filed in the last week, how many were
>         closed, etc. and a REST API seems like the simplest way to
>         automate (most of the methods corresponds directly to things
>         in the Web UI, e.g. searches)
>
>         -- Sean Silva
>
>         _______________________________________________
>         LLVM Developers mailing list
>         LLVMdev at cs.uiuc.edu <mailto:LLVMdev at cs.uiuc.edu>
>         http://llvm.cs.uiuc.edu
>         http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

-- 
http://www.nuanti.com
the browser experts




More information about the llvm-dev mailing list