~siretart/sbuild/bug.940410

« back to all changes in this revision

Viewing changes to man/sbuild-stats.1.in

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2012-06-23 22:27:58 UTC
  • mfrom: (8.1.24) (3.3.23 sid)
  • Revision ID: package-import@ubuntu.com-20120623222758-48ljspppdh7xzu9i
Tags: 0.63.1-1ubuntu1
* Resynchronize with Debian testing. Remaining changes:
  - debian/patches/do-not-install-debfoster-into-chroots.patch:
    do not install debfoster into the chroots because it is in universe and
    not needed for package building itself.
  - debian/patches/run-pre-build-hooks-as-root.patch:
    run pre-build hooks as root
* Drop run-lintian-inside-chroot.patch: It hasn't been picked up
  by Debian and doesn't work quite right (LP: #940410)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" Copyright © 1998  James Troup <james@nocrew.org>
2
 
.\" Copyright © 2006-2008  Roger Leigh <rleigh@debian.org>
3
 
.\"
4
 
.\" This program is free software: you can redistribute it and/or modify
5
 
.\" it under the terms of the GNU General Public License as published by
6
 
.\" the Free Software Foundation, either version 2 of the License, or
7
 
.\" (at your option) any later version.
8
 
.\"
9
 
.\" This program is distributed in the hope that it will be useful, but
10
 
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
11
 
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
 
.\" General Public License for more details.
13
 
.\"
14
 
.\" You should have received a copy of the GNU General Public License
15
 
.\" along with this program.  If not, see
16
 
.\" <http://www.gnu.org/licenses/>.
17
 
.so defs.man
18
 
.TH SBUILD\-STATS 1 "\*[RELEASE_DATE]" "Version \*[VERSION]" "Debian sbuild"
19
 
.SH NAME
20
 
sbuild\-stats \- display or alter database of package build times/space
21
 
.SH SYNOPSIS
22
 
.B sbuild\-stats
23
 
.RB [ \-h \[or] \-\-help " \[or] " \-V \[or] \-\-version
24
 
.RB " \[or] " "\-a PACKAGE TIME" \[or] "\-\-add PACKAGE TIME"
25
 
.RB " \[or] [" \-d \[or] \-\-delete " \[or] " \-\-dump ]
26
 
.BR PACKAGE1 " [" PACKAGE2 " [" PACKAGE\f[BI]n\fP... ]]]
27
 
.RB [ \-t \[or] \-\-time " \[or] " \-s \[or] \-\-space ]
28
 
.RB \-\-top ]
29
 
.SH VERSION
30
 
This man page documents the packaged version of sbuild.  This version is
31
 
maintained by the \fBbuildd-tools\fP project developers on Alioth
32
 
(\f[CR]https://alioth.debian.org/projects/buildd\-tools/\fP).
33
 
.SH DESCRIPTION
34
 
\fBsbuild\-stats\fR displays or alters data from a database of package build
35
 
times or space, usually updated by sbuild.  Note: sbuild\-stats was previously
36
 
known as avg\-pkg\-build\-time and avg\-pkg\-build\-space.  When invoked with
37
 
the old names, the database is defaulted to either the build-time or
38
 
build-space database, as if the \fI\-\-time\fP or \fI\-\-space\fP options had
39
 
been used, respectively.
40
 
.PP
41
 
If no option other than the database to use is given, \fBsbuild\-stats\fR will
42
 
display the entire contents of the database.
43
 
.PP
44
 
The database files are only used if they already exist.  See
45
 
\fIREADME.Debian\fP for more information.
46
 
.PP
47
 
.SH OPTIONS
48
 
.SS Actions
49
 
.TP
50
 
.BR \-h ", " \-\-help
51
 
Display this manual.
52
 
.TP
53
 
.BR \-V ", " \-\-version
54
 
Print version information.
55
 
.TP
56
 
.BR \-a ", " "\-\-add PACKAGE TIME"
57
 
Add an entry for a package. <time> is in the format HH:MM:SS, where
58
 
hours and minutes are optional.
59
 
.TP
60
 
.BR \-d ", " "\-\-delete PACKAGE1" " [" PACKAGE2 " [" PACKAGE\f[BI]n\fP... ]]]
61
 
Remove the data for a package from the database.
62
 
.TP
63
 
.BR \-\-dump " [" PACKAGE1 " [" PACKAGE2 " [" PACKAGE\f[BI]n\fP... ]]]
64
 
Output the contents of the database in unprocessed form.  If no packages are
65
 
given, the entire database will be output.
66
 
.SS Database selection
67
 
.TP
68
 
.BR \-t ", " "\-\-time"
69
 
Display build-time database.
70
 
.TP
71
 
.BR \-s ", " "\-\-space"
72
 
Display build-space database.
73
 
.SS Sorting
74
 
.TP
75
 
.BR "\-\-top"
76
 
Sort the output by build time; longest build first.
77
 
.SH ENVIRONMENT VARIABLES
78
 
The following environment variables are used by \fBsbuild\-stats\fR:
79
 
.IP HOME
80
 
The home directory of the user.
81
 
.SH FILES
82
 
\fBsbuild\-stats\fR reads the sbuild configuration files
83
 
\fI/etc/sbuild/sbuild.conf\fP and \fI~/.sbuildrc\fP (if it exists) to discover
84
 
the location of the databases, which are usually located under
85
 
\fI/var/lib/sbuild\fP.
86
 
.SH EXAMPLES
87
 
To view the average build time for the \fIkoffice\fP package:
88
 
.PP
89
 
\f[CR]% \f[CB]sbuild-stats --time koffice\fP\fP
90
 
.br
91
 
koffice:                02:44:55 (1 entry, sigma 00:00:00)
92
 
.PP
93
 
To view the average build space for the \fIkoffice\fP package:
94
 
.PP
95
 
\f[CR]% \f[CB]sbuild-stats --space koffice\fP\fP
96
 
.br
97
 
koffice:                1597724k (1597724k latest)
98
 
.br
99
 
.SH AUTHORS
100
 
.nf
101
 
Roman Hodek.
102
 
Roger Leigh.
103
 
.fi
104
 
.SH COPYRIGHT
105
 
.nf
106
 
Copyright \[co] 2006\[en]2008 Roger Leigh <rleigh@debian.org>.
107
 
Copyright \[co] 1998 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>.
108
 
.fi
109
 
.SH "SEE ALSO"
110
 
.BR sbuild (1),
111
 
.BR sbuild\-apt (1),
112
 
.BR sbuild\-upgrade (1).
113
 
.\"#
114
 
.\"# The following sets edit modes for GNU EMACS
115
 
.\"# Local Variables:
116
 
.\"# mode:nroff
117
 
.\"# fill-column:79
118
 
.\"# End: