From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnR5o-0006P1-7l for qemu-devel@nongnu.org; Fri, 23 Sep 2016 10:04:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bnR5j-0003hg-KE for qemu-devel@nongnu.org; Fri, 23 Sep 2016 10:04:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36352) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bnR5j-0003h4-Dg for qemu-devel@nongnu.org; Fri, 23 Sep 2016 10:04:39 -0400 Date: Fri, 23 Sep 2016 15:04:33 +0100 From: "Daniel P. Berrange" Message-ID: <20160923140433.GI29098@redhat.com> Reply-To: "Daniel P. Berrange" References: <1474635086-10942-1-git-send-email-felipe@nutanix.com> <6AE3ECF2-A31D-4F28-8E5C-0929D58DABF9@nutanix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6AE3ECF2-A31D-4F28-8E5C-0929D58DABF9@nutanix.com> Subject: Re: [Qemu-devel] [PATCH] compiler: Drop 'public domain' header from file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Felipe Franciosi Cc: Peter Maydell , Eric Blake , Markus Armbruster , Pavel Dovgalyuk , QEMU Developers , Luiz Capitulino On Fri, Sep 23, 2016 at 01:37:18PM +0000, Felipe Franciosi wrote: > > > On 23 Sep 2016, at 14:24, Peter Maydell wrote: > > > > On 23 September 2016 at 13:51, Felipe Franciosi wrote: > >> As discussed on the list [1], having a comment stating that this file > >> is "public domain" is arguably wrong and not legally binding. By > >> removing this statement from the header, the file is under the > >> project-wide GPLv2+ license. > >> > >> [1] http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg06151.html > >> > >> Signed-off-by: Felipe Franciosi > >> --- > >> include/qemu/compiler.h | 2 -- > >> 1 file changed, 2 deletions(-) > >> > >> diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h > >> index 338d3a6..9d6d09b 100644 > >> --- a/include/qemu/compiler.h > >> +++ b/include/qemu/compiler.h > >> @@ -1,5 +1,3 @@ > >> -/* public domain */ > >> - > >> #ifndef COMPILER_H > >> #define COMPILER_H > > > > Can we have a comment specifically saying what license it is under, > > please? Something like > > > > /* compiler.h: macros to abstract away compiler specifics > > * > > * This work is licensed under the terms of the GNU GPL, version 2 or later. > > * See the COPYING file in the top-level directory. > > */ > > I'm not against that, but the consensus seems to be that what's currently in LICENSE is clear enough: > http://git.qemu.org/?p=qemu.git;a=blob_plain;f=LICENSE;hb=HEAD > > 2) ... Source files with no licensing information > are released under the GNU General Public License, version 2 or (at your > option) any later version. That is just a catch all to deal with bad source files. Best practice is to always have an explicit header in every single file, otherwise when someone copies a file from your project into another project, the implicit license info gets lost. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|