[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, vendor-profile, updated. 2.5.0-30-gf5dab08



The following commit has been merged in the vendor-profile branch:
commit 139007cbd2d85664561d381f7539c0e89a80d57b
Author: Niels Thykier <niels@thykier.net>
Date:   Tue May 31 17:27:36 2011 +0200

    Fixed "overwritable" -> "overridable" misspelling

diff --git a/lib/Lintian/Profile.pm b/lib/Lintian/Profile.pm
index 4042e69..bbf7abe 100644
--- a/lib/Lintian/Profile.pm
+++ b/lib/Lintian/Profile.pm
@@ -142,12 +142,12 @@ sub _read_profile {
 sub _read_profile_section {
     my ($self, $pname, $section, $sno) = @_;
     my @tags = $self->_split_comma_sep_field($section->{'tag'});
-    my $overwritable = $self->_parse_boolean($section->{'overwritable'}, 0, $pname, $sno);
+    my $overridable = $self->_parse_boolean($section->{'overridable'}, 0, $pname, $sno);
     my $ignore_map = $self->{'ignored-overrides'};
     fail "Profile \"$pname\" is missing Tag field (or it is empty) in section $sno." unless @tags;
     foreach my $tag (@tags) {
 	fail "Unknown check $tag in $pname (section $sno)\n" unless exists $TAG_MAP{$tag};
-	if ($overwritable) {
+	if ($overridable) {
 	    delete $ignore_map->{$tag};
 	} else {
 	    $ignore_map->{$tag} = 1;
diff --git a/private/generate-profiles.pl b/private/generate-profiles.pl
index 54e597f..3ca91fe 100755
--- a/private/generate-profiles.pl
+++ b/private/generate-profiles.pl
@@ -12,7 +12,7 @@ use constant FIELD_ORDER => ('Enable-Tags-From-Check',
                              'Enable-Tag',
                              'Disable-Tag',
     );
-use constant PARAGRAPH_ORDER => ( 'Overwritable' );
+use constant PARAGRAPH_ORDER => ( 'Overridable' );
 
 use lib "$ENV{LINTIAN_ROOT}/lib";
 use Lintian::Data;
@@ -46,7 +46,7 @@ generate_profile('debian/ftp-master-auto-reject', {
     'Enable-Tag' => [@fatal, @nonfatal],
     },
     { 'Tag' => \@fatal,
-       'Overwritable' => 'no',
+       'Overridable' => 'no',
     });
 
 exit 0;

-- 
Debian package checker


Reply to: