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

Re: [lintian] 02/02: Check for the presence of a signature if an upstream signing key is present. (Closes: #833585)



Chris Lamb:
> This is an automated email from the git hooks/post-receive script.
> 
> lamby pushed a commit to branch master
> in repository lintian.
> 
> [...]
> index 4b56525..3b215f9 100644
> --- a/checks/changes-file.pm
> +++ b/checks/changes-file.pm
> @@ -29,9 +29,10 @@ use Lintian::Data;
>  use Lintian::Util qw(get_file_checksum);
>  
>  my $KNOWN_DISTS = Lintian::Data->new('changes-file/known-dists');
> +my $SIGNING_KEY_FILENAMES = Lintian::Data->new('common/signing-key-filenames');
>  
>  sub run {
> -    my (undef, undef, $info) = @_;
> +    my (undef, undef, $info, undef, $group) = @_;
>  
>      # If we don't have a Format key, something went seriously wrong.
>      # Tag the file and skip remaining processing.
> @@ -175,12 +176,33 @@ sub run {
>          check_maintainer($info->field('changed-by'), 'changed-by');
>      }
>  
> +    my $has_signing_key = 1;
          ^^^^^^^^^^^^^^^^^^^^

Should this perhaps be initialized to 0?

> [...]
> 


Reply to: