FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 04-01-2012, 02:26 AM
William Hubbs
 
Default automated bug filing (i.e. pybugz) failing because of missing token

On Thu, Mar 29, 2012 at 07:37:15PM -0700, Alec Warner wrote:
> On Tue, Mar 27, 2012 at 1:03 PM, William Hubbs <williamh@gentoo.org> wrote:
> > On Tue, Mar 27, 2012 at 05:19:10PM +0200, "Paweł Hajdan, Jr." wrote:
> >> On 3/26/12 7:20 PM, Mike Gilbert wrote:
> >> > On Mon, Mar 26, 2012 at 1:08 PM, "Paweł Hajdan, Jr."
> >> > <phajdan.jr@gentoo.org> wrote:
> >> >> I posted this issue here because it's not obvious what to do with it.
> >> >> That version of pybugz worked for me before (20 February 2012).
> >> >>
> >> >> Any ideas?
> >> >>
> >> > I'm guessing it was broken by the upgrade from Bugzilla 4.0 to Bugzilla 4.2.
> >> >
> >> > I think you should file a bug for pybugz.
> >>
> >> Right, and indeed I've found existing
> >> <https://github.com/williamh/pybugz/pull/19> (there is patch inside).
> >
> > That is now merged into pybugz-9999, but it had nothing to do with the
> > bugzilla 4.2 issues.
> >
> > I will see what else I can come up with, but patches/suggestions are
> > welcome.
> >
> > William
> >
>
> My plan is to add support for the jsonrpc api, which I was going to do
> this weekend.

Go for it; actually I wouldn't have a problem with us converting over to
that and dropping the old method of communicating with bugzilla.

William
 
Old 04-05-2012, 09:59 PM
William Hubbs
 
Default automated bug filing (i.e. pybugz) failing because of missing token

Hi all,

here is a quick update on this:

On Mon, Mar 26, 2012 at 01:20:38PM -0400, Mike Gilbert wrote:
> On Mon, Mar 26, 2012 at 1:08 PM, "Paweł Hajdan, Jr."
> <phajdan.jr@gentoo.org> wrote:
> > I posted this issue here because it's not obvious what to do with it.
> > That version of pybugz worked for me before (20 February 2012).
> >
> > Any ideas?
> >
>
> I'm guessing it was broken by the upgrade from Bugzilla 4.0 to Bugzilla 4.2.
>
> I think you should file a bug for pybugz.
>
> Long term, we may want to consider porting pybugz to use Bugzilla's
> XML-RPC api to avoid such breakage.

Agreed, and I think that is going to happen sooner than longterm.

I now have a project on my github account called PyZilla, which is a
library for communicating with BugZilla via xmlrpc. [1] However, it
does not work with python 2.7, which is what I would like.

I emailed the original author since he hadn't worked on this library in
a year, and I was given permission to take over maintainership because
he said he doesn't have time to work on it.

So, any patches to make this work with python-2.7 are welcome. :-)

William

[1] https://github.com/williamh/PyZilla
 
Old 04-06-2012, 01:40 AM
Mike Gilbert
 
Default automated bug filing (i.e. pybugz) failing because of missing token

On Thu, Apr 5, 2012 at 5:59 PM, William Hubbs <williamh@gentoo.org> wrote:
> Hi all,
>
> here is a quick update on this:
>
> On Mon, Mar 26, 2012 at 01:20:38PM -0400, Mike Gilbert wrote:
>> On Mon, Mar 26, 2012 at 1:08 PM, "Paweł Hajdan, Jr."
>> <phajdan.jr@gentoo.org> wrote:
>> > I posted this issue here because it's not obvious what to do with it.
>> > That version of pybugz worked for me before (20 February 2012).
>> >
>> > Any ideas?
>> >
>>
>> I'm guessing it was broken by the upgrade from Bugzilla 4.0 to Bugzilla 4.2.
>>
>> I think you should file a bug for pybugz.
>>
>> Long term, we may want to consider porting pybugz to use Bugzilla's
>> XML-RPC api to avoid such breakage.
>
> Agreed, and I think that is going to happen sooner than longterm.
>
> I now have a project on my github account called PyZilla, which is a
> library for communicating with BugZilla via xmlrpc. Â*[1] However, it
> does not work with python 2.7, which is what I would like.
>
> I emailed the original author since he hadn't worked on this library in
> a year, and I was given permission to take over maintainership because
> he said he doesn't have time to work on it.
>
> So, any patches to make this work with python-2.7 are welcome. :-)
>
> William
>
> [1] https://github.com/williamh/PyZilla
>

Heh, I have been working on a similar concept, and I actually have a
working implementation. I am able to successfully search, log in, and
create new bugs. I just pushed this to my github.

https://github.com/floppym/BugzillaProxy

I have not taken the time to integrate it into pybugz. If you want to
take it from here, that would be great. Or I'm happy to help too; I'm
just not quite sure how to integrate it.

Side note: I have noticed that the xml-rpc interface does not allow
you to search on all available Bugzilla fields. The most obvious
missing field is the CC list.
 

Thread Tools




All times are GMT. The time now is 05:52 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org