Bug 190795 - [PATCH] devel/pybugz: update to 0.10.1
Summary: [PATCH] devel/pybugz: update to 0.10.1
Status: Closed DUPLICATE of bug 192346
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-08 14:52 UTC by Yasuhiro Kimura
Modified: 2014-08-23 04:22 UTC (History)
4 users (show)

See Also:


Attachments
Update devel/pybugz to 0.10.1. (1.03 KB, patch)
2014-06-08 14:52 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2014-06-08 14:52:49 UTC
Created attachment 143531 [details]
Update devel/pybugz to 0.10.1.

* Update to 0.10.1
* Change master site to GitHub.
Comment 1 Lawrence Chen 2014-06-08 23:40:50 UTC
Darn, you beat me getting this in....though trying to figure out how to use bugz to submit kind of delayed things.

The biggest delay was figuring out that I need to specify a status, to get search to find anything.  Now to figure out what statuses I want to include when I don't want 'ALL'.

Also its not exactly easy...pretty much all the status codes don't match the site's documentation.  Or that 'ports' is now 'Ports Tree', and that component is 'Individual Port(s)'....having dug further in what what the other stuff is.

Guess, I'll just stick with send-pr and/or web interface.
Comment 2 Olivier Duchateau freebsd_committer freebsd_triage 2014-06-11 17:38:17 UTC
Re-assign to crees@, sorry Chris.
Comment 3 Chris Rees freebsd_committer freebsd_triage 2014-06-11 18:45:21 UTC
Hm, does this actually work with our bz though?  I have the update ready to commit, but have no luck connecting.
Comment 4 Olivier Duchateau freebsd_committer freebsd_triage 2014-06-11 20:14:04 UTC
(In reply to Chris Rees from comment #3)
> Hm, does this actually work with our bz though?  I have the update ready to
> commit, but have no luck connecting.

Yes, it works, but by defaut bugz (executable), tries to connect to Gentoo's Bugzilla, perhaps, we need to patch bugz/argparsers.py file (search gentoo.org), or provide bugzrc (there's bugzrc.example file), with right "base" URL.

There's also man page, which is not installed.

Here example session (by default encoding is UTF-8):

bugz -b https://bugs.freebsd.org/bugzilla/xmlrpc.cgi -u olivierd -p MyP4sswd \
--encoding iso-8859-15 login
 * Using https://bugs.freebsd.org/bugzilla/xmlrpc.cgi 
 * Logging in

bugz -b https://bugs.freebsd.org/bugzilla/xmlrpc.cgi get 190795
 * Using https://bugs.freebsd.org/bugzilla/xmlrpc.cgi 
 * Getting bug 190795 ..
Title       : [PATCH] devel/pybugz: update to 0.10.1
Assignee    : crees@FreeBSD.org
Reported    : 20140608T14:52:00
Updated     : 20140611T18:45:21
Status      : In Discussion
Severity    : Affects Only Me
Priority    : ---
Reporter    : yasu@utahime.org
Product     : Ports Tree
Component   : Individual Port(s)
CC          : beastie@tardisi.com
CC          : olivierd@FreeBSD.org
Comments    : 4
Attachments : 1

[Attachment] [143531] [Update devel/pybugz to 0.10.1.]

[Comment #0] yasu@utahime.org : 20140608T14:52:49
-------------------------------------------------------------------------------
Created attachment 143531 [details]
Update devel/pybugz to 0.10.1.

* Update to 0.10.1
* Change master site to GitHub.

[Comment #1] beastie@tardisi.com : 20140608T23:40:50
-------------------------------------------------------------------------------
Darn, you beat me getting this in....though trying to figure out how to use bugz
to submit kind of delayed things.

The biggest delay was figuring out that I need to specify a status, to get
search to find anything.  Now to figure out what statuses I want to include when
I don't want 'ALL'.

Also its not exactly easy...pretty much all the status codes don't match the
site's documentation.  Or that 'ports' is now 'Ports Tree', and that component
is 'Individual Port(s)'....having dug further in what what the other stuff is.

Guess, I'll just stick with send-pr and/or web interface.

[Comment #2] olivierd@FreeBSD.org : 20140611T17:38:17
-------------------------------------------------------------------------------
Re-assign to crees@, sorry Chris.

[Comment #3] crees@FreeBSD.org : 20140611T18:45:21
-------------------------------------------------------------------------------
Hm, does this actually work with our bz though?  I have the update ready to
commit, but have no luck connecting.

bugz -b https://bugs.freebsd.org/bugzilla/xmlrpc.cgi logout
 * Using https://bugs.freebsd.org/bugzilla/xmlrpc.cgi 
 * logging out
Comment 5 Peter Wemm freebsd_committer freebsd_triage 2014-08-03 06:16:05 UTC
Please get the upstream patch for token support from 
bug #192346 to use this with bugs.freebsd.org.
Comment 6 Yasuhiro Kimura freebsd_committer freebsd_triage 2014-08-23 04:22:46 UTC
bug #192346 includes update to 0.10.1 and some more fixes.

*** This bug has been marked as a duplicate of bug 192346 ***