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

Re: [Pkg-octave-devel] Some packages ported to gbp + new version of octave-pkg-dev



Rafael Laboissiere <rafael@laboissiere.net> writes:

> * Sébastien Villemot <sebastien.villemot@ens.fr> [2012-03-09 11:43]:                                                                                        
>                                                                                                                                                             
>> Also, I would recommend that all the packages that have already a                                                                                         
>> machine-readable debian/copyright upgrade to the finalized specification                                                                                  
>> (see [1]). It can be helpful to run "cme fix dpkg-copyright" from                                                                                         
>> package libconfig-model-perl.                                                                                                                             
>>                                                                                                                                                           
>> [1] http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/                                                                                     
>                                                                                                                                                             
> Generating the debian/copyright is really time-consuming.  I wrote a                                                                                        
> Python script that (sort of) automates the process.  It is attached                                                                                         
> below.  As an example, also attached below is the stdout output when                                                                                        
> running it from the top-level directory of the octave-optim package.                                                                                        
>                                                                                                                                                             
> Note that files and years/authors are grouped in a sensible way.  The                                                                                       
> output is not 100% perfect and will need further edition.  The script                                                                                       
> appears to correctly detect the (L)GPL terms and the license version, but                                                                                   
> only if the standard text recommended by the FSF is present.                                                                                                
>                                                                                                                                                             
> Tell me what you think, please.  Should we include this script in                                                                                           
> octave-pkg-dev?                                                                                                                                             

I forgot to mention that there is a already a way of doing a similar
thing:

 licensecheck -r --copyright -c  '\.m|\.cc|\.hh' . | /usr/lib/cdbs/licensecheck2dep5 

But maybe your script is better, I didn't test.

In any case, I think your script and the above command should go to the
wiki page. Same for "cme fix dpkg-copyright".

Also, I think that we should not *require* upgrade to machine-readable
format (at least before the migration to Octave 3.6), since it is indeed
very time consuming. I suggest to only *recommend* it for the moment,
and make it a requirement later.

-- 
Sébastien Villemot
Researcher in Economics & Debian Maintainer
http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594

Attachment: pgphj8Kp20kWU.pgp
Description: PGP signature


Reply to: