Re: [libgpiod][PATCH] bindings: python: fix README.md SPDX license tags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <phil@xxxxxxxxxxxxx>
> ---
>  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 <phil@xxxxxxxxxxxxx>
> +<!-- SPDX-License-Identifier: CC-BY-SA-4.0 -->
> +<!-- SPDX-FileCopyrightText: 2023 Phil Howard <phil@xxxxxxxxxxxxx> -->

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 <erik.schilling@xxxxxxxxxx>

[1]:
  commit fd25c0ea05fec3997f44d986b2fb904ba029e812
  Author: Erik Schilling <erik.schilling@xxxxxxxxxx>
  Date:   Fri May 26 17:27:32 2023 +0200

      rust: bindings: turn SPDX tags into comments
    
      In markdown `# Foo` generates a top-level heading. This leads to to some
      weird, huge SPDX tags being rendered before the start of the actual
      content.
    
      Lacking good examples, I just took the syntax that `reuse addheader`[1]
      outputs.
    
      [1] https://github.com/fsfe/reuse-tool
    
      Signed-off-by: Erik Schilling <erik.schilling@xxxxxxxxxx>
      Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
      Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux