Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 26078C636D6 for ; Thu, 9 Feb 2023 14:59:01 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.492555.762160 (Exim 4.92) (envelope-from ) id 1pQ8Nq-0000GE-MN; Thu, 09 Feb 2023 14:58:46 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 492555.762160; Thu, 09 Feb 2023 14:58:46 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pQ8Nq-0000G2-JP; Thu, 09 Feb 2023 14:58:46 +0000 Received: by outflank-mailman (input) for mailman id 492555; Thu, 09 Feb 2023 14:58:45 +0000 Received: from mail.xenproject.org ([104.130.215.37]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pQ8Np-0000Fq-7M for xen-devel@lists.xenproject.org; Thu, 09 Feb 2023 14:58:45 +0000 Received: from xenbits.xenproject.org ([104.239.192.120]) by mail.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1pQ8Nj-0007TG-0w; Thu, 09 Feb 2023 14:58:39 +0000 Received: from [54.239.6.186] (helo=[192.168.16.230]) by xenbits.xenproject.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pQ8Ni-0006uY-Oy; Thu, 09 Feb 2023 14:58:38 +0000 X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=xen.org; s=20200302mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=vuScadvmbFEBVyExlZAHuucRaBoj9Bj2Wq0F+OjL8YE=; b=WVFblwJjia7ZtL622hOa91sPjj eYlsFozRxuLQDEW71JrPwHd7bRn2q34nJ2W9m9zEwgWUJCeAmKBfQg5x7DgunsI8QmiGyQIXOh4zy P4r8TI0iv/OSRNea6boWNHyhpvkdahMHP80szNQyVmszNgFdUYYaDwcPG8HhRuQyZDDE=; Message-ID: <8bf18e22-5ef1-25ff-ff63-b5a390e92bbd@xen.org> Date: Thu, 9 Feb 2023 14:58:33 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH v2 4/4] GPL License Boilerplate: Switch from HTTP to HTTPS Content-Language: en-US To: Anthony PERARD , Demi Marie Obenour Cc: Stefano Stabellini , xen-devel@lists.xenproject.org, Wei Liu , Andrew Cooper , George Dunlap , Jan Beulich , Samuel Thibault , Daniel De Graaf , Quan Xu , Elena Ufimtseva , =?UTF-8?Q?Roger_Pau_Monn=c3=a9?= , Nick Rosbrook , Juergen Gross , Christian Lindig , David Scott , =?UTF-8?Q?Marek_Marczykowski-G=c3=b3recki?= , Bertrand Marquis , Volodymyr Babchuk , Jun Nakajima , Kevin Tian , Paul Durrant , Tamas K Lengyel , Alexandru Isaila , Petre Pircalabu , Tim Deegan , Christopher Clark , Dario Faggioli , Rahul Singh , "Daniel P. Smith" References: <6ff3e64e1dafd869caf23660cafdd46070209e2e.1675889602.git.demi@invisiblethingslab.com> From: Julien Grall In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Anthony, On 09/02/2023 14:55, Anthony PERARD wrote: > On Wed, Feb 08, 2023 at 06:21:08PM -0500, Demi Marie Obenour wrote: >> On Wed, Feb 08, 2023 at 02:58:38PM -0800, Stefano Stabellini wrote: >>> On Wed, 8 Feb 2023, Demi Marie Obenour wrote: >>>> Obtaining code over an insecure transport is a terrible idea for >>>> blatently obvious reasons. Even for non-executable data, insecure >>>> transports are considered deprecated. >>>> >>>> This patch changes GPL boilerplate. >>>> >>>> Signed-off-by: Demi Marie Obenour >>> >>> For the licensing boilerplate, I think it would be better to switch to >>> SPDX instead. >>> >>> That said, given that you have already done the work to covert the GPL >>> boilerplate everywhere, I think this is OK. But if you have time and >>> energy I would love to see a patch switching to SPDX in as many places >>> as possible. >> >> The only part of this patch I actually wrote is the commit message. The >> rest was generatedy by: >> >> git ls-files -z | >> xargs -0 -- sed -Ei -- 's@(http)(://www\.gnu\.org)@\1s\2@g' >> >> followed by the usual git stuff. Do you know of a similar automated >> tool for SPDX conversion? > > I did this with a little script in the past: > https://lore.kernel.org/xen-devel/20221103115204.49610-7-anthony.perard@citrix.com/ > > It could be adapted for the different licenses. Thanks! Yesterday evening, I was looking at scancode which is able to detect licenses but I didn't manage to figure out if it was possible to replace license text with SPDX. In v1, IIRC, Demi said she didn't have time to look at it. But I am happy to give a try as it shouldn't be too complicated to replace the majority. Cheers, -- Julien Grall