File: buildbot.1

package info (click to toggle)
buildbot 4.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,080 kB
  • sloc: python: 174,183; sh: 1,204; makefile: 332; javascript: 119; xml: 16
file content (507 lines) | stat: -rw-r--r-- 8,455 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
.\" This file is part of Buildbot.  Buildbot is free software: you can
.\" redistribute it and/or modify it under the terms of the GNU General Public
.\" License as published by the Free Software Foundation, version 2.
.\" 
.\" This program is distributed in the hope that it will be useful, but WITHOUT
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
.\" FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
.\" details.
.\" 
.\" You should have received a copy of the GNU General Public License along with
.\" this program; if not, write to the Free Software Foundation, Inc., 51
.\" Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
.\" 
.\" Copyright Buildbot Team Members

.TH BUILDBOT "1" "August 2010" "Buildbot" "User Commands"
.SH NAME
buildbot \- a tool for managing buildbot master instances
.SH SYNOPSIS
.SS General Invocation
.PP
.B buildbot
[
.BR "global options"
]
.I command
[
.BR "command options"
]
.PP
.B buildbot
.I command
.BR \-h | \-\-help
.SS Command Options
.PP
.B buildbot
create-master
[
.BR \-q | \-\-quiet
]
[
.BR \-f | \-\-force
]
[
.BR \-r | \-\-relocatable
]
[
.BR \-n | \-\-no-logrotate
]
[
.BR \-s | \-\-log-size
.I SIZE
]
[
.BR \-l | \-\-log-count
.I COUNT
]
[
.BR \-c | \-\-config
.I CONFIG
]
[
.BR \-\-db
.I DATABASE
]
[
.I PATH
]
.PP
.B buildbot
upgrade-master
[
.BR \-q | \-\-quiet
]
[
.BR \-r | \-\-replace
]
[
.BR \-\-db
.I DATABASE
]
[
.I PATH
]
.PP
.B buildbot
[
.BR \-\-verbose
]
{
.BR start | stop | restart | sighup | reconfig
}
[
.I PATH
]
.PP
.B buildbot
sendchange
[
.BR \-m | \-\-master
.I MASTER
]
[
.BR \-u | \-\-username
.I USERNAME
]
[
.BR \-R | \-\-repository
.I REPOSITORY
]
[
.BR \-P | \-\-project
.I PROJECT
]
[
.BR \-b | \-\-branch
.I BRANCH
]
[
.BR \-C | \-\-category
.I CATEGORY
]
[
.BR \-r | \-\-revision
.I REVISION
]
[
.BR \-\-revision-file
.I REVISIONFILE
]
[
.BR \-p | \-\-property
.I PROPERTY
]
[
.BR \-c | \-\-comments
.I MESSAGE
]
[
.BR \-F | \-\-logfile
.I LOGFILE
]
[
.BR \-w | \-\-when
.I TIMESTAMP
]
.IR FILES ...
.PP
.B buildbot
try
[
.BR \-\-wait
]
[
.BR \-n | \-\-dry-run
]
[
.BR \-\-get-builder-names
]
[
.BR \-c | \-\-connect
{ssh|pb}
]
[
.BR \-\-tryhost
.I HOSTNAME
]
[
.BR \-\-trydir
.I PATH
]
[
.BR \-m | \-\-master
.I MASTER
]
[
.BR \-u | \-\-username
.I USERNAME
]
[
.BR \-\-passwd
.I PASSWORD
]
[
.BR \-\-diff
.I DIFF
]
[
.BR \-\-patchlevel
.I PATCHLEVEL
]
[
.BR \-\-baserev
.I BASEREV
]
[
.BR \-\-vc
{cvs|svn|tla|baz|darcs|p4}
]
[
.BR \-\-branch
.I BRANCH
]
[
.BR \-b | \-\-builder
.I BUILDER
]
[
.BR \-\-properties
.I PROPERTIES
]
[
.BR \-\-try-topfile
.I FILE
]
[
.BR \-\-try-topdir
.I PATH
]
.PP
.B buildbot
tryserver
[
.BR \-\-jobdir
.I PATH
]
.PP
.B buildbot
checkconfig
[
.I CONFIGFILE
]
.PP
.B buildbot
[
.BR \-\-verbose
]
{
.BR start | stop | restart | sighup | reconfig
}
[
.I PATH
]
.PP
.B buildbot
[
.BR \-\-verbose
]
{
.BR \-\-help | \-\-version
}

.SH DESCRIPTION
The `buildbot' command-line tool can be used to start or stop a
buildmaster and to interact with a running buildmaster instance.
Some of its subcommands are intended for buildmaster admins, while
some are for developers who are editing the code that the buildbot is
monitoring.

.SH OPTIONS
.SS Commands
.TP
.BR create-master
Create and populate a directory for a new buildmaster
.TP
.BR upgrade-master
Upgrade an existing buildmaster directory for the current version
.TP
.BR start
Start a buildmaster
.TP
.BR stop
Stop a buildmaster
.TP
.BR restart
Restart a buildmaster
.TP
.BR sighup | reconfig
Send SIGHUP signal to buildmaster to make it re-read the config file
.TP
.BR sendchange
Send a change to the buildmaster
.TP
.BR try
Run a build with your local changes. This command requires in-advance
configuration of the buildmaster to accept such build requests. Please
see the documentation for details about this command.
.TP
.BR tryserver
buildmaster-side \'try\' support function, not for users
.TP
.BR checkconfig
Validate buildbot master config file.

.SS Global options
.TP
.BR \-h | \-\-help
Print the list of available commands and global options.
All subsequent commands are ignored.
.TP
.BR --version
Print Buildbot and Twisted versions.
All subsequent commands are ignored.
.TP
.BR --verbose
Verbose output.

.SS create-master command options
.TP
.BR \-q | \-\-quiet
Do not emit the commands being run
.TP
.BR \-f | \-\-force
Re-use an existing directory (will not overwrite master.cfg file)
.TP
.BR \-r | \-\-relocatable
Create a relocatable buildbot.tac
.TP
.BR \-n | \-\-no-logrotate
Do not permit buildmaster rotate logs by itself.
.TP
.BR \-c | \-\-config
Set name of the buildbot master config file to
.IR CONFIG .
Default file name is master.cfg.
.TP
.BR \-s | \-\-log-size
Set size at which twisted lof file is rotated to
.I SIZE
bytes.
Default value is 1000000 bytes.
.TP
.BR \-l | \-\-log-count
Limit the number of kept old twisted log files to
.IR COUNT .
All files are kept by default.
.TP
.BR \-\-db
Set the database connection for storing scheduler/status state to
.IR DATABASE .
Default value is
.BR "sqlite:///state.sqlite" .
.TP
.I PATH
Directory where buildbot master files will be stored.

.SS upgrade-master command options
.TP
.BR \-q | \-\-quiet
Do not emit the commands being run.
.TP
.BR \-r | \-\-replace
Replace any modified files without confirmation.
.TP
.BR \-\-db
Set the database connection for storing scheduler/status state to
.IR DATABASE .
Default value is
.BR "sqlite:///state.sqlite" .
.TP
.I PATH
Directory where buildbot master files are stored.

.SS sendchange command options
.TP
.B \-\-master
Set the location of buildmaster's PBChangeSource to attach to in form
.IR HOST : PORT .
.TP
.BR \-u | \-\-username
Set committer's username to
.IR USERNAME .
.TP
.BR \-R | \-\-repository
Set repository URL to
.IR REPOSITORY .
.TP
.BR \-P | \-\-project
Set project specifier to
.IR PROJECT .
.TP
.BR \-b | \-\-branch
Set branch name to
.IR BRANCH .
.TP
.BR \-c | \-\-category
Set category of repository to
.IR CATEGORY .
.TP
.BR \-r | \-\-revision
Set revision being built to
.IR REVISION .
.TP
.BR \-\-revision-file
Use
.I REVISIONFILE
file to read revision spec data from.
.TP
.BR \-p | \-\-property
Set property for the change to
.IR PROPERTY .
It should be in format
.IR NAME : VALUE .
.TP
.BR \-m | \-\-comments
Set log message to
.IR MESSAGE .
.TP
.BR \-F | \-\-logfile
Set logfile to
.IR LOGFILE .
.TP
.BR \-w | \-\-when
Set timestamp used as the change time to
.IR TIMESTAMP .
.TP
.I FILES
Lis of files have been changed.

.SS try command options
.TP
.BR \-\-wait
Wait until the builds have finished.
.TP
.BR \-n | \-\-dry-run
Gather info, but don't actually submit.
.TP
.BR \-\-get-builder-names
Get the names of available builders.
Doesn't submit anything.
Only supported for 'pb' connections.
.TP
.BR \-c | \-\-connect
Connection type.
Can be either \'ssh\' or \'pb\'.
.TP
.BR \-\-tryhost
Set the hostname (used by ssh) for the buildmaster to
.IR HOSTNAME .
.TP
.BR \-\-trydir
Specify trydir (on the tryhost) where tryjobs are deposited.
.TP
.BR \-m | \-\-master
Set the location of the buildmaster's try scheduler in form
.IR HOST : PORT
.TP
.BR \-u | \-\-username
Set the username performing the trial build to
.IR USERNAME .
.TP
.BR \-\-passwd
Set password for PB authentication to
.IR PASSWORD .
.TP
.BR \-\-diff
Use
.I DIFF
file to use as a patch instead of scanning a local tree.
Use \'-\' for stdin.
.TP
.BR \-\-patchlevel
Specify the patchlevel to apply with.
Defaults to 0.
See
.BR patch
for details.
.TP
.BR \-\-baserev
Use
.I BASEREV
revision instead of scanning a local tree.
.TP
.BR \-\-vc
Specify version control system in use.
Possible values: cvs, svn, tla, baz, darcs, p4.
.TP
.BR \-\-branch
Specify the branch in use, for VC systems that can't figure it out themselves.
.TP
.BR \-b | \-\-builder
Run the trial build on the specified Builder. Can be used multiple times.
.TP
.BR \-\-properties
Specify the set of properties made available in the build environment in format
.IR prop1 = value1 , prop2 = value2 ...
.TP
.BR \-\-try-topfile
Specify name of a file at the top of the tree.
This option is used to find the top.
Only needed for SVN and CVS.
.TP
.BR \-\-try-topdir
Specify the path to the top of the working copy.
Only needed for SVN and CVS.

.SS tryserver command options
.TP
.BR \-\-jobdir
The jobdir (maildir) for submitting jobs
.SH FILES
.TP
master.cfg
Buildbot master configuration file
.SH "SEE ALSO"
.BR buildbot-worker (1),
.BR patch (1)