Bug 971202
Summary: | Bugzilla plugin doesnt work even with pybugz installed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ankur Sinha (FranciscoD) <sanjay.ankur> |
Component: | gtg | Assignee: | Ankur Sinha (FranciscoD) <sanjay.ankur> |
Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | cqi, izidor.matusov, yaneti |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-06-06 08:45:08 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ankur Sinha (FranciscoD)
2013-06-06 01:43:12 UTC
I also have python-bugzilla installed. Seems like it's been reported upstream already. Does this require the bugz module or the bugzilla module, and are they the same and interchangeable?? The upstream quick fix didn't work for me either. Just tried it: --- ../gtg-0.3.orig/GTG/plugins/bugzilla/bug.py 2012-11-02 03:22:32.000000000 +1100 +++ GTG/plugins/bugzilla/bug.py 2013-06-06 12:01:06.795550142 +1000 @@ -15,10 +15,7 @@ # this program. If not, see <http://www.gnu.org/licenses/>. #this handles old versions of pybugz as well as new ones -try: - from bugz import bugzilla -except: - import bugz as bugzilla +import bugzilla #changed the default action to skip auth There are changes in the trunk that hopefully fix this, but I haven't been able to test them out yet. Hi, GTG maintainer here, lately there was a contribution from Chenxiong Qi who refactored the plugin. Does the modified plugin work for you? You can play with the development version of GTG without destroying your own data: bzr branch lp:gtg cd gtg ./scripts/debug.sh Please confirm or disconfirm that it works for you. Thanks. Yep. I tested it and it works :) I've built an rpm from the brz checkout. You can find the spec, srpm and f19 rpm here. It might help you when you update to the new release :) http://ankursinha.fedorapeople.org/gtg-1301/gtg.spec http://ankursinha.fedorapeople.org/gtg-1301/gtg-0.3.bzr1301-1.fc19.src.rpm http://ankursinha.fedorapeople.org/gtg-1301/gtg-0.3.bzr1301-1.fc19.noarch.rpm Would it be possible to add some configuration options to this plug-in? For instance: * Create new tag with component [Y/N] (It does this at the moment) * Create new task under tag: XXXX (Let the user specify what tag these bugs should be added as instead) I have a lot of bugs on various bugzillas. It won't exactly be organised if each new bug created a *new* tag (It'll become unmanageable actually :( ). I'd like to just have a "bugz" tag and all these bugs can be added as tasks under that tag? Should I file an RFE upstream for this? (PS: When you update to a new release, you might want to add pybugz as a Requires: to the spec so it's pulled in by default) Thanks for your quick reply, Warm regards, Ankur Please, fill RFE upstream. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. (In reply to Izidor Matušov from comment #5) > Please, fill RFE upstream. Sure. I'll do that. I'm closing this bug as it's fixed upstream. I've also taken ownership of the package in Fedora. Hopefully I'll keep it up to date :) Thanks, Warm regards, Ankur RFE filed. Bugzilla plugin just uses xmlrpclib of standard Python library in the upstream codebase, now. Neither pybugz nor python-bugzilla is required. |