Subject: Bug#1000319: lintian should provide an error when Debian::Copyright fails

From: Yadd <[email-masked]>
Date: Sun, 21 Nov 2021 18:08:41 +0100

Le 21/11/2021 à 17:28, Felix Lechner a écrit :
> Hi Yadd,
> 
> On Sun, Nov 21, 2021 at 5:27 AM Yadd <[email-masked]> wrote:
>>
>> lintian should provide an error when Debian::Copyright fails
> 
> Which failure did you have in mind, please? Lintian parses
> machine-readable files—which is what uglifyjs ships [1]—in the nearby
> check Debian::Copyright::Dep5. [2] Thanks!
> 
> Kind regards
> Felix Lechner

I wrote some scripts which use Debian::Copyright to automatize some JS
things, but when Debian::Copyright is unable to read debian/copyright,
automatic tools fail.

Here is a simple test:

  my $c = Debian::Copyright->new();
  $c->read('debian/copyright');