Re: New: "cme run paste-license script"

2017-10-23 Thread Dominique Dumont
On Monday, 23 October 2017 13:27:48 CEST Pirate Praveen wrote: > On ഞായര്‍ 22 ഒക്ടോബര്‍ 2017 11:09 വൈകു, Dominique Dumont wrote: > I tried this today and it worked mostly. Thanks for doing the major part > already (the actual formatting part). You're welcome :-) > I think cme should not require

Re: New: "cme run paste-license script" (was: Re: pasting license text into debian/copyright)

2017-10-23 Thread Dominique Dumont
On Sunday, 22 October 2017 21:47:12 CEST Andreas Tille wrote: > Could you please explain what you mean by "main section"? For me > > Files: * > > would qualify as "main section" but you seem to have a different > understanding of this term. ok. Let's use the same terminology as

Re: New: "cme run paste-license script"

2017-10-23 Thread Pirate Praveen
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).

Re: New: "cme run paste-license script" (was: Re: pasting license text into debian/copyright)

2017-10-22 Thread Andreas Tille
Hi Dominique, On Sun, Oct 22, 2017 at 07:39:10PM +0200, Dominique Dumont wrote: > > > > Sorry, I do not understand. I the string CeCILL (with capital I) is in the > > main license section. Could you please be more verbose how d/copyright > > needs to look like to make cme add the license text?

Re: New: "cme run paste-license script" (was: Re: pasting license text into debian/copyright)

2017-10-22 Thread Dominique Dumont
On Sunday, 22 October 2017 12:10:29 CEST Andreas Tille wrote: > > without the matching section in Licenses (the one you trying to add). cme > > emits a warning when reading a copyright file with this error. This value > > is ignored because of this error. > > Sorry, I do not understand. I the

Re: New: "cme run paste-license script" (was: Re: pasting license text into debian/copyright)

2017-10-22 Thread Andreas Tille
On Sun, Oct 22, 2017 at 11:14:04AM +0200, Dominique Dumont wrote: > On Sunday, 22 October 2017 08:55:44 CEST Andreas Tille wrote: > > $ cme run paste-license --arg license=CeCILL --arg file=COPYING > > > copyright.patch Log4perl: Seems like no initialization happened. Forgot to > > call init()?

Re: New: "cme run paste-license script" (was: Re: pasting license text into debian/copyright)

2017-10-22 Thread Dominique Dumont
On Sunday, 22 October 2017 08:55:44 CEST Andreas Tille wrote: > $ cme run paste-license --arg license=CeCILL --arg file=COPYING > > copyright.patch Log4perl: Seems like no initialization happened. Forgot to > call init()? That's a bug in cme that will be fixed soon. > Warning: Files:"*"

Re: New: "cme run paste-license script" (was: Re: pasting license text into debian/copyright)

2017-10-22 Thread Andreas Tille
On Sat, Oct 21, 2017 at 06:40:37PM +0200, gregor herrmann wrote: > On Sat, 21 Oct 2017 16:20:58 +0200, Andreas Tille wrote: > > > $ gbp clone https://anonscm.debian.org/git/debian-med/beads.git > > $ cd beads > > beads(master) $ cme run paste-license --arg license=CeCILL --arg COPYING > > %

Re: New: "cme run paste-license script" (was: Re: pasting license text into debian/copyright)

2017-10-21 Thread gregor herrmann
On Sat, 21 Oct 2017 16:20:58 +0200, Andreas Tille wrote: > $ gbp clone https://anonscm.debian.org/git/debian-med/beads.git > $ cd beads > beads(master) $ cme run paste-license --arg license=CeCILL --arg COPYING % cme run paste-license --arg license=CeCILL --arg file=COPYING seems to work;

Re: New: "cme run paste-license script" (was: Re: pasting license text into debian/copyright)

2017-10-21 Thread Andreas Tille
Hi Dominique, I wanted to try this cool feature but failed may be I did something wrong: $ gbp clone https://anonscm.debian.org/git/debian-med/beads.git $ cd beads beads(master) $ cme run paste-license --arg license=CeCILL --arg COPYING Log4perl: Seems like no initialization happened. Forgot

New: "cme run paste-license script" (was: Re: pasting license text into debian/copyright)

2017-10-17 Thread Dominique Dumont
Hi People have complained that adding license text in debian/copyright file is tedious. To avoid this problem, libconfig-model-dpkg-perl 2.102 now ships a new cme script to copy a license text in debian/copyright. This script is run with "cme run" command [1] For instance: $ echo -e