table of contents
PEPPER(1) | User commands | PEPPER(1) |
NAME¶
pepper - Repository statistics and report tool
SYNOPSIS¶
pepper [options] report [report options] [repository]
DESCRIPTION¶
pepper is a command-line tool for retrieving statistics and generating reports from source code repositories. If invoked with valid options,it runs a lua(1) script given by report on the given repository, producing textual or graphical output.
If the report argument doesn’t point to a lua(1) report script, a number of paths will be searched for a report with the given name (see ENVIRONMENT VARIABLES). Thus, the built-in reports can be launched by specifying their name only. Report-specific options can be passed as report options following the report script name. To retrieve a listing of options supported by the respective report, pass --help as described in OPTIONS.
If no repository argument is present, the current directory will be used. Normally, the type of the repository is automatically detected, and an appropriate backend implementation will be selected. Some backends provide additional options, e.g. user authentication for remote repositories. Those options will be listed if you pass the --help flag as described in OPTIONS.
OPTIONS¶
-?, -h, --help
-q, --quiet
-v, --verbose
--no-cache
--list-reports
--list-backends
-bARG, --backend=ARG
REVISION CACHE¶
pepper uses a local revision cache, located at $HOME/.pepper/cache. It contains meta-data and diffstats of revisions that have been requested in previous invocations of the program.
If the program complains that your revision cache is invalid (probably because of abnormal program termination or power failure), please run the check_cache report to fix it and remove faulty revisions.
ENVIRONMENT VARIABLES¶
PEPPER_REPORTS
PEPPER_CACHEDIR
EXAMPLES¶
Let’s assume that the current directory is the repository of interest.
pepper --list-reports
pepper loc
pepper loc --type=png --output=loc.png
pepper authors -n4 --tags="2.6.[0-9]*$"
pepper --username=user commit_counts --period=14d http://svn.example.org
pepper shortlog --branch=stable --summary
CUSTOM REPORTS¶
pepper provides an API for writing custom report scripts in lua(1). The pepper homepage at http://scm-pepper.sourceforge.net contains more information about this topic, including a scripting tutorial covering common tasks and an API reference manual.
EXIT STATUS¶
0 on success, 1 on failure. Any error messages, warnings and progress will be printed to stderr.
SEE ALSO¶
AUTHOR¶
Copyright © 2010-present Jonas Gehring <jonas.gehring@boolsoft.org>. Released under the GNU General Public License.
08/08/2019 | pepper 0.3.3 |