Debian Codegraph @

data/share/man/man5/pybugz.d.5

raw
1 .\" Hey, Emacs! This is an -*- nroff -*- source file.
2 .\" Copyright (c) 2014 William Hubbs
3 .\" This is free software; see the GNU General Public Licence version 2
4 .\" or later for copying conditions. There is NO warranty.
5 .TH pybugz.d 5 "20 Jan 2013" "0.12"
6 .nh
7 .SH NAME
8 pybugz.d - configuration files for pybugz
9 .SH SYNOPSIS
10 .B /usr/share/pybugz.d/*.conf
11 .PP
12 .B /etc/pybugz.d/*.conf
13 .PP
14 .B ~/.bugzrc
15 .\" .SH OPTIONS
16 .\" .TP
17 .\" .B \-o value, \-\^\-long=value
18 .\" Describe the option.
19 .SH DESCRIPTION
20 When started, bugz reads configuration files from all of the locations
21 listed above, in the order listed. In the directories, it reads the
22 files in lexical order.
23 .PP
24 Files located in /usr/share/pybugz.d/*.conf are provided by pybugz
25 and should not be modified.
26 .PP
27 Files located in /etc/pybugz.d/*.conf, if it exists, are provided by the
28 system administrator.
29 .PP
30 The final file that is read, if it exists, is ~/.bugzrc by default. This
31 is the user-specific configuration file. This file name can be
32 overridden on the command line by using the --config-file option.
33 .SH CONFIGURATION FILE FORMAT
34 A configuration file consists of sections which define parameters for
35 the Bugzillas you intend to use. Each section starts with a
36 case-sensitive section name in square brackets and is followed by the
37 settings, in the form "key = value" or "key : value", which define the
38 parameters for this bugzilla instance.
39 .PP
40 The section name is also the name that should be
41 used with the --connection option of the bugz command or the
42 "connection" setting in the default section of the configuration file.
43 .PP
44 The section named [default] is special. Any settings defined in this
45 section will have the value they are given here in all other sections
46 unless they are overridden. So, for example, if you want to use the
47 same username for most of your bugzillas, define user in the default
48 section.
49 .PP
50 Comments are also allowed. A comment must begin with "#" or ";" and be
51 on a line of its own.
52 .SH CONFIGURATION SETTINGS
53 This is a list of the current settings supported by pybugz.
54 .PP
55 connection = sectionname
56 .PP
57 This is used in the default section to define the bugzilla you connect
58 with most of the time. It is not an error to put it in another section,
59 but it does not make much sense to do so.
60 .PP
61 base = http://my.project.com/bugzilla/xmlrpc.cgi
62 .PP
63 base = http://myhttpname:[email protected]/bugzilla/xmlrpc.cgi
64 .PP
65 This is the base URL of the bugzilla. It must point to the xmlrpc.cgi
66 script on the bugzilla installation. The second form is used if you need
67 to encode a username and password into the URL for basic http
68 authentication.
69 .PP
70 user = [email protected]
71 .PP
72 password = secret2
73 .PP
74 These set your username and password for this bugzilla. If you do not
75 provide one or both of these and you do not use the key setting below,
76 you will be prompted for the setting you do not provide.
77 .PP
78 passwordcmd = gpg --decrypt ~/.my-encrypted-password.gpg
79 .PP
80 As another alternative for storing your password, you can provide a
81 password command. This command will be run, and pybugz expects it to
82 output the password to stdout. The example above uses gpg to decrypt an
83 encrypted password stored in a file. The default setting is undefined,
84 so it will not be used unless you define it.
85 .PP
86 key = string
87 .PP
88 This is your API key, which is an alternative way to authenticate for Bugzilla
89 5.0 and newer.
90 To use this, you must generate an API key in the preferences section of
91 Bugzilla and set it to that value. This overrides the username and
92 password settings. The default is undefined.
93 .PP
94 columns = 80
95 .PP
96 This is the number of columns your terminal can display. Most of the
97 time, pybugz should be able to determine this value. If it cannot, the
98 default value is 80, so more than likely you will never have to change
99 this setting.
100 .PP
101 debug = 0
102 .PP
103 This sets the level of debug logging. This is mostly used for
104 development purposes. It causes PyBugz to print out debugging information
105 as it runs.
106 .PP
107 quiet = False
108 .PP
109 If set to true, this requests that pybugz run in quiet mode. This means
110 only output returned from the Bugzilla will be displayed; several more
111 verbose log messages will not be displayed.
112 .PP
113 product = string
114 .PP
115 This is the default setting for the product field in bugs in this
116 Bugzilla instance. It is possible to define this in the default section.
117 However, it does not make sense to do so most of the time. If this is
118 set, you will not be prompted for a product when you run bugz post, and
119 this value will also be the default for bugz search.
120 .PP
121 component = string
122 .PP
123 This is the default setting for the component field in bugs in this
124 Bugzilla instance. It is possible to define this in the default section.
125 However, it does not make sense to do so most of the time. If this is
126 set, you will not be prompted for a component when you run bugz post,
127 and this will also be the default value for bugz search.
128 .PP
129 search_statuses = confirmed, in_progress, unconfirmed
130 .PP
131 This sets the default statuses to be used in a search command. It is a
132 space separated list of Bugzilla statuses.
133 .PP
134 insecure = true | false
135 .PP
136 If this is set to true, pybugz will not validate the ssl certificate
137 used during an https connection to this site. Do not use this setting
138 unless you know exactly what you are doing.
139 .PP
140 interactive = true | false
141 .PP
142 If this is set to true, pybugz will prompt for a username and password
143 for the bugzilla you are attempting to connect to if no credentials
144 are specified in the configuration file.
145 The default setting is false.
146 .SH BUGS
147 .PP
148 The home page of this project is http://www.github.com/williamh/pybugz.
149 Bugs should be reported to the bug tracker there.
150 .SH SEE ALSO
151 .PP
152 \fBbugz\fR(1)
153 .SH AUTHOR
154 .PP
155 William Hubbs <[email protected]>