From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.droids-corp.org (zoll.droids-corp.org [94.23.50.67]) by dpdk.org (Postfix) with ESMTP id 1C373293B for ; Tue, 12 Dec 2017 17:58:08 +0100 (CET) Received: from lfbn-lil-1-110-231.w90-45.abo.wanadoo.fr ([90.45.197.231] helo=droids-corp.org) by mail.droids-corp.org with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1eOnyd-0004NM-JZ; Tue, 12 Dec 2017 18:04:20 +0100 Received: by droids-corp.org (sSMTP sendmail emulation); Tue, 12 Dec 2017 17:57:54 +0100 Date: Tue, 12 Dec 2017 17:57:54 +0100 From: Olivier MATZ To: Ferruh Yigit Cc: Hemant Agrawal , Andrew Rybchenko , dev@dpdk.org, Thomas Monjalon , Stephen Hemminger Message-ID: <20171212165744.v2zsffollkwj54az@platinum> References: <20171208102830.2817-1-olivier.matz@6wind.com> <448cfe74-224b-8a25-6be3-42c70c6ac514@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [dpdk-dev] [PATCH] net: update licence for network headers X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Dec 2017 16:58:08 -0000 On Mon, Dec 11, 2017 at 09:56:40AM -0800, Ferruh Yigit wrote: > On 12/10/2017 9:27 PM, Hemant Agrawal wrote: > > Hi all, > > Most templates are showing copyright first and SPDX later i.e. the > > typical way for writing the license. > > > > However some projects has followed it other way around to make it easy > > for tools i.e. the TOP line. > > > > I agree with Ferruh that we shall follow single convention. I will > > prefer to do it in following way to make it consistent. (I will also fix > > my change patches). > > > > >> Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER > > >> Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER-2 > > >> Copyright (C) [YEAR] NAME-OF-COPYRIGHT-HOLDER-3 > > >> SPDX-License-Identifier: BSD-3-Clause > > Stephen mentioned Linux already has a defined syntax for this, unless there is a > good reason to change I think we can follow same syntax, what do you think? As far as I can see, it's not yet integrated in Linux. The latest documentation I can find as of today is: https://patchwork.kernel.org/patch/10091607/ About the first line: """ The SPDX license identifier in kernel files shall be added at the first possible line in a file which can contain a comment. For the majority """ Some recomandations look a bit inconsistent to me, but I didn't follow all the history: """ C source: // SPDX-License-Identifier: C header: /* SPDX-License-Identifier: */ """ Olivier