diff mbox series

[4/6] reuse: migrate from dep5 to REUSE.toml

Message ID 20250114193628.16290-5-oss@braunwarth.dev
State Accepted
Headers show
Series Add GitHub actions | expand

Commit Message

Daniel Braunwarth Jan. 14, 2025, 7:36 p.m. UTC
Signed-off-by: Daniel Braunwarth <oss@braunwarth.dev>
---
 .reuse/dep5 |  88 -----------------------------------
 REUSE.toml  | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 130 insertions(+), 88 deletions(-)
 delete mode 100644 .reuse/dep5
 create mode 100644 REUSE.toml

Comments

Mark Jonas Jan. 19, 2025, 4:32 p.m. UTC | #1
Hi Daniel,

I think it is a good idea to move from DEP5 to REUSE.toml because DEP5
was declared deprecated mid of last year.

https://reuse.software/faq/#dep5-history

Cheers,
Mark

On Tue, Jan 14, 2025 at 8:37 PM Daniel Braunwarth <oss@braunwarth.dev> wrote:
>
> Signed-off-by: Daniel Braunwarth <oss@braunwarth.dev>
> ---
>  .reuse/dep5 |  88 -----------------------------------
>  REUSE.toml  | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 130 insertions(+), 88 deletions(-)
>  delete mode 100644 .reuse/dep5
>  create mode 100644 REUSE.toml
>
> diff --git a/.reuse/dep5 b/.reuse/dep5
> deleted file mode 100644
> index 7d14351..0000000
> --- a/.reuse/dep5
> +++ /dev/null
> @@ -1,88 +0,0 @@
> -Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> -Upstream-Name: SWUpdate
> -Upstream-Contact: Stefano Babic <stefano.babic@swupdate.org>
> -Source: https://github.com/sbabic/swupdate
> -
> -Files: examples/www/v2/css/fontawesome.min.css
> -Copyright: 2019 Font Awesome
> -License: MIT
> -
> -Files: examples/www/v2/css/solid.min.css
> -Copyright: 2019 Font Awesome
> -License: MIT
> -
> -Files: examples/www/v2/webfonts/*
> -Copyright: 2016 Font Awesome
> -License: OFL-1.1
> -
> -Files: examples/www/v2/images/favicon.png
> -Copyright: 2016 Andres Babic <andres.babic@gmail.com>
> -License: CC-BY-SA-4.0
> -
> -Files: web-app/images/favicon.png
> -Copyright: 2016 Andres Babic <andres.babic@gmail.com>
> -License: CC-BY-SA-4.0
> -
> -Files: examples/www/v2/images/logo.png
> -Copyright: 2016 Andres Babic <andres.babic@gmail.com>
> -License: CC-BY-SA-4.0
> -
> -Files: web-app/images/logo.png
> -Copyright: 2016 Andres Babic <andres.babic@gmail.com>
> -License: CC-BY-SA-4.0
> -
> -Files: SWUpdate.svg
> -Copyright: 2016 Andres Babic <andres.babic@gmail.com>
> -License: CC-BY-SA-4.0
> -
> -Files: examples/description/sw-description-json
> -Copyright: 2013-2021 Stefano Babic <stefano.babic@swupdate.org>
> -License: CC0-1.0
> -
> -Files: examples/www/v2/images/background.jpg
> -Copyright: 2016 Gerd Altmann
> -License: CC0-1.0
> -
> -Files: web-app/images/background.jpg
> -Copyright: 2016 Gerd Altmann
> -License: CC0-1.0
> -
> -Files: examples/www/v2/index.html
> -Copyright: 2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
> -License: MIT
> -
> -Files: web-app/index.html
> -Copyright: 2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
> -License: MIT
> -
> -Files: web-app/package.json
> -Copyright: 2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
> -License: MIT
> -
> -Files: bindings/nodejs/package.json
> -Copyright: 2023 Stefano Babic <stefano.babic@swupdate.org>
> -License: MIT
> -
> -Files: examples/www/v2/css/dropzone.min.css
> -Copyright: 2021 Matias Meno <m@tias.me>
> -License: MIT
> -
> -Files: examples/www/v2/js/dropzone.min.js
> -Copyright: 2021 Matias Meno <m@tias.me>
> -License: MIT
> -
> -Files: examples/www/v2/js/bootstrap.min.js
> -Copyright: 2011–2021 the Bootstrap Authors
> -License: MIT
> -
> -Files: examples/www/v2/js/jquery.min.js
> -Copyright: 2011–2021 OpenJS Foundation and other contributors
> -License: MIT
> -
> -Files: scripts/*
> -Copyright: Free Software Foundation, Inc.
> -License: GPL-2.0-only
> -
> -Files: doc/source/images/*
> -Copyright: 2013-2021 Stefano Babic <stefano.babic@swupdate.org>
> -License: GPL-2.0-only
> diff --git a/REUSE.toml b/REUSE.toml
> new file mode 100644
> index 0000000..b5851b8
> --- /dev/null
> +++ b/REUSE.toml
> @@ -0,0 +1,130 @@
> +version = 1
> +SPDX-PackageName = "SWUpdate"
> +SPDX-PackageSupplier = "Stefano Babic <stefano.babic@swupdate.org>"
> +SPDX-PackageDownloadLocation = "https://github.com/sbabic/swupdate"
> +
> +[[annotations]]
> +path = "examples/www/v2/css/fontawesome.min.css"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2019 Font Awesome"
> +SPDX-License-Identifier = "MIT"
> +
> +[[annotations]]
> +path = "examples/www/v2/css/solid.min.css"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2019 Font Awesome"
> +SPDX-License-Identifier = "MIT"
> +
> +[[annotations]]
> +path = "examples/www/v2/webfonts/**"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2016 Font Awesome"
> +SPDX-License-Identifier = "OFL-1.1"
> +
> +[[annotations]]
> +path = "examples/www/v2/images/favicon.png"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2016 Andres Babic <andres.babic@gmail.com>"
> +SPDX-License-Identifier = "CC-BY-SA-4.0"
> +
> +[[annotations]]
> +path = "web-app/images/favicon.png"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2016 Andres Babic <andres.babic@gmail.com>"
> +SPDX-License-Identifier = "CC-BY-SA-4.0"
> +
> +[[annotations]]
> +path = "examples/www/v2/images/logo.png"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2016 Andres Babic <andres.babic@gmail.com>"
> +SPDX-License-Identifier = "CC-BY-SA-4.0"
> +
> +[[annotations]]
> +path = "web-app/images/logo.png"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2016 Andres Babic <andres.babic@gmail.com>"
> +SPDX-License-Identifier = "CC-BY-SA-4.0"
> +
> +[[annotations]]
> +path = "SWUpdate.svg"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2016 Andres Babic <andres.babic@gmail.com>"
> +SPDX-License-Identifier = "CC-BY-SA-4.0"
> +
> +[[annotations]]
> +path = "examples/description/sw-description-json"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2013-2021 Stefano Babic <stefano.babic@swupdate.org>"
> +SPDX-License-Identifier = "CC0-1.0"
> +
> +[[annotations]]
> +path = "examples/www/v2/images/background.jpg"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2016 Gerd Altmann"
> +SPDX-License-Identifier = "CC0-1.0"
> +
> +[[annotations]]
> +path = "web-app/images/background.jpg"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2016 Gerd Altmann"
> +SPDX-License-Identifier = "CC0-1.0"
> +
> +[[annotations]]
> +path = "examples/www/v2/index.html"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>"
> +SPDX-License-Identifier = "MIT"
> +
> +[[annotations]]
> +path = "web-app/index.html"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>"
> +SPDX-License-Identifier = "MIT"
> +
> +[[annotations]]
> +path = "web-app/package.json"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>"
> +SPDX-License-Identifier = "MIT"
> +
> +[[annotations]]
> +path = "bindings/nodejs/package.json"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2023 Stefano Babic <stefano.babic@swupdate.org>"
> +SPDX-License-Identifier = "MIT"
> +
> +[[annotations]]
> +path = "examples/www/v2/css/dropzone.min.css"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2021 Matias Meno <m@tias.me>"
> +SPDX-License-Identifier = "MIT"
> +
> +[[annotations]]
> +path = "examples/www/v2/js/dropzone.min.js"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2021 Matias Meno <m@tias.me>"
> +SPDX-License-Identifier = "MIT"
> +
> +[[annotations]]
> +path = "examples/www/v2/js/bootstrap.min.js"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2011-2021 the Bootstrap Authors"
> +SPDX-License-Identifier = "MIT"
> +
> +[[annotations]]
> +path = "examples/www/v2/js/jquery.min.js"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2011-2021 OpenJS Foundation and other contributors"
> +SPDX-License-Identifier = "MIT"
> +
> +[[annotations]]
> +path = "scripts/**"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "Free Software Foundation, Inc."
> +SPDX-License-Identifier = "GPL-2.0-only"
> +
> +[[annotations]]
> +path = "doc/source/images/**"
> +precedence = "aggregate"
> +SPDX-FileCopyrightText = "2013-2021 Stefano Babic <stefano.babic@swupdate.org>"
> +SPDX-License-Identifier = "GPL-2.0-only"
> --
> 2.48.0
>
> --
> You received this message because you are subscribed to the Google Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to swupdate+unsubscribe@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/swupdate/20250114193628.16290-5-oss%40braunwarth.dev.
diff mbox series

Patch

diff --git a/.reuse/dep5 b/.reuse/dep5
deleted file mode 100644
index 7d14351..0000000
--- a/.reuse/dep5
+++ /dev/null
@@ -1,88 +0,0 @@ 
-Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: SWUpdate
-Upstream-Contact: Stefano Babic <stefano.babic@swupdate.org>
-Source: https://github.com/sbabic/swupdate
-
-Files: examples/www/v2/css/fontawesome.min.css
-Copyright: 2019 Font Awesome
-License: MIT
-
-Files: examples/www/v2/css/solid.min.css
-Copyright: 2019 Font Awesome
-License: MIT
-
-Files: examples/www/v2/webfonts/*
-Copyright: 2016 Font Awesome
-License: OFL-1.1
-
-Files: examples/www/v2/images/favicon.png
-Copyright: 2016 Andres Babic <andres.babic@gmail.com>
-License: CC-BY-SA-4.0
-
-Files: web-app/images/favicon.png
-Copyright: 2016 Andres Babic <andres.babic@gmail.com>
-License: CC-BY-SA-4.0
-
-Files: examples/www/v2/images/logo.png
-Copyright: 2016 Andres Babic <andres.babic@gmail.com>
-License: CC-BY-SA-4.0
-
-Files: web-app/images/logo.png
-Copyright: 2016 Andres Babic <andres.babic@gmail.com>
-License: CC-BY-SA-4.0
-
-Files: SWUpdate.svg
-Copyright: 2016 Andres Babic <andres.babic@gmail.com>
-License: CC-BY-SA-4.0
-
-Files: examples/description/sw-description-json
-Copyright: 2013-2021 Stefano Babic <stefano.babic@swupdate.org>
-License: CC0-1.0
-
-Files: examples/www/v2/images/background.jpg
-Copyright: 2016 Gerd Altmann
-License: CC0-1.0
-
-Files: web-app/images/background.jpg
-Copyright: 2016 Gerd Altmann
-License: CC0-1.0
-
-Files: examples/www/v2/index.html
-Copyright: 2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
-License: MIT
-
-Files: web-app/index.html
-Copyright: 2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
-License: MIT
-
-Files: web-app/package.json
-Copyright: 2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
-License: MIT
-
-Files: bindings/nodejs/package.json
-Copyright: 2023 Stefano Babic <stefano.babic@swupdate.org>
-License: MIT
-
-Files: examples/www/v2/css/dropzone.min.css
-Copyright: 2021 Matias Meno <m@tias.me>
-License: MIT
-
-Files: examples/www/v2/js/dropzone.min.js
-Copyright: 2021 Matias Meno <m@tias.me>
-License: MIT
-
-Files: examples/www/v2/js/bootstrap.min.js
-Copyright: 2011–2021 the Bootstrap Authors
-License: MIT
-
-Files: examples/www/v2/js/jquery.min.js
-Copyright: 2011–2021 OpenJS Foundation and other contributors
-License: MIT
-
-Files: scripts/*
-Copyright: Free Software Foundation, Inc.
-License: GPL-2.0-only
-
-Files: doc/source/images/*
-Copyright: 2013-2021 Stefano Babic <stefano.babic@swupdate.org>
-License: GPL-2.0-only
diff --git a/REUSE.toml b/REUSE.toml
new file mode 100644
index 0000000..b5851b8
--- /dev/null
+++ b/REUSE.toml
@@ -0,0 +1,130 @@ 
+version = 1
+SPDX-PackageName = "SWUpdate"
+SPDX-PackageSupplier = "Stefano Babic <stefano.babic@swupdate.org>"
+SPDX-PackageDownloadLocation = "https://github.com/sbabic/swupdate"
+
+[[annotations]]
+path = "examples/www/v2/css/fontawesome.min.css"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2019 Font Awesome"
+SPDX-License-Identifier = "MIT"
+
+[[annotations]]
+path = "examples/www/v2/css/solid.min.css"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2019 Font Awesome"
+SPDX-License-Identifier = "MIT"
+
+[[annotations]]
+path = "examples/www/v2/webfonts/**"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2016 Font Awesome"
+SPDX-License-Identifier = "OFL-1.1"
+
+[[annotations]]
+path = "examples/www/v2/images/favicon.png"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2016 Andres Babic <andres.babic@gmail.com>"
+SPDX-License-Identifier = "CC-BY-SA-4.0"
+
+[[annotations]]
+path = "web-app/images/favicon.png"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2016 Andres Babic <andres.babic@gmail.com>"
+SPDX-License-Identifier = "CC-BY-SA-4.0"
+
+[[annotations]]
+path = "examples/www/v2/images/logo.png"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2016 Andres Babic <andres.babic@gmail.com>"
+SPDX-License-Identifier = "CC-BY-SA-4.0"
+
+[[annotations]]
+path = "web-app/images/logo.png"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2016 Andres Babic <andres.babic@gmail.com>"
+SPDX-License-Identifier = "CC-BY-SA-4.0"
+
+[[annotations]]
+path = "SWUpdate.svg"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2016 Andres Babic <andres.babic@gmail.com>"
+SPDX-License-Identifier = "CC-BY-SA-4.0"
+
+[[annotations]]
+path = "examples/description/sw-description-json"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2013-2021 Stefano Babic <stefano.babic@swupdate.org>"
+SPDX-License-Identifier = "CC0-1.0"
+
+[[annotations]]
+path = "examples/www/v2/images/background.jpg"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2016 Gerd Altmann"
+SPDX-License-Identifier = "CC0-1.0"
+
+[[annotations]]
+path = "web-app/images/background.jpg"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2016 Gerd Altmann"
+SPDX-License-Identifier = "CC0-1.0"
+
+[[annotations]]
+path = "examples/www/v2/index.html"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>"
+SPDX-License-Identifier = "MIT"
+
+[[annotations]]
+path = "web-app/index.html"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>"
+SPDX-License-Identifier = "MIT"
+
+[[annotations]]
+path = "web-app/package.json"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2018 Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>"
+SPDX-License-Identifier = "MIT"
+
+[[annotations]]
+path = "bindings/nodejs/package.json"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2023 Stefano Babic <stefano.babic@swupdate.org>"
+SPDX-License-Identifier = "MIT"
+
+[[annotations]]
+path = "examples/www/v2/css/dropzone.min.css"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2021 Matias Meno <m@tias.me>"
+SPDX-License-Identifier = "MIT"
+
+[[annotations]]
+path = "examples/www/v2/js/dropzone.min.js"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2021 Matias Meno <m@tias.me>"
+SPDX-License-Identifier = "MIT"
+
+[[annotations]]
+path = "examples/www/v2/js/bootstrap.min.js"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2011-2021 the Bootstrap Authors"
+SPDX-License-Identifier = "MIT"
+
+[[annotations]]
+path = "examples/www/v2/js/jquery.min.js"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2011-2021 OpenJS Foundation and other contributors"
+SPDX-License-Identifier = "MIT"
+
+[[annotations]]
+path = "scripts/**"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "Free Software Foundation, Inc."
+SPDX-License-Identifier = "GPL-2.0-only"
+
+[[annotations]]
+path = "doc/source/images/**"
+precedence = "aggregate"
+SPDX-FileCopyrightText = "2013-2021 Stefano Babic <stefano.babic@swupdate.org>"
+SPDX-License-Identifier = "GPL-2.0-only"