public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
* GCC bugzilla: REST API
@ 2020-03-11 10:22 Martin Liška
  2020-03-11 18:41 ` Frank Ch. Eigler
  2020-03-11 23:15 ` Frank Ch. Eigler
  0 siblings, 2 replies; 5+ messages in thread
From: Martin Liška @ 2020-03-11 10:22 UTC (permalink / raw)
  To: overseers; +Cc: GCC Development

Hi.

I'm working on a script that will catch the missing email into
Bugzilla that are triggered by git commits mentioning a PR.
For that I would need the enablement of REST API that was enabled
in previous bugzilla instance.

Thank you,
Martin

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GCC bugzilla: REST API
  2020-03-11 10:22 GCC bugzilla: REST API Martin Liška
@ 2020-03-11 18:41 ` Frank Ch. Eigler
  2020-03-11 21:17   ` Joseph Myers
  2020-03-11 23:15 ` Frank Ch. Eigler
  1 sibling, 1 reply; 5+ messages in thread
From: Frank Ch. Eigler @ 2020-03-11 18:41 UTC (permalink / raw)
  To: Overseers mailing list; +Cc: overseers, Martin Liška, GCC Development

Hi -

> I'm working on a script that will catch the missing email into
> Bugzilla that are triggered by git commits mentioning a PR.
> For that I would need the enablement of REST API that was enabled
> in previous bugzilla instance.

Just for clarity, which REST API was this?  Have a test URL we can
useto smoke-test?

- FChE


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GCC bugzilla: REST API
  2020-03-11 18:41 ` Frank Ch. Eigler
@ 2020-03-11 21:17   ` Joseph Myers
  0 siblings, 0 replies; 5+ messages in thread
From: Joseph Myers @ 2020-03-11 21:17 UTC (permalink / raw)
  To: Frank Ch. Eigler; +Cc: Overseers mailing list, overseers, GCC Development

On Wed, 11 Mar 2020, Frank Ch. Eigler via Gcc wrote:

> Hi -
> 
> > I'm working on a script that will catch the missing email into
> > Bugzilla that are triggered by git commits mentioning a PR.
> > For that I would need the enablement of REST API that was enabled
> > in previous bugzilla instance.
> 
> Just for clarity, which REST API was this?  Have a test URL we can
> useto smoke-test?

Here's anm example for sourceware bugzilla, where it's also broken, but 
used to work.

https://sourceware.org/bugzilla/rest.cgi/bug?product=glibc&resolution=FIXED&target_milestone=2.32&include_fields=id,component,summary

(as used in the list-fixed-bugs.py script to generate a list of bugs that 
goes in the glibc NEWS file at release time).

/www/gcc/bugzilla/Bugzilla/Install/Requirements.pm has a list of perl 
modules required by various Bugzilla features.  It appears new-sourceware 
is missing at least JSON::RPC and Test::Taint required for the REST API.  
Likely the other features people report are missing are the result of 
other such missing modules.  Some of those were in what's now the 
lib.rhel6-obsolete directory in both GCC and sourceware Bugzilla (going 
through the modules there to see what features they might cause to be 
missing may be a good idea), but you may want to install relevant modules 
from appropriate OS packages if available.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GCC bugzilla: REST API
  2020-03-11 10:22 GCC bugzilla: REST API Martin Liška
  2020-03-11 18:41 ` Frank Ch. Eigler
@ 2020-03-11 23:15 ` Frank Ch. Eigler
  2020-03-12  8:27   ` Martin Liška
  1 sibling, 1 reply; 5+ messages in thread
From: Frank Ch. Eigler @ 2020-03-11 23:15 UTC (permalink / raw)
  To: Overseers mailing list; +Cc: overseers, Martin Liška, GCC Development

Hi -

> I'm working on a script that will catch the missing email into
> Bugzilla that are triggered by git commits mentioning a PR.
> For that I would need the enablement of REST API that was enabled
> in previous bugzilla instance.

I believe this should work now.  Thanks to Joseph Myers for
pointing out that we were missing some more perl modules.
Fought with koji & etc. awhile and now bugzilla's checksetup.pl
is happy all around.

- FChE

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GCC bugzilla: REST API
  2020-03-11 23:15 ` Frank Ch. Eigler
@ 2020-03-12  8:27   ` Martin Liška
  0 siblings, 0 replies; 5+ messages in thread
From: Martin Liška @ 2020-03-12  8:27 UTC (permalink / raw)
  To: Frank Ch. Eigler, Overseers mailing list; +Cc: overseers, GCC Development

On 3/12/20 12:15 AM, Frank Ch. Eigler wrote:
> Hi -
> 
>> I'm working on a script that will catch the missing email into
>> Bugzilla that are triggered by git commits mentioning a PR.
>> For that I would need the enablement of REST API that was enabled
>> in previous bugzilla instance.
> 
> I believe this should work now.  Thanks to Joseph Myers for
> pointing out that we were missing some more perl modules.
> Fought with koji & etc. awhile and now bugzilla's checksetup.pl
> is happy all around.

Hello.

Thank you for that. I can confirm it works fine now.

Martin

> 
> - FChE
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-12  8:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-11 10:22 GCC bugzilla: REST API Martin Liška
2020-03-11 18:41 ` Frank Ch. Eigler
2020-03-11 21:17   ` Joseph Myers
2020-03-11 23:15 ` Frank Ch. Eigler
2020-03-12  8:27   ` Martin Liška

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).