<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 10, 2013 at 9:46 AM, Alp Toker <span dir="ltr"><<a href="mailto:alp@nuanti.com" target="_blank">alp@nuanti.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On 08/11/2013 05:56, Sean Silva wrote:<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<br>
On Thu, Nov 7, 2013 at 4:58 PM, Daniel Dunbar <<a href="mailto:daniel@zuster.org" target="_blank">daniel@zuster.org</a> <mailto:<a href="mailto:daniel@zuster.org" target="_blank">daniel@zuster.org</a>>> wrote:<br>
<br>
I don't know the answer to this question, but I've attached an<br>
(old) version of pybugz that I tweaked a little to work with LLVM<br>
bugzilla. You can probably write such queries on top of this if<br>
you feel like figuring out its API:<br>
<br>
<br>
<br>
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.<br>
<br>
I guess the REST API is a newer feature and our bugzilla is just old?<br>
</blockquote>
<br></div>
Is there something I could contribute to help move this along, say an upgrade on the server?<br></blockquote><div><br></div><div>This is something that I think everyone would appreciate. Our bugzilla is in a really calcified state. Breathing some vitality into it would be great. The thing is that I don't think that any of us have any experience with running/upgrading bugzilla; if you have some background in this and want to try your hand at it I think it's a no-brainer.</div>
<div><br></div><div>If bugzilla has some sort of mirroring capability, I think that a natural first step would be to try to run a mirror with the target version (not on LLVM's servers (server? our web presence is pretty pathetic...)), make sure everyone is onboard with the upgrade (I don't expect any issues), then do the upgrade to <a href="http://llvm.org/bugs">llvm.org/bugs</a> (and take down the mirror).</div>
<div><br></div><div>-- Sean Silva</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
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.<br>
<br>
Alp.<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<br>
-- Sean Silva<br>
<br>
--<br>
<br>
$ ./bugz get -n 1000<br>
<br>
* Using <a href="http://llvm.org/bugs/" target="_blank">http://llvm.org/bugs/</a><br>
<br>
* Getting bug 1000 ..<br>
<br>
Title : Chris Is Buggy<br>
<br>
Assignee : tonic<br>
<br>
Reported : 2006-11-10 18:40:00 -0600<br>
<br>
Updated : 2011-05-24 11:55:13 -0500<br>
<br>
Status : RESOLVED<br>
<br>
Resolution : WONTFIX<br>
<br>
Severity : normal<br>
<br>
Priority : P<br>
<br>
Reporter : rspencer<br>
<br>
Version : trunk<br>
<br>
Platform : All<br>
<br>
OS : All<br>
<br>
Product : tools<br>
<br>
Component : analyze<br>
<br>
Keywords : regression<br>
<br>
CC : brukman+bugs<br>
<br>
CC : clattner<br>
<br>
CC : isanbard<br>
<br>
CC : llvmbugs<br>
<br>
CC : stuart<br>
<br>
DependsOn : 10000<br>
<br>
Comments : 21<br>
<br>
Attachments : 0<br>
<br>
URL : <a href="http://llvm.org/bugs/show_bug.cgi?id=1000" target="_blank">http://llvm.org/bugs/show_bug.<u></u>cgi?id=1000</a><br>
<br>
--<br>
<br>
- Daniel<br>
<br>
<br>
On Wed, Nov 6, 2013 at 10:59 PM, Sean Silva <<a href="mailto:silvas@purdue.edu" target="_blank">silvas@purdue.edu</a><br></div></div><div class="im">
<mailto:<a href="mailto:silvas@purdue.edu" target="_blank">silvas@purdue.edu</a>>> wrote:<br>
<br>
Does anybody know if we have bugzilla's REST API enabled, and<br>
if so how to access it?<br>
<<a href="https://wiki.mozilla.org/Bugzilla:REST_API:Methods" target="_blank">https://wiki.mozilla.org/<u></u>Bugzilla:REST_API:Methods</a>>. I tried<br>
e.g. <a href="http://llvm.org/bugs/bug/count" target="_blank">http://llvm.org/bugs/bug/count</a> but there doesn't seem to<br>
be anything there.<br>
<br>
I'd like to write a script that tracks various statistics e.g.<br>
how many bugs were filed in the last week, how many were<br>
closed, etc. and a REST API seems like the simplest way to<br>
automate (most of the methods corresponds directly to things<br>
in the Web UI, e.g. searches)<br>
<br>
-- Sean Silva<br>
<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br></div>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <mailto:<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>><div class="im"><br>
<a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</div></blockquote><span class="HOEnZb"><font color="#888888">
<br>
-- <br>
<a href="http://www.nuanti.com" target="_blank">http://www.nuanti.com</a><br>
the browser experts<br>
<br>
</font></span></blockquote></div><br></div></div>