comparison doc/user_guide.txt @ 1089:43ab730ee194

instance -> tracker, node -> item
author Richard Jones <richard@users.sourceforge.net>
date Tue, 10 Sep 2002 00:15:59 +0000
parents 85cc6e6a94b8
children c5819344714c
comparison
equal deleted inserted replaced
1088:32e41ddf2edb 1089:43ab730ee194
1 ========== 1 ==========
2 User Guide 2 User Guide
3 ========== 3 ==========
4 4
5 :Version: $Revision: 1.5 $ 5 :Version: $Revision: 1.6 $
6 6
7 .. contents:: 7 .. contents::
8 8
9 Note: this document will refer to *issues* as the primary store of information 9 Note: this document will refer to *issues* as the primary store of information
10 in the tracker. This is the default of the classic template, bubt may vary in 10 in the tracker. This is the default of the classic template, bubt may vary in
26 | | section. Default is all. | 26 | | section. Default is all. |
27 +-----------+--------------------------------------------------------------+ 27 +-----------+--------------------------------------------------------------+
28 | :columns | selects the columns that should be displayed. | 28 | :columns | selects the columns that should be displayed. |
29 | | Default is all. | 29 | | Default is all. |
30 +-----------+--------------------------------------------------------------+ 30 +-----------+--------------------------------------------------------------+
31 | propname | selects the values the node properties given by propname | 31 | propname | selects the values the item properties given by propname |
32 | | must have (very basic search/filter). | 32 | | must have (very basic search/filter). |
33 +-----------+--------------------------------------------------------------+ 33 +-----------+--------------------------------------------------------------+
34 34
35 Searching 35 Searching
36 ~~~~~~~~~ 36 ~~~~~~~~~
69 If the subject line contains a prefix in ``[square brackets]`` then we're 69 If the subject line contains a prefix in ``[square brackets]`` then we're
70 looking at case 1 or 2 above. Note that any "re:" or "fwd:" prefixes are 70 looking at case 1 or 2 above. Note that any "re:" or "fwd:" prefixes are
71 stripped off the subject line before we start looking for real information. 71 stripped off the subject line before we start looking for real information.
72 72
73 If an item designator (class name and id number, for example ``issue123``) 73 If an item designator (class name and id number, for example ``issue123``)
74 is found there, a new "msg" node is added to the "messages" property for 74 is found there, a new "msg" item is added to the "messages" property for
75 that item, and any new "file" nodes are added to the "files" property for 75 that item, and any new "file" items are added to the "files" property for
76 the item. 76 the item.
77 77
78 If just an item class name is found there, we attempt to create a new item of 78 If just an item class name is found there, we attempt to create a new item of
79 that class with its "messages" property initialized to contain the new "msg" 79 that class with its "messages" property initialized to contain the new "msg"
80 node and its "files" property initialized to contain any new "file" nodes. 80 item and its "files" property initialized to contain any new "file" items.
81 81
82 The third case above - where no ``[information]`` is provided, the tracker's 82 The third case above - where no ``[information]`` is provided, the tracker's
83 ``MAIL_DEFAULT_CLASS`` configuration variable defines what class of item 83 ``MAIL_DEFAULT_CLASS`` configuration variable defines what class of item
84 the message relates to. We try to match the subject line to an existing 84 the message relates to. We try to match the subject line to an existing
85 item of the default class, and if there's a match, the message is related to 85 item of the default class, and if there's a match, the message is related to
124 To do this, incoming messages are examined for multiple parts: 124 To do this, incoming messages are examined for multiple parts:
125 125
126 * In a multipart/mixed message or part, each subpart is extracted and 126 * In a multipart/mixed message or part, each subpart is extracted and
127 examined. The text/plain subparts are assembled to form the textual body 127 examined. The text/plain subparts are assembled to form the textual body
128 of the message, to be stored in the file associated with a "msg" class 128 of the message, to be stored in the file associated with a "msg" class
129 node. Any parts of other types are each stored in separate files and 129 item. Any parts of other types are each stored in separate files and
130 given "file" class nodes that are linked to the "msg" node. 130 given "file" class items that are linked to the "msg" item.
131 * In a multipart/alternative message or part, we look for a text/plain 131 * In a multipart/alternative message or part, we look for a text/plain
132 subpart and ignore the other parts. 132 subpart and ignore the other parts.
133 133
134 If the message is a response to a previous message, and contains quoted 134 If the message is a response to a previous message, and contains quoted
135 sections, then these will be stripped out of the message if the 135 sections, then these will be stripped out of the message if the
136 ``EMAIL_KEEP_QUOTED_TEXT`` configuration variable is set to ``'no'``. 136 ``EMAIL_KEEP_QUOTED_TEXT`` configuration variable is set to ``'no'``.
137 137
138 Message summary 138 Message summary
139 ::::::::::::::: 139 :::::::::::::::
140 140
141 The "summary" property on message nodes is taken from the first non-quoting 141 The "summary" property on message items is taken from the first non-quoting
142 section in the message body. The message body is divided into sections by blank 142 section in the message body. The message body is divided into sections by blank
143 lines. Sections where the second and all subsequent lines begin with a ">" or 143 lines. Sections where the second and all subsequent lines begin with a ">" or
144 "|" character are considered "quoting sections". The first line of the first 144 "|" character are considered "quoting sections". The first line of the first
145 non-quoting section becomes the summary of the message. 145 non-quoting section becomes the summary of the message.
146 146
150 150
151 All of the addresses in the ``To:`` and ``Cc:`` headers of the incoming 151 All of the addresses in the ``To:`` and ``Cc:`` headers of the incoming
152 message are 152 message are
153 looked up among the tracker users, and the corresponding users are placed 153 looked up among the tracker users, and the corresponding users are placed
154 in the 154 in the
155 "recipients" property on the new "msg" node. The address in the ``From:`` header 155 "recipients" property on the new "msg" item. The address in the ``From:`` header
156 similarly determines the "author" property of the new "msg" node. The default 156 similarly determines the "author" property of the new "msg" item. The default
157 handling for addresses that don't have corresponding users is to create new 157 handling for addresses that don't have corresponding users is to create new
158 users with no passwords and a username equal to the address. 158 users with no passwords and a username equal to the address.
159 159
160 The addresses mentioned in the ``To:``, ``From:`` and ``Cc:`` headers of 160 The addresses mentioned in the ``To:``, ``From:`` and ``Cc:`` headers of
161 the message may be added to the `nosy list`_ depending on: 161 the message may be added to the `nosy list`_ depending on:
190 190
191 191
192 Command Line Tool 192 Command Line Tool
193 ----------------- 193 -----------------
194 194
195 Usage: ``roundup-admin [-i instance home] [-u login] [-c] <command> <arguments>`` 195 Usage: ``roundup-admin [-i tracker home] [-u login] [-c] <command> <arguments>``
196 196
197 Options: 197 Options:
198 198
199 -i instance home specify the issue tracker "home directory" to administer 199 -i tracker home specify the issue tracker "home directory" to administer
200 -u the ``user[:password]`` to use for commands 200 -u the ``user[:password]`` to use for commands
201 -c when outputting lists of data, comma-separate them 201 -c when outputting lists of data, comma-separate them
202 202
203 +-----------------------------------------------------------------------------+ 203 +-----------------------------------------------------------------------------+
204 | Command Help | 204 | Command Help |
216 | |name=value arguments provided on the command line after the | 216 | |name=value arguments provided on the command line after the |
217 | |"create" command. | 217 | |"create" command. |
218 +-------------+---------------------------------------------------------------+ 218 +-------------+---------------------------------------------------------------+
219 |display |Usage: display designator | 219 |display |Usage: display designator |
220 | |This lists the properties and their associated values for the | 220 | |This lists the properties and their associated values for the |
221 | |given node. | 221 | |given item. |
222 +-------------+---------------------------------------------------------------+ 222 +-------------+---------------------------------------------------------------+
223 |export |Usage: export class[,class] destination dir | 223 |export |Usage: export class[,class] destination dir |
224 | |This action exports the current data from the database into | 224 | |This action exports the current data from the database into |
225 | |tab-separated-value files that are placed in the nominated | 225 | |tab-separated-value files that are placed in the nominated |
226 | |destination | 226 | |destination |
227 | |directory. The journals are not exported. | 227 | |directory. The journals are not exported. |
228 +-------------+---------------------------------------------------------------+ 228 +-------------+---------------------------------------------------------------+
229 |find |Usage: find classname propname=value ... | 229 |find |Usage: find classname propname=value ... |
230 | |Find the nodes of the given class with a given link property | 230 | |Find the items of the given class with a given link property |
231 | |value. The | 231 | |value. The |
232 | |value may be either the nodeid of the linked node, or its key | 232 | |value may be either the itemid of the linked item, or its key |
233 | |value. | 233 | |value. |
234 +-------------+---------------------------------------------------------------+ 234 +-------------+---------------------------------------------------------------+
235 |get |Usage: get property designator[,designator]* | 235 |get |Usage: get property designator[,designator]* |
236 | |Retrieves the property value of the nodes specified by the | 236 | |Retrieves the property value of the items specified by the |
237 | |designators. | 237 | |designators. |
238 +-------------+---------------------------------------------------------------+ 238 +-------------+---------------------------------------------------------------+
239 |help |Usage: help topic | 239 |help |Usage: help topic |
240 | |commands -- list commands | 240 | |commands -- list commands |
241 | |x -- help specific to a command | 241 | |x -- help specific to a command |
242 | |initopts -- init command options | 242 | |initopts -- init command options |
243 | |all -- all available help | 243 | |all -- all available help |
244 +-------------+---------------------------------------------------------------+ 244 +-------------+---------------------------------------------------------------+
245 |history |Usage: history designator | 245 |history |Usage: history designator |
246 | |Lists the journal entries for the node identified by the | 246 | |Lists the journal entries for the item identified by the |
247 | |designator. | 247 | |designator. |
248 +-------------+---------------------------------------------------------------+ 248 +-------------+---------------------------------------------------------------+
249 |import |Usage: import class file | 249 |import |Usage: import class file |
250 | |The file must define the same properties as the class | 250 | |The file must define the same properties as the class |
251 | |(including having | 251 | |(including having |
252 | |a "header" line with those property names.) The new nodes are | 252 | |a "header" line with those property names.) The new items are |
253 | |added to | 253 | |added to |
254 | |the existing database - if you want to create a new database | 254 | |the existing database - if you want to create a new database |
255 | |using the | 255 | |using the |
256 | |imported data, then create a new database (or, tediously, | 256 | |imported data, then create a new database (or, tediously, |
257 | |retire all | 257 | |retire all |
258 | |the old data.) | 258 | |the old data.) |
259 +-------------+---------------------------------------------------------------+ 259 +-------------+---------------------------------------------------------------+
260 |initialise |Usage: initialise [template [backend [admin password]]] | 260 |initialise |Usage: initialise [template [backend [admin password]]] |
261 | |The command will prompt for the instance home directory (if not| 261 | |The command will prompt for the tracker home directory (if not |
262 | |supplied | 262 | |supplied |
263 | |through INSTANCE HOME or the -i option. The template, backend | 263 | |through INSTANCE HOME or the -i option. The template, backend |
264 | |and admin | 264 | |and admin |
265 | |password may be specified on the command-line as arguments, in | 265 | |password may be specified on the command-line as arguments, in |
266 | |that | 266 | |that |
267 | |order. | 267 | |order. |
268 | | | 268 | | |
269 | |See also initopts help. | 269 | |See also initopts help. |
270 +-------------+---------------------------------------------------------------+ 270 +-------------+---------------------------------------------------------------+
271 |list |Usage: list classname [property] | 271 |list |Usage: list classname [property] |
272 | |Lists all instances of the given class. If the property is not | 272 | |Lists all trackers of the given class. If the property is not |
273 | |specified, the "label" property is used. The label property is| 273 | |specified, the "label" property is used. The label property is|
274 | |tried | 274 | |tried |
275 | |in order: the key, "name", "title" and then the first property,| 275 | |in order: the key, "name", "title" and then the first property,|
276 | |alphabetically. | 276 | |alphabetically. |
277 +-------------+---------------------------------------------------------------+ 277 +-------------+---------------------------------------------------------------+
278 |retire |Usage: retire designator[,designator]* | 278 |retire |Usage: retire designator[,designator]* |
279 | |This action indicates that a particular node is not to be | 279 | |This action indicates that a particular item is not to be |
280 | |retrieved by | 280 | |retrieved by |
281 | |the list or find commands, and its key value may be re-used. | 281 | |the list or find commands, and its key value may be re-used. |
282 +-------------+---------------------------------------------------------------+ 282 +-------------+---------------------------------------------------------------+
283 |rollback |Usage: rollback | 283 |rollback |Usage: rollback |
284 | |The changes made during an interactive session are not | 284 | |The changes made during an interactive session are not |
291 +-------------+---------------------------------------------------------------+ 291 +-------------+---------------------------------------------------------------+
292 |specification|Usage: specification classname | 292 |specification|Usage: specification classname |
293 | |This lists the properties for a given class. | 293 | |This lists the properties for a given class. |
294 +-------------+---------------------------------------------------------------+ 294 +-------------+---------------------------------------------------------------+
295 |table |Usage: table classname [property[,property]*] | 295 |table |Usage: table classname [property[,property]*] |
296 | |Lists all instances of the given class. If the properties are | 296 | |Lists all trackers of the given class. If the properties are |
297 | |not | 297 | |not |
298 | |specified, all properties are displayed. By default, the column| 298 | |specified, all properties are displayed. By default, the column|
299 | |widths | 299 | |widths |
300 | |are the width of the property names. The width may be | 300 | |are the width of the property names. The width may be |
301 | |explicitly defined | 301 | |explicitly defined |
308 | | 3 usability | 308 | | 3 usability |
309 | | 4 feature | 309 | | 4 feature |
310 +-------------+---------------------------------------------------------------+ 310 +-------------+---------------------------------------------------------------+
311 311
312 312
313 All commands (except help) require an instance specifier. This is just the path to 313 All commands (except help) require a tracker specifier. This is just the path to
314 the roundup instance you're working with. A roundup instance is where roundup 314 the roundup tracker you're working with. A roundup tracker is where roundup
315 keeps the database and configuration file that defines an issue tracker. It may be 315 keeps the database and configuration file that defines an issue tracker. It may be
316 thought of as the issue tracker's "home directory". It may be specified in the 316 thought of as the issue tracker's "home directory". It may be specified in the
317 environment variable ``ROUNDUP_INSTANCE`` or on the command line as "``-i instance``". 317 environment variable ``ROUNDUP_INSTANCE`` or on the command line as "``-i
318 318 tracker``".
319 A designator is a classname and a nodeid concatenated, eg. bug1, user10, ... 319
320 A designator is a classname and an itemid concatenated, eg. bug1, user10, ...
320 Property values are represented as strings in command arguments and in the printed 321 Property values are represented as strings in command arguments and in the printed
321 results: 322 results:
322 323
323 - Strings are, well, strings. 324 - Strings are, well, strings.
324 - Password values will display as their encoded value. 325 - Password values will display as their encoded value.
334 "11-07.09:32:43" yyyy-11-07.14:32:43 335 "11-07.09:32:43" yyyy-11-07.14:32:43
335 "14:25" yyyy-mm-dd.19:25:00 336 "14:25" yyyy-mm-dd.19:25:00
336 "8:47:11" yyyy-mm-dd.13:47:11 337 "8:47:11" yyyy-mm-dd.13:47:11
337 "." "right now" 338 "." "right now"
338 339
339 - Link values are printed as node designators. When given as an argument, 340 - Link values are printed as item designators. When given as an argument,
340 node designators and key strings are both accepted. 341 item designators and key strings are both accepted.
341 - Multilink values are printed as lists of node designators joined by 342 - Multilink values are printed as lists of item designators joined by
342 commas. When given as an argument, node designators and key strings are 343 commas. When given as an argument, item designators and key strings are
343 both accepted; an empty string, a single node, or a list of nodes joined 344 both accepted; an empty string, a single item, or a list of items joined
344 by commas is accepted. 345 by commas is accepted.
345 346
346 When multiple nodes are specified to the roundup get or roundup set commands, the 347 When multiple items are specified to the roundup get or roundup set commands, the
347 specified properties are retrieved or set on all the listed nodes. When multiple 348 specified properties are retrieved or set on all the listed items. When multiple
348 results are returned by the roundup get or roundup find commands, they are printed 349 results are returned by the roundup get or roundup find commands, they are printed
349 one per line (default) or joined by commas (with the "``-c``" option). 350 one per line (default) or joined by commas (with the "``-c``" option).
350 351
351 Where the command changes data, a login name/password is required. The login may 352 Where the command changes data, a login name/password is required. The login may
352 be specified as either "``name``" or "``name:password``". 353 be specified as either "``name``" or "``name:password``".

Roundup Issue Tracker: http://roundup-tracker.org/