Bug#915384: lintian: check that debian/copyright has an entry for each component
Le 03/12/2018 à 14:22, Chris Lamb a écrit :
> Xavier wrote:
>
>> # debian/watch
>> https://main/ main-(\d[\d\.]+)\.tar\.gz
>> opts="component=comp1" \
>> https://comp/ comp-(\d[\d\.]+)\.tar\.gz
>>
>> In this example, a debian tool like gbp will unpack comp_1.0.orig.tar.gz
>> into "comp1/" directory
> ^^^^^
> And this comes from parsing the `opts="component=comp1"` bit, not from
> anywhere else?
~Yes, for gdb DD must either add some "--component" in command-line *or*
set it in gbp.conf:
[DEFAULT]
component = [ 'bson', 'mongodb-core', 'requireoptional' ]
So only debian/watch is reliable. There are no other files that rely on
this except debian/rules but in many ways...
>> In the last case, no entry matches explicitly "comp1/" directory. It
>> might be a missing exam of sources.
>
> Thanks.
>
> Regards,
>
Reply to: