public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] pybugz call for testers
@ 2012-04-10 17:54 William Hubbs
  2012-04-10 20:45 ` "Paweł Hajdan, Jr."
  0 siblings, 1 reply; 8+ messages in thread
From: William Hubbs @ 2012-04-10 17:54 UTC (permalink / raw
  To: gentoo development

[-- Attachment #1: Type: text/plain, Size: 493 bytes --]

All,

I have updated pybugz-9999 to work with the xmlrpc interface of
bugzilla.

I can name a couple of issues that are api limitations that we can't do
anything about:

- you can't add keywords to a bug with the post command, but you can
  with the modify command.

- you can't search on cc: or keywords fields.

I haven't done a release yet, since there may be other issues.But, if
you are up to it, feel free to emerge pybugz-9999 and test and report
any issues you find.

Thanks,

William

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-dev] pybugz call for testers
  2012-04-10 17:54 [gentoo-dev] pybugz call for testers William Hubbs
@ 2012-04-10 20:45 ` "Paweł Hajdan, Jr."
  2012-04-10 21:17   ` William Hubbs
  0 siblings, 1 reply; 8+ messages in thread
From: "Paweł Hajdan, Jr." @ 2012-04-10 20:45 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

On 4/10/12 7:54 PM, William Hubbs wrote:
> I have updated pybugz-9999 to work with the xmlrpc interface of
> bugzilla.

Cool, thank you for working on that.

> I can name a couple of issues that are api limitations that we can't do
> anything about:
> 
> - you can't search on cc: or keywords fields.

That's going to be a problem for arch testing needs (e.g. STABLEREQ
keyword and x86@ cc-ed). How about doing the searches "the old way" that
allowed the above.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

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

* Re: [gentoo-dev] pybugz call for testers
  2012-04-10 20:45 ` "Paweł Hajdan, Jr."
@ 2012-04-10 21:17   ` William Hubbs
  2012-04-11  5:03     ` Mike Gilbert
  2012-04-11 11:55     ` "Paweł Hajdan, Jr."
  0 siblings, 2 replies; 8+ messages in thread
From: William Hubbs @ 2012-04-10 21:17 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1128 bytes --]

On Tue, Apr 10, 2012 at 10:45:14PM +0200, "Paweł Hajdan, Jr." wrote:
> On 4/10/12 7:54 PM, William Hubbs wrote:
> > I have updated pybugz-9999 to work with the xmlrpc interface of
> > bugzilla.
> 
> Cool, thank you for working on that.
> 
> > I can name a couple of issues that are api limitations that we can't do
> > anything about:
> > 
> > - you can't search on cc: or keywords fields.
> 
> That's going to be a problem for arch testing needs (e.g. STABLEREQ
> keyword and x86@ cc-ed). How about doing the searches "the old way" that
> allowed the above.

That is not so easy to do since we have completely gotten rid of the old
method of communicating with bugzilla. That method was not reliable and
had broken several times with bugzilla upgrades, but using the web
services will be more stable.

Here is the documentation for their search command [1]. It would
probably be better for us to open a bug against bugzilla itself and
request those changes be put in the api.

What are your thoughts?

William

[1] http://www.bugzilla.org/docs/4.2/en/html/api/Bugzilla/WebService/Bug.html#search

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-dev] pybugz call for testers
  2012-04-10 21:17   ` William Hubbs
@ 2012-04-11  5:03     ` Mike Gilbert
  2012-04-11 11:55     ` "Paweł Hajdan, Jr."
  1 sibling, 0 replies; 8+ messages in thread
From: Mike Gilbert @ 2012-04-11  5:03 UTC (permalink / raw
  To: Gentoo Dev

On Tue, Apr 10, 2012 at 5:17 PM, William Hubbs <williamh@gentoo.org> wrote:
> Here is the documentation for their search command [1]. It would
> probably be better for us to open a bug against bugzilla itself and
> request those changes be put in the api.
>

I did some digging on Bugzilla's Bugzilla. There is already a bug open
with patches to expose additional search functionality via the web
service api. This bug has open since 2009, but it has seen some recent
activity (within the last few months).

https://bugzilla.mozilla.org/show_bug.cgi?id=475754



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

* Re: [gentoo-dev] pybugz call for testers
  2012-04-10 21:17   ` William Hubbs
  2012-04-11  5:03     ` Mike Gilbert
@ 2012-04-11 11:55     ` "Paweł Hajdan, Jr."
  2012-04-13  3:19       ` Mike Gilbert
  1 sibling, 1 reply; 8+ messages in thread
From: "Paweł Hajdan, Jr." @ 2012-04-11 11:55 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]

On 4/10/12 11:17 PM, William Hubbs wrote:
> On Tue, Apr 10, 2012 at 10:45:14PM +0200, "Paweł Hajdan, Jr." wrote:
>> On 4/10/12 7:54 PM, William Hubbs wrote:
>>> I can name a couple of issues that are api limitations that we can't do
>>> anything about:
>>> - you can't search on cc: or keywords fields.
>> That's going to be a problem for arch testing needs (e.g. STABLEREQ
>> keyword and x86@ cc-ed). How about doing the searches "the old way" that
>> allowed the above.
> 
> That is not so easy to do since we have completely gotten rid of the old
> method of communicating with bugzilla. That method was not reliable and
> had broken several times with bugzilla upgrades, but using the web
> services will be more stable.

Right, scraping HTML that way was obviously brittle, but at least it
worked (in the pragmatic sense). Without that functionality, the
batch-stabilization tools I and other devs use would be broken.

If possible, please restore the old code, possibly marked as deprecated
and not officially supported (best effort, patches welcome is fine), and
named maybe search_brittle or something similar.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

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

* Re: [gentoo-dev] pybugz call for testers
  2012-04-11 11:55     ` "Paweł Hajdan, Jr."
@ 2012-04-13  3:19       ` Mike Gilbert
  2012-04-13  4:32         ` "Paweł Hajdan, Jr."
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Gilbert @ 2012-04-13  3:19 UTC (permalink / raw
  To: gentoo-dev

On Wed, Apr 11, 2012 at 7:55 AM, "Paweł Hajdan, Jr."
<phajdan.jr@gentoo.org> wrote:
> On 4/10/12 11:17 PM, William Hubbs wrote:
>> On Tue, Apr 10, 2012 at 10:45:14PM +0200, "Paweł Hajdan, Jr." wrote:
>>> On 4/10/12 7:54 PM, William Hubbs wrote:
>>>> I can name a couple of issues that are api limitations that we can't do
>>>> anything about:
>>>> - you can't search on cc: or keywords fields.
>>> That's going to be a problem for arch testing needs (e.g. STABLEREQ
>>> keyword and x86@ cc-ed). How about doing the searches "the old way" that
>>> allowed the above.
>>
>> That is not so easy to do since we have completely gotten rid of the old
>> method of communicating with bugzilla. That method was not reliable and
>> had broken several times with bugzilla upgrades, but using the web
>> services will be more stable.
>
> Right, scraping HTML that way was obviously brittle, but at least it
> worked (in the pragmatic sense). Without that functionality, the
> batch-stabilization tools I and other devs use would be broken.
>
> If possible, please restore the old code, possibly marked as deprecated
> and not officially supported (best effort, patches welcome is fine), and
> named maybe search_brittle or something similar.
>

Do you need the command line front end for your arch testing
utilities, or are you using the bugzilla.py module directly? If the
latter, I think it would be possible to restore the old bugzilla.py
module, possibly with a different name.

If you actually need the front end (bugz and cli.py), it would
probably be easier for you to just have two copies of pybugz: an old
version for searching and a new version for making changes.



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

* Re: [gentoo-dev] pybugz call for testers
  2012-04-13  3:19       ` Mike Gilbert
@ 2012-04-13  4:32         ` "Paweł Hajdan, Jr."
  0 siblings, 0 replies; 8+ messages in thread
From: "Paweł Hajdan, Jr." @ 2012-04-13  4:32 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

On 4/13/12 5:19 AM, Mike Gilbert wrote:
> Do you need the command line front end for your arch testing
> utilities, or are you using the bugzilla.py module directly? If the
> latter, I think it would be possible to restore the old bugzilla.py
> module, possibly with a different name.

Just the module, bugzilla.py.

For reference, the project is here:
<http://git.overlays.gentoo.org/gitweb/?p=proj/arch-tools.git;a=summary>


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 203 bytes --]

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

* [gentoo-dev] pybugz call for testers
@ 2014-09-30  0:09 William Hubbs
  0 siblings, 0 replies; 8+ messages in thread
From: William Hubbs @ 2014-09-30  0:09 UTC (permalink / raw
  To: gentoo development

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

To all pybugz users,

I need some folks to upgrade to pybugz-9999 for a short time and see if
you can break it.

The big change is the inclusion of default configuration files as well
as the ability for the sys admin and for an individual user to override
configuration information. Also, now the configuration options are
documented in man 5 pybugz.d.

Check it out and let me know what you think.

William


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

end of thread, other threads:[~2014-09-30  0:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-10 17:54 [gentoo-dev] pybugz call for testers William Hubbs
2012-04-10 20:45 ` "Paweł Hajdan, Jr."
2012-04-10 21:17   ` William Hubbs
2012-04-11  5:03     ` Mike Gilbert
2012-04-11 11:55     ` "Paweł Hajdan, Jr."
2012-04-13  3:19       ` Mike Gilbert
2012-04-13  4:32         ` "Paweł Hajdan, Jr."
  -- strict thread matches above, loose matches on Subject: below --
2014-09-30  0:09 William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox