From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SFyBY-00062c-LZ for garchives@archives.gentoo.org; Fri, 06 Apr 2012 01:41:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64DFEE0A8C; Fri, 6 Apr 2012 01:41:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D9DCBE0A7D for ; Fri, 6 Apr 2012 01:40:44 +0000 (UTC) Received: from mail-qa0-f53.google.com (mail-qa0-f53.google.com [209.85.216.53]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 40F7F1B401A for ; Fri, 6 Apr 2012 01:40:44 +0000 (UTC) Received: by qadc11 with SMTP id c11so131584qad.19 for ; Thu, 05 Apr 2012 18:40:42 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.224.86.208 with SMTP id t16mr7140233qal.16.1333676442061; Thu, 05 Apr 2012 18:40:42 -0700 (PDT) Received: by 10.229.214.134 with HTTP; Thu, 5 Apr 2012 18:40:42 -0700 (PDT) In-Reply-To: <20120405215949.GA10172@linux1> References: <4F70A285.3090401@gentoo.org> <20120405215949.GA10172@linux1> Date: Thu, 5 Apr 2012 21:40:42 -0400 Message-ID: Subject: Re: [gentoo-dev] automated bug filing (i.e. pybugz) failing because of missing token From: Mike Gilbert To: gentoo-dev@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 6c489742-cd5f-4fed-9aba-e82d2ad567b5 X-Archives-Hash: 44ec128b11ae2d3c8b19003ef3c9d1db On Thu, Apr 5, 2012 at 5:59 PM, William Hubbs 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=C5=82 Hajdan, Jr." >> 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. =C2=A0[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.