summaryrefslogtreecommitdiffstats
path: root/doc/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /doc/examples
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/checks/my-vendor/another-check.desc7
-rw-r--r--doc/examples/checks/my-vendor/some-check.desc6
-rw-r--r--doc/examples/lintianrc56
-rw-r--r--doc/examples/profiles/my-vendor/main.profile18
-rw-r--r--doc/examples/tags/m/missing-build-depends-on-my-vendor-tools.desc5
-rw-r--r--doc/examples/tags/m/missing-some-important-file.desc5
6 files changed, 97 insertions, 0 deletions
diff --git a/doc/examples/checks/my-vendor/another-check.desc b/doc/examples/checks/my-vendor/another-check.desc
new file mode 100644
index 0000000..000580e
--- /dev/null
+++ b/doc/examples/checks/my-vendor/another-check.desc
@@ -0,0 +1,7 @@
+Check-Script: my-vendor/another-check
+Author: Niels Thykier <niels@thykier.net>
+Type: binary
+Info: An example binary check
+Needs-Info: unpacked
+Tags:
+ missing-some-important-file
diff --git a/doc/examples/checks/my-vendor/some-check.desc b/doc/examples/checks/my-vendor/some-check.desc
new file mode 100644
index 0000000..40e9cd3
--- /dev/null
+++ b/doc/examples/checks/my-vendor/some-check.desc
@@ -0,0 +1,6 @@
+Check-Script: my-vendor/some-check
+Author: Niels Thykier <niels@thykier.net>
+Type: source
+Info: An example source check
+Tags:
+ missing-build-depends-on-my-vendor-tools
diff --git a/doc/examples/lintianrc b/doc/examples/lintianrc
new file mode 100644
index 0000000..31c51f2
--- /dev/null
+++ b/doc/examples/lintianrc
@@ -0,0 +1,56 @@
+# /etc/lintianrc -- Lintian configuration file
+#
+# Note, that Lintian has reasonable default values for all variables
+# specified below. Thus, you don't have to change this file unless you
+# want something special.
+#
+# Also note, that this file uses a special syntax:
+# Empty lines are allowed, comments are introduced by a hash sign (#).
+# All other lines must have the format
+# VAR=text
+# or
+# VAR="text"
+# or
+# VAR = text
+# It is allowed to use `~' and `$HOME' in the variables, but not other
+# shell/environment variables.
+
+# Enable info tags by default (--display info)
+#display-info = yes
+
+# Limit the number of parallel unpacking jobs to X (--jobs)
+#jobs = 8
+
+# Enable pedantic tags by default (--pedantic)
+#pedantic = yes
+
+# Enable experimental tags by default (--display-experimental)
+#display-experimental = yes
+
+# Enable colored output for terminal output (--color)
+#color = auto
+
+# Show overridden tags (--show-overrides)
+#show-overrides = yes
+
+# Ignore all overrides (--no-override)
+#override = no
+
+# Verbose output by default (--verbose)
+#verbose = yes
+
+# Quiet by default (--quiet)
+#quiet = yes
+
+# Use a different directory for temporary files - useful if /tmp is a
+# tmpfs with "limited" capacity.
+#TMPDIR="/var/tmp"
+
+# Suppress the listed tags (--suppress-tags)
+#suppress-tags = debian-watch-does-not-check-openpgp-signature
+
+# Suppress the tags listed in the specified file (--suppress-tags-from-file)
+#suppress-tags-from-file = /path/to/file.txt
+
+# Specify "tag per package" display limit (--tag-display-limit)
+#tag-display-limit = 42
diff --git a/doc/examples/profiles/my-vendor/main.profile b/doc/examples/profiles/my-vendor/main.profile
new file mode 100644
index 0000000..484e362
--- /dev/null
+++ b/doc/examples/profiles/my-vendor/main.profile
@@ -0,0 +1,18 @@
+# The default profile for "my-vendor"
+Profile: my-vendor/main
+# It has all the checks and settings from the "debian" profile
+Extends: debian/main
+# Add checks specific to "my-vendor"
+Enable-Tags-From-Check:
+ my-vendor/some-check,
+ my-vendor/another-check,
+# Disable a tag
+Disable-Tags: dir-or-file-in-opt
+
+# Bump severity of no-md5sums-control-file
+# and file-missing-in-md5sums and make them
+# non-overridable
+Tags: no-md5sums-control-file,
+ file-missing-in-md5sums,
+Severity: serious
+Overridable: no
diff --git a/doc/examples/tags/m/missing-build-depends-on-my-vendor-tools.desc b/doc/examples/tags/m/missing-build-depends-on-my-vendor-tools.desc
new file mode 100644
index 0000000..e43de8f
--- /dev/null
+++ b/doc/examples/tags/m/missing-build-depends-on-my-vendor-tools.desc
@@ -0,0 +1,5 @@
+Tag: missing-build-depends-on-my-vendor-tools
+Severity: serious
+Certainty: certain
+Info: The package name starts with "my-vendor-" and is missing a
+ Build-Depends on my-vendor-tools.
diff --git a/doc/examples/tags/m/missing-some-important-file.desc b/doc/examples/tags/m/missing-some-important-file.desc
new file mode 100644
index 0000000..8876e53
--- /dev/null
+++ b/doc/examples/tags/m/missing-some-important-file.desc
@@ -0,0 +1,5 @@
+Tag: missing-some-important-file
+Severity: serious
+Certainty: certain
+Info: The package is missing a very important file, which
+ is required for all packages of my-vendor.