Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 843A2C282E1 for ; Fri, 24 May 2019 14:32:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6720420851 for ; Fri, 24 May 2019 14:32:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391599AbfEXOcY convert rfc822-to-8bit (ORCPT ); Fri, 24 May 2019 10:32:24 -0400 Received: from mail1.fsfe.org ([217.69.89.151]:60206 "EHLO mail1.fsfe.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391500AbfEXOcY (ORCPT ); Fri, 24 May 2019 10:32:24 -0400 X-Greylist: delayed 559 seconds by postgrey-1.27 at vger.kernel.org; Fri, 24 May 2019 10:32:23 EDT Date: Fri, 24 May 2019 16:22:54 +0200 From: Max Mehl Subject: Implement SPDX-Copyright To: linux-spdx@vger.kernel.org User-Agent: astroid/0.13 Message-Id: <1558706708.m0wpla3nbm.2220@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-spdx-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spdx@vger.kernel.org Dear all, Great to see such a big effort going on so smoothly thanks to the excellent collaboration here! I would like to make a small suggestion for further improvement while we are already touching so many files in Linux. Currently, the REUSE and SPDX team are discussing the official introduction of the *SPDX-Copyright* tag [^1] [^2], perhaps for SPDX 2.2 and REUSE 3.0. The benefit is that tools can easily detect the correct line which holds the copyright/author/year information. As of now, there are files which contain multiple occurrences of the word "Copyright", "©" or "(c)", which then requires the usage of error-prone logics and patterns. Let me give a concrete example. The following header from one of the first patches sent around here: // SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2013 Pavel Machek * Copyright (C) 2013-2014 Aaro Koskinen could become: // SPDX-License-Identifier: GPL-2.0-or-later /* * SPDX-Copyright: (C) 2013 Pavel Machek * SPDX-Copyright: (C) 2013-2014 Aaro Koskinen The usage of (C) or any other copyright symbols would probably be up to personal style or legal requirements. All this tag intends to achieve is to make automatic tooling more robust. What do you think? Would someone see issues with realising this technically rather simple change in the same course of action? Best, Max [^1]: https://github.com/fsfe/reuse-docs/pull/23 [^2]: https://github.com/spdx/spdx-spec/issues/122 -- Max Mehl - Programme Manager - Free Software Foundation Europe Contact and information: https://fsfe.org/about/mehl | @mxmehl Become a supporter of software freedom: https://fsfe.org/join