Hi Francesco,

* Francesco Poli (wintermute) <invernom...@paranoici.org> [2022-08-13 19:08]:
I applied the following patch to the Makefile:

 -CEX := po/
 +CEX := po/.*\.mo

This includes the po/*.po in the file list which where excluded, previously.

Honestly, I expected that decopy would abide by this new base copyright
file and regenerate an identical debian/copyright file.

It works just fine if you do a debclean before generating it.

Well, this looks (almost) technically correct,

Yes and I think that's all you can ask for for such a tool. To me decopy is a good first step to create a d/copyright file but it always need some human eyes.

Firstly, decopy decided that the license for po/* applies to * !!!

I don't know all the decopy code but I think it has some heuristics for which copyright block should be the top one.

Then, I see that apt-listbugs.1 is listed among the special cases.
But that file is generated, and I thought it was excluded through
the --exclude option of decopy. Apparently, it is not! Why?

I guess exclude is only for the content not for the file list. Maybe that's what meant in #997814..

Finally, I fail to understand where the "2002-2020, Masato Taruishi"
additional Copyright come from.
It seems to me that every copyright notice referring to Masato Taruishi
in the source tree is either followed by his e-mail address or by "et al.".
So where does this additional Copyright come from?

decopy strips the et al.:

https://sources.debian.org/src/decopy/0.2.4.7-0.2/decopy/res.py/#L509

So with the Makefile change above the .po files are searched again and the entry is added.

Cheers Jochen

Attachment: signature.asc
Description: PGP signature

Reply via email to