file format for debian/copyright
What about having control file like format for copyright files?
--- copyright ---
Packaged-By: Luca - De Whiskey's - De Vitis <luca@debian.org>
Packaged-On: Sun, 08 Dec 2002 00:52:10 +0100
Original-Source: ftp://ftp.example.org/upstream-1.0.0.tar.gz
Upstream-Authors:
Foo <foo -at- example.org>
Bar <bar -at- example.org>
Copyright: GNU General Public License (file:///usr/share/common-licenses/GPL)
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 dated June, 1991.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this package; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
--- copyright ---
This format could improove the accuracy of lintian checks (for example,
copyright-should-refer-to-common-license-file-for-gpl may fail to
understand that GPL is only mentioned in the copyright notice, and is not
the type of the license); we could also provide some frontend to grep-dctrl to
query that file.
ciao,
--
Luca - De Whiskey's - De Vitis | Elegant or ugly code as well
aliases: Luca ^De [A-Z][-A-Za-z]*[iy]'?s$ | as fine or rude sentences have
Infinite loop: see `Loop, infinite'. | something in common: they
Loop, infinite: see `Infinite loop'. | don't depend on the language.
Reply to: