Copyright statement in source code - was Re: [GRASS-dev] Incorrect stuff coming through stderr?

Markus Neteler neteler at itc.it
Thu Aug 31 05:41:18 EDT 2006


Ma-ris Nartišs wrote on 08/31/2006 08:53 AM:
...
> Oh, btw, why r.in.ascii lacks license information? No author, no GPL?
>
> Just my 0.01,
> Maris.
>   
Many files lack that. Unfortunately some developers even commit *new* code
without adding the agreed header (as described in SUBMITTING). This is
strange
since there were strong opinions against a potential MIT/X11 or BSD
"takeover" of
the code or whatever... At least the main.c should carry such header.

To help: there is a nice tool available:
tools/copywrite.pl

## Script to easily add missing copyright statements in
## GRASS source code files
##
## The script searches and opens sequentially all files
## which lack the word "copyright". Additionally the local
## ChangeLog is fetched and contributor names are extracted.
## Then a new header is inserted containing the GPL statement,
## purpose template and authors.
##
## Please run from top source code directory.
## For usage details, see below.
##
## 2006, written by Schuyler Erle <schuyler , nocat net>

Run this script as (have a look at the instructions within the script
first):
perl copywrite.pl contributors.csv

It is needed to check 'description.html' for the first author which
doesn't appear in the CVS Changelog in case the module is older
than 31 Dec. 1999 (the day when we started to maintain the code in CVS).
Better to always check 'description.html'.

Markus

PS: r.in.ascii was originally written by Michael Shapiro/CERL.




More information about the grass-dev mailing list