1
.\" Copyright © 1998 James Troup <james@nocrew.org>
2
.\" Copyright © 2006 Roger Leigh <rleigh@debian.org>
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.
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.
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
.TH SBUILD\-STATS 1 "@RELEASE_DATE@" "Version @VERSION@" "Debian sbuild"
19
sbuild\-stats \- display or alter database of package build times/space
22
.B avg\-pkg\-build\-time
23
.B avg\-pkg\-build\-space
24
[\-s/\-\-space] [\-a/\-\-add <package name> <time>] [\-\-delete <package name>] [\-\-dump] [\-t/\-\-top]
26
This man page documents the packaged version of sbuild. This version is
27
maintained by the \fBbuildd-tools\fP project developers on Alioth
28
(\f[CR]https://alioth.debian.org/projects/buildd\-tools/\fP).
30
\fBsbuild\-stats\fR displays or alters data from a database of package build
31
times or space, usually updated by sbuild. Note: sbuild\-stats was previously
32
known as avg\-pkg\-build\-time and avg\-pkg\-build\-space. When invoked with
33
the old names, the database is defaulted to either the build-time or
34
build-space database, as if the \fI\-\-time\fP or \fI\-\-space\fP options had
35
been used, respectively.
37
If no option other than the database to use is given, \fBsbuild\-stats\fR will
38
display the entire contents of the database.
40
The database files are only used if they already exist. See
41
\fIREADME.Debian\fP for more information.
45
.IR \-a , "\-\-add <package name> <time>"
46
Add an entry for a package. <time> is in the format HH:MM:SS, where
47
hours and minutes are optional.
49
.IR "\-\-delete <package name>"
50
Remove the data for a package from the database.
53
Output the contents of the database in unprocessed form.
56
Display build-time database.
59
Display build-space database.
62
Sort the output by build time; longest build first.
63
.SH ENVIRONMENT VARIABLES
64
The following environment variables are used by \fBsbuild\-stats\fR:
66
The home directory of the user.
68
\fBsbuild\-stats\fR reads the sbuild configuration files
69
\fI/etc/sbuild/sbuild.conf\fP and \fI~/.sbuildrc\fP (if it exists) to discover
70
the location of the databases, which are usually located under
71
\fI/var/lib/sbuild\fP.
73
To view the average build time for the \fIkoffice\fP package:
75
\f[CR]% \f[CB]sbuild-stats --time koffice\fP\fP
77
koffice: 02:44:55 (1 entry, sigma 00:00:00)
79
To view the average build space for the \fIkoffice\fP package:
81
\f[CR]% \f[CB]sbuild-stats --space koffice\fP\fP
83
koffice: 1597724k (1597724k latest)
84
\f[CR]% \f[CB]sbuild\-update unstable\fP\fP
93
Copyright \[co] 2006\[en]2007 Roger Leigh <rleigh@debian.org>.
94
Copyright \[co] 1998 Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>.
99
.BR sbuild\-upgrade (1).
101
.\"# The following sets edit modes for GNU EMACS
102
.\"# Local Variables: