[SCM] Debian package checker branch, master, updated. 2.5.10-127-g14dfe59
The following commit has been merged in the master branch:
commit 14dfe59da5b26f674c20998cb9eccb2d263aecef
Author: Niels Thykier <niels@thykier.net>
Date: Thu Sep 6 13:36:06 2012 +0200
Profile: Add a bit of documentation
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/lib/Lintian/Profile.pm b/lib/Lintian/Profile.pm
index e128c24..01c8fd1 100644
--- a/lib/Lintian/Profile.pm
+++ b/lib/Lintian/Profile.pm
@@ -37,6 +37,9 @@ Lintian::Profile - Profile parser for Lintian
# Load the debian profile (if available)
my $profile = Lintian::Profile->new ('debian', $ENV{'LINTIAN_ROOT'});
+ # Load the debian profile using an explicit search path
+ $profile = Lintian::Profile->new ('debian', $ENV{'LINTIAN_ROOT'},
+ ['/path/to/profiles', "$ENV{'LINTIAN_ROOT'}/profiles"])
# Load the "default" profile for the current vendor
$profile = Lintian::Profile->new (undef, $ENV{'LINTIAN_ROOT'});
foreach my $tag ($profile->tags) {
@@ -46,7 +49,8 @@ Lintian::Profile - Profile parser for Lintian
=head1 DESCRIPTION
-
+Lintian::Profile handles finding, parsing and implementation of
+Lintian Profiles as well as loading the relevant Lintian checks.
=head1 CLASS METHODS
--
Debian package checker
Reply to: