| Summary: | devel/pybugz: Issues with FreeBSD Bugzilla | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
| Component: | Individual Port(s) | Assignee: | Chris Rees <crees> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | CC: | crees, tremere | ||||
| Priority: | --- | Keywords: | needs-patch, needs-qa | ||||
| Version: | Latest | Flags: | koobs:
maintainer-feedback?
(crees) |
||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Bug Depends on: | 192346 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Jan Beich
2014-06-07 10:35:57 UTC
After a bit of debugging it seems: - |attachment| requires server to provide |Content-legth| in HTTP header - |search| doesn't like non-default names in |bug_status| Auth seems harder until I figure out how to manually populate ~/.bugz_cookie e.g., #LWP-Cookies-2.0 Set-Cookie3: Bugzilla_login=1234; path="/bugzilla/"; domain=".bugs.freebsd.org"; path_spec; discard; HttpOnly=None; version=0 Set-Cookie3: Bugzilla_logincookie=ABCDEF; path="/bugzilla/"; domain=".bugs.freebsd.org"; path_spec; discard; HttpOnly=None; version=0 Created attachment 146148 [details]
Proper pkg-plist fix
This adds entries for the missing experimental backends in pkg-plist and fixes mentioned issues.
Crap. I was looking into py-bugz for adding a patch to my port, but I cannot login. While adding the patch and comment I missed I was in the wrong bug. Sorry. My patch and comment should be removed. Sincerest apologies for messing this one up. Over to maintainer of devel/pybugz. Please add or reassign to bugmeister@, if there is anything to be done for the bugzilla instance. No longer an issue since xmlrpc support was added in pybugz-0.10. |get|, |attachment| and |modify| work fine. Not sure about |search|. $ bugz search bsd.port.mk * Using https://bugs.freebsd.org/bugzilla/xmlrpc.cgi * Searching for 'bsd.port.mk' * No bugs found. $ bugz modify -s Closed -r FIXED --add-dependson 192346 \ -c 'No longer an issue since xmlrpc support was added in pybugz-0.10.' \ 190744 * Using https://bugs.freebsd.org/bugzilla/xmlrpc.cgi * Modified the following fields in bug 190744 * status : removed New * status : added Closed * depends_on : removed * depends_on : added 192346 * resolution : removed * resolution : added FIXED with comment 1 login details: $ sqlite3 .mozilla/firefox/*.default/cookies.sqlite \ 'select name,value from moz_cookies where baseDomain="freebsd.org"' | fgrep Bugzilla_ Bugzilla_logincookie|ABCDEF Bugzilla_login|1234 $ cat ~/.bugzrc [default] base: https://bugs.freebsd.org/bugzilla/xmlrpc.cgi $ cat ~/cat .bugz_token 1234-ABCDEF |