aurae-runtime / aurae

Distributed systems runtime daemon written in Rust.
https://aurae.io
Apache License 2.0
1.84k stars 89 forks source link

SPDX License Identifiers in the Source Code #468

Open krisnova opened 1 year ago

krisnova commented 1 year ago

Folks might consider vendoring small crates and modules from the Aurae source code.

Can we please add SPDX license identifiers to every .rs file in the project?

For more on using the SPDX in source code read the SPDX tutorial.

Basically I think we just need to use this and fill in the blanks in each of our headers.

# Copyright [year file created] - [last year file modified], [project founder] and the [project name] contributors
# SPDX-License-Identifier: [SPDX license expression]
MalteJ commented 5 months ago

Can we then maybe also reduce this huuuuuge license header in our source code files to the legally required minimum? CC: @dmah42

dmah42 commented 5 months ago

fun fact: there is no legally required minimum that i know about. the package has a license and copyright statement. it is true that someone might want to vendor parts of the source code but i'm not sure how a header in a source file stops them/encourages them doing it.

the current header was a deliberate choice and preference by Nóva and is very much her personal style.

bpmooch commented 2 weeks ago
# ---------------------------------------------------------------------------- #
#                +--------------------------------------------+                #
#                |   █████╗ ██╗   ██╗██████╗  █████╗ ███████╗ |                #
#                |  ██╔══██╗██║   ██║██╔══██╗██╔══██╗██╔════╝ |                #
#                |  ███████║██║   ██║██████╔╝███████║█████╗   |                #
#                |  ██╔══██║██║   ██║██╔══██╗██╔══██║██╔══╝   |                #
#                |  ██║  ██║╚██████╔╝██║  ██║██║  ██║███████╗ |                #
#                |  ╚═╝  ╚═╝ ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚══════╝ |                #
#                +--------------------------------------------+                #
#                                                                              #
#                         Distributed Systems Runtime                          #
# ---------------------------------------------------------------------------- #
# Copyright 2022 - 2024, [project founder] and the aurae contributors
# SPDX-License-Identifier: Apache-2.0

is this a little better?

dmah42 commented 2 weeks ago

it's about 18 lines better i think :D

dmah42 commented 1 week ago

i'm starting to edit headers as i edit files.