[lintian] 01/01: r/config: Add more documentation and updates some values
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit a140bc16b743180d631a60097912433545ddae6a
Author: Niels Thykier <niels@thykier.net>
Date: Sun Mar 29 11:55:42 2015 +0200
r/config: Add more documentation and updates some values
Signed-off-by: Niels Thykier <niels@thykier.net>
---
reporting/config | 48 +++++++++++++++++++++++++++++++++++++-----------
1 file changed, 37 insertions(+), 11 deletions(-)
diff --git a/reporting/config b/reporting/config
index 991d21a..d67a208 100644
--- a/reporting/config
+++ b/reporting/config
@@ -1,18 +1,40 @@
# Hey emacs! This is a -*- Perl -*- script!
# config -- configuration file for Lintian reporting harness
+#
+# This is based on the configuration for creating the lintian.debian.org
+# reports.
+# Common path used by several other variables. The reporting framework
+# does not use this directly, so this is just a convenience.
$HOME = "/srv/lintian.debian.org";
-$LINTIAN_ARCHIVEDIR = "/srv/ftp.debian.org/ftp";
+
+# Location of the local package mirror.
+$LINTIAN_ARCHIVEDIR = "/srv/mirrors/debian";
+
+# Name of the mirror in mirror. Should be a file in
+# $LINTIAN_ARCHIVEDIR/project/trace. This is used to
+# determine when the mirror was last updated.
$LINTIAN_MIRROR_NAME = "ftp-master.debian.org";
-$LINTIAN_DIST = "sid";
-$LINTIAN_AREA = "main";
-$LINTIAN_ARCH = "i386";
-$LINTIAN_ROOT = "$HOME/root";
+
+# Comma-separated list of what we are checking from the mirror
+$LINTIAN_DIST = "sid,experimental";
+$LINTIAN_AREA = "main,contrib,non-free";
+$LINTIAN_ARCH = "i386,amd64";
+
+# If true, copy the docs (e.g. the manual) into $HTML_DIR
+# instead of just symlinking to them. If you build the
+# reports on one server and then push to another server
+# for serving the website, you will generally need to
+# copy the documents.
+$COPY_DOCS = 1;
+
+# Path to a source checkout of lintian
+$LINTIAN_ROOT = "$HOME/lintian";
# if you want to use a permanent lab, set $USE_PERMANENT_LAB to 1
# and define $LINTIAN_LAB to the location of the lab.
-# Note that the storage requirements for $LINTIAN_LAB be rather
+# Note that the storage requirements for $LINTIAN_LAB are rather
# high (both in disk space and inodes).
# - especially if you add "-Uunpacked" to @EXTRA_LINTIAN_OPTIONS
@@ -23,30 +45,34 @@ $LINTIAN_LAB = "$HOME/laboratory";
# "temporary" data. With $USE_PERMANENT_LAB set to 0, this will
# be the directory where lintian creates its "throw-away"
# laboratories
+# - Defaults to /tmp or ENV{TMPDIR} if not defined.
$LINTIAN_SCRATCH_SPACE = "$HOME/scratch";
$LOG_DIR = "$HOME/logs";
$HTML_DIR = "$HOME/www";
$HTML_TMP_DIR = "$HTML_DIR.new";
$HARNESS_STATE_DIR = "$HOME/harness-state";
-$COPY_DOCS = 0;
+
# Link to the Lintian source code
$LINTIAN_SOURCE = "https://anonscm.debian.org/cgit/lintian/lintian.git";
-$HISTORY = 0;
+# Whether (or not) the reporting tools should collect historical data
+$HISTORY = 1;
+# Where to place historical data
$HISTORY_DIR = "$HOME/history";
# Whether or not to create graphs from $HISTORY
-# Requires that $HISTORY is enabled.
+# - Requires that $HISTORY is enabled.
$GRAPHS = 1;
# Make graphs of the data in the time interval
# [today() - $GRAPHS_RANGE_DAYS ; now()]
$GRAPHS_RANGE_DAYS = 240;
# Extra options passed to Lintian
-# - note that some options cannot/should be used
+# - note that some options cannot/should not be used
# (e.g. --cfg will be ignored)
-@EXTRA_LINTIAN_OPTIONS = ('-U', 'changelog-file');
+#
+# @EXTRA_LINTIAN_OPTIONS = ('--jobs', '2');
1;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: