From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E565DC4332F for ; Mon, 6 Nov 2023 13:00:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229921AbjKFNA3 (ORCPT ); Mon, 6 Nov 2023 08:00:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231590AbjKFNA2 (ORCPT ); Mon, 6 Nov 2023 08:00:28 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C93D6B8 for ; Mon, 6 Nov 2023 05:00:25 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-99bdeae1d0aso673952466b.1 for ; Mon, 06 Nov 2023 05:00:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699275624; x=1699880424; darn=vger.kernel.org; h=in-reply-to:references:cc:subject:from:to:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=wgmXTfsucsyc2mEwxncXwhLY2vliZRkVbdof4kDhbdE=; b=gMGfzAIhZth54zZSWlLYfndP1x4z4ux9A54wbyPUIy2XPxWiT9ECAfDWjtPZJZsRe7 AZEeFgu7WF4ahStgJmXTc0u9gS1rbMPIe4lSjUfT8D2K8jw00jPc7n4cp8DNtsLCcNs8 qF7k88yexRPOF3kcZgVU+EbH/4C8IITFMBcP/pLnlz+8maikzwK6MPyEpVWC+06eEe96 e80baJzsMISO+T6yWPUrl9FTeFWWM4b8Xi5wrgL+8cvm7wN6aQRCItfN5osMVGZ02E2n 1g4x/eKgJ29mRAMX4vvnc9luEq9/adg6gBKrBoCTNC2H77zY+XglX4ak32qAPL1fKCtf DDjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699275624; x=1699880424; h=in-reply-to:references:cc:subject:from:to:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=wgmXTfsucsyc2mEwxncXwhLY2vliZRkVbdof4kDhbdE=; b=RB3gFhZ1FtrQGk7FaHcGaGEPL/ef3jf40BnY/Eciuh9qBHpFN1btN872n3t9adwYrC 1f/05ktKB0EaovjwKds9FfI3yAMnonmhxlw1NKGGVbHK6uSf5CpZgTfSK8HFOFUf+enN QLMZQXvu3akp+5yuTgb/67GjId37fcCIL/3Bd9WXLFjs43ZXevAUWkAbeB8drOpVnCWd FQNByqUebuBeIiTLiGpP66xiFa1DLISdnvM7GNdgCD7OPLcgrD33tiaQpHTVm9l5S2zj Pnay5WsCUgT5NrWvz+tFRa5qAzLRHaXaGuDM1/UhzpKlKrGO/dR41Wv+52vDQI2D6Uwz NfSg== X-Gm-Message-State: AOJu0YxrzDM3WIl5y1t2+1lZqAGgHti3PPDGJP51mtLDed7o13LN+DHw 2qce5qB7UyUDwf9UtQbrMtv4Joomn13fDXV05xQ= X-Google-Smtp-Source: AGHT+IFW8o9SxHfLUzaWPa6cgdJyZJg7DyGK9O9Wy90gSrRCd5zYmWyWB2xGnVYyuabCEtaUMcJbDQ== X-Received: by 2002:a17:907:806:b0:9c4:bb5f:970f with SMTP id wv6-20020a170907080600b009c4bb5f970fmr15884995ejb.32.1699275624175; Mon, 06 Nov 2023 05:00:24 -0800 (PST) Received: from localhost ([2001:9e8:d5bf:3200::f39]) by smtp.gmail.com with ESMTPSA id u18-20020a1709064ad200b0099bd86f9248sm4094095ejt.63.2023.11.06.05.00.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Nov 2023 05:00:23 -0800 (PST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 06 Nov 2023 14:00:23 +0100 Message-Id: To: "Phil Howard" , "Linus Walleij" , "Andy Shevchenko" , "Kent Gibson" , "Bartosz Golaszewski" From: "Erik Schilling" Subject: Re: [libgpiod][PATCH] bindings: python: fix README.md SPDX license tags Cc: X-Mailer: aerc 0.15.2 References: <20231103191455.2441883-1-phil@gadgetoid.com> In-Reply-To: <20231103191455.2441883-1-phil@gadgetoid.com> Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Fri Nov 3, 2023 at 8:14 PM CET, Phil Howard wrote: > Replace the # (which is a markdown heading) with HTML tags to hide SPDX > identifier tags within the project description on pypi. > > Signed-off-by: Phil Howard > --- > bindings/python/README.md | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/bindings/python/README.md b/bindings/python/README.md > index abb69da..325c63d 100644 > --- a/bindings/python/README.md > +++ b/bindings/python/README.md > @@ -1,5 +1,5 @@ > -# SPDX-License-Identifier: CC-BY-SA-4.0 > -# SPDX-FileCopyrightText: 2023 Phil Howard > + > + I went with a single block when I fixed this for the Rust bindings [1]. But I got no opinion on which way is better. I guess as long as the tools work it should be fine. Acked-by: Erik Schilling [1]: commit fd25c0ea05fec3997f44d986b2fb904ba029e812 Author: Erik Schilling Date: Fri May 26 17:27:32 2023 +0200 rust: bindings: turn SPDX tags into comments =20 In markdown `# Foo` generates a top-level heading. This leads to to s= ome weird, huge SPDX tags being rendered before the start of the actual content. =20 Lacking good examples, I just took the syntax that `reuse addheader`[= 1] outputs. =20 [1] https://github.com/fsfe/reuse-tool =20 Signed-off-by: Erik Schilling Acked-by: Viresh Kumar Signed-off-by: Bartosz Golaszewski