Comments (10)
python-bugzilla should be helpful, no? http://pypi.python.org/pypi/python-bugzilla
Good idea!
from bugwarrior.
I just pushed a feature/bugzilla branch that works for me on https://bugzilla.redhat.com.
Can you try it out and verify?
https://github.com/ralphbean/bugwarrior/tree/feature/bugzilla
from bugwarrior.
It doesn't work....
WARNING:URLs will not be shortened with bit.ly
WARNING:URLs will not be shortened with bit.ly
INFO:Working on [my_github]
No handlers could be found for logger "github2.request"
DEBUG: Getting ready to get list of all repos.
DEBUG: Getting 1th page of repos.
DEBUG: Getting 2th page of repos.
DEBUG: Found 17 total.
DEBUG: Pruned down to 17
INFO:Working on [work_bugs]
CRITICAL:oh noes
TRACE Traceback (most recent call last):
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/bugwarrior-0.3.2-py2.7.egg/bugwarrior/command.py", line 14, in pull
TRACE issues = aggregate_issues(config)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/bugwarrior-0.3.2-py2.7.egg/bugwarrior/services/__init__.py", line 115, in aggregate_issues
TRACE for t in targets
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/bugwarrior-0.3.2-py2.7.egg/bugwarrior/services/bz.py", line 40, in __init__
TRACE self.bz = bugzilla.Bugzilla(url=url)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/python_bugzilla-0.6.2-py2.7.egg/bugzilla/__init__.py", line 75, in __init__
TRACE c = getBugzillaClassForURL(kwargs['url'])
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/python_bugzilla-0.6.2-py2.7.egg/bugzilla/__init__.py", line 34, in getBugzillaClassForURL
TRACE prodinfo = s.bugzilla.getProdInfo()
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/xmlrpclib.py", line 1224, in __call__
TRACE return self.__send(self.__name, args)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/xmlrpclib.py", line 1575, in __request
TRACE verbose=self.__verbose
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/xmlrpclib.py", line 1264, in request
TRACE return self.single_request(host, handler, request_body, verbose)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/xmlrpclib.py", line 1312, in single_request
TRACE response.msg,
TRACE ProtocolError: <ProtocolError for example.com/bugs/xmlrpc.cgi: 401 Authorization Required>
This is because our site is protected by https with http-basic-auth. That is, we don't log into bugzilla via the bugzilla login page. We login into the whole site via HTTP AUTH and then the various apps there automatically detect the user.
from bugwarrior.
When I use bugzilla.base_uri = holtje:[email protected]/bugs
it gets futher....
TRACE Traceback (most recent call last):
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/bugwarrior-0.3.2-py2.7.egg/bugwarrior/command.py", line 14, in pull
TRACE issues = aggregate_issues(config)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/bugwarrior-0.3.2-py2.7.egg/bugwarrior/services/__init__.py", line 115, in aggregate_issues
TRACE for t in targets
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/bugwarrior-0.3.2-py2.7.egg/bugwarrior/services/bz.py", line 73, in issues
TRACE bugs = self.bz.query(query)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/python_bugzilla-0.6.2-py2.7.egg/bugzilla/base.py", line 530, in query
TRACE r = self._query(query)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/python_bugzilla-0.6.2-py2.7.egg/bugzilla/bugzilla3.py", line 177, in _query
TRACE return self._proxy.Bug.search(query)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/xmlrpclib.py", line 1224, in __call__
TRACE return self.__send(self.__name, args)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/xmlrpclib.py", line 1575, in __request
TRACE verbose=self.__verbose
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/xmlrpclib.py", line 1264, in request
TRACE return self.single_request(host, handler, request_body, verbose)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/site-packages/python_bugzilla-0.6.2-py2.7.egg/bugzilla/base.py", line 1029, in single_request_with_cookies
TRACE return self.parse_response(response)
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
TRACE return u.close()
TRACE File "/usr/local/Cellar/python/2.7.2/lib/python2.7/xmlrpclib.py", line 793, in close
TRACE raise Fault(**self._stack[0])
TRACE Fault: <Fault 53: 'emailassigned_to1 is not a valid parameter for the Bugzilla::Bug::match function.'>
from bugwarrior.
Makes sense. Looks like the fields for bugzilla are much more flexible than I thought. I'll have to extend them all the way out into the config file. One moment, please.
from bugwarrior.
This is recent and appears relevant - http://web.archiveorange.com/archive/v/wmeLDbiz8d7JzNd2dyfd
from bugwarrior.
I don't think the problem I had tripped on that...could be wrong tho.
from bugwarrior.
Would you mind giving it a try at the latest HEAD?
Might be an awful idea...
from bugwarrior.
We talked more on IRC and I've used something newer than this...
from bugwarrior.
I'm going to close this ticket for now. @docwhat, if you make any progress on your own bz instance, feel free to re-open the ticket.
from bugwarrior.
Related Issues (20)
- Add generic hook-scripts to TW to automatically update/delete/add remote tasks HOT 1
- remove pytest deprecation warnings from develop branch HOT 2
- Gitlab: work items HOT 3
- Fail if one of the services failed HOT 4
- Parsing config with url containg '%' has interpolation issue from ConfigParser HOT 4
- Python-3.11+ HOT 1
- Readthedocs V2
- Toml tab bug
- Release 2.0 HOT 4
- Add support for reminders in Slack
- Support retrieving an untagged list of repositories in Pagure HOT 1
- possibility of setting a date in the configuration file HOT 2
- RT5/RTIR support? HOT 1
- [feature request] choose a config file format and use the file extension HOT 5
- 3 binaries after install instead of one HOT 4
- different project names: remote project name vs taskwarrior project name HOT 8
- bugwarrior-vault and password management issues HOT 2
- A lot of updates on every pull from azure devops HOT 8
- installation error using python 3.12 HOT 1
- Require python-debianbts>=4.1.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bugwarrior.