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

Bug#776796: lintian: False positive unused-file-paragraph-in-dep5-copyright



On Sun, Feb 01, 2015 at 10:12:56PM +0100, Jakub Wilk wrote:
> Hi Josue!
> 
> Thanks for the bug report.
> 
> * Josue Ortega <josueortega@debian.org.gt>, 2015-02-01, 13:58:
> >Lintian is returning a false positive
> >unused-file-paragraph-in-dep5-copyright exactly when at the first
> >paragraph in the Files field debian/* is specified.
> 
> Without a concrete example, I can only guess that you did something like
> this:
> 
> Files: debian/*
> Copyright: 2015 Random Developer <randomdd@debian.org>
> License: FooPL
> 
> Files: *
> Copyright: 2015 Random Hacker <hacker@example.net>
> License: BarPL
> 
> 
> Here the following rule matters: "The last paragraph that matches a
> particular file applies to it." And since the last paragraph matches
> everything, the first one is unused.
> 
> The solution is to reorder the paragraphs: "More general paragraphs should
> therefore be given first, followed by more specific overrides."
> 
> -- 
> Jakub Wilk

Jakub,

Thanks for your response,

Sorry for not give you a concret example, but yes, that's the case.
And that is the way I resolved it.

Is this a new behaviour? since it's the first time I see it with this copyright
file and I hadn't it changed it for a while.
IMHO the order should not matter.

Thanks agagin.

Cheers. 

---
Josue Ortega
«Happy Hacking»
http://josueortega.org

Attachment: signature.asc
Description: Digital signature


Reply to: