On ഞായര് 22 ഒക്ടോബര് 2017 11:09 വൈകു, Dominique Dumont wrote: > No problem. cme tries to address a very complicated problem and can be > confusing when dealing with corner cases. I tried this today and it worked mostly. Thanks for doing the major part already (the actual formatting part). Original copyright file, ______________________________ Files: * Copyright: 2017 Mozilla Developer Network License: MPL-2.0 Files: debian/* Copyright: 2017 Pirate Praveen <email@example.com> License: MPL-2.0 ______________________________ cme run paste-license --arg license=MPL-2.0 --arg file=LICENSE --force I think cme should not require --force here as earlier License: MPL-2.0 lines have empty license text and cme should not remove those lines in the final output (I have to add back 'License: MPL-2.0' lines removed by cme). git diff after cme run, ______________________________ diff --git a/debian/copyright b/debian/copyright index 94e94df..b5f7980 100644 --- a/debian/copyright +++ b/debian/copyright @@ -5,10 +5,381 @@ Source: https://developer.mozilla.org Files: * Copyright: 2017 Mozilla Developer Network -License: MPL-2.0 Files: debian/* Copyright: 2017 Pirate Praveen <firstname.lastname@example.org> -License: MPL-2.0 +License: MPL-2.0 + Mozilla Public License Version 2.0 + ================================== [...] ______________________________ Note: I know MPL 2.0 is now part of common licenses but I wanted to try cme as npm2deb did not create the correct copyright file in this case.
Description: OpenPGP digital signature