nl-design-system / backlog

Central product backlog of the NL Design System.
European Union Public License 1.2
7 stars 1 forks source link

Copyright and license notices #108

Open Robbert opened 3 years ago

Robbert commented 3 years ago

We should have documentation on how contributors should handle copyright notices when:

Robbert commented 3 years ago

Every file should probably start with a license comment, so it is easy for others to maintain the copyright notice when forking parts of the project.

The copyright heading syntax is different for every file type, of course:

.html files:

<!DOCTYPE html>
<!--
@license EUPL-1.2
Copyright (c) 2021 Gemeente XYZ
Copyright (c) 2021 Robbert Broersma
...
-->
<html lang="nl">

.mdx files:

<!--
@license EUPL-1.2
Copyright (c) 2021 Gemeente XYZ
Copyright (c) 2021 Robbert Broersma
...
-->

.css and .scss files, as well as .js, .jsx, .ts and .tsx files:

/**
 * @license EUPL-1.2
 * Copyright (c) 2021 Municipality of The Hague
 * Copyright (c) 2021 Robbert Broersma
 */

Every contributor should include the years of their contributions and their own or their organisations name, depending on what their contract says about intellectual property. The list of contributors can grow quite long, but that is only a sign of success!

Yolijn commented 5 months ago

Waarom we geen CLA hebben in GitHub https://github.com/nl-design-system/backlog/issues/27