Skip to content

sys/[o-z]*: replace license headers with SPDX - #22613

Open
N11cc00 wants to merge 1 commit into
RIOT-OS:masterfrom
N11cc00:spdx-sys-o-z
Open

sys/[o-z]*: replace license headers with SPDX#22613
N11cc00 wants to merge 1 commit into
RIOT-OS:masterfrom
N11cc00:spdx-sys-o-z

Conversation

@N11cc00

@N11cc00 N11cc00 commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Contribution description

This PR attempts to convert all license headers for all folders inside the sys/ directory starting with the letters O to Z. Vendor specific files are left untouched as well as some files missing some copyright or license information.

Testing procedure

To check for correct license/copyright information in all files that are not vendor provided, use this command:

reuse lint -l | grep "^sys/" | grep -v "/vendor/"

Declaration of AI-Tools / LLMs usage

AI-Tools / LLMs that were used are:

  • VS Code Copilot for the python script

Issues/PRs references

Tracking #21515

@github-actions github-actions Bot added Area: timers Area: timer subsystems Area: SAUL Area: Sensor/Actuator Uber Layer Area: OTA Area: Over-the-air updates Area: USB Area: Universal Serial Bus Area: sys Area: System Area: Kconfig Area: Kconfig integration labels Aug 23, 2026
@AnnsAnns AnnsAnns added CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR AI: Co-Authored PR/Issue relies on AI. Documentation / Code was partly generated by AI. labels Aug 23, 2026
@riot-ci

riot-ci commented Aug 23, 2026

Copy link
Copy Markdown

Murdock results

✔️ PASSED

7ba21ab sys/[o-z]*: replace license headers with SPDX

Success Failures Total Runtime
11276 0 11277 15m:36s

Artifacts

@crasbe crasbe added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation labels Aug 24, 2026
Comment thread sys/pipe/pipe.c
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>

Comment thread sys/pipe/pipe.c
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: NONE

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-License-Identifier: NONE
* SPDX-License-Identifier: LGPL-2.1-only

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-License-Identifier: NONE
* SPDX-License-Identifier: LGPL-2.1-or-later

Comment thread sys/pipe/pipe_dynamic.c
Comment on lines +2 to +3
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: NONE

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: NONE
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: LGPL-2.1-only

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: NONE
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: LGPL-2.1-or-later

* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2013 -15 Freie Universität Berlin

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-FileCopyrightText: 2013 -15 Freie Universität Berlin
* SPDX-FileCopyrightText: 2013-2015 Freie Universität Berlin

* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2013 -15 Freie Universität Berlin

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-FileCopyrightText: 2013 -15 Freie Universität Berlin
* SPDX-FileCopyrightText: 2013-2015 Freie Universität Berlin

Comment thread sys/shell/Kconfig.config
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
#
# SPDX-FileCopyrightText: 2021 Freie Universität

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# SPDX-FileCopyrightText: 2021 Freie Universität
# SPDX-FileCopyrightText: 2021 Freie Universität Berlin

This was added by @miri64 in #16037, so it's FU Berlin.

* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2020 Kaspar Schleiser <kaspar@schleiser.de>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-FileCopyrightText: 2020 Kaspar Schleiser <kaspar@schleiser.de>
* SPDX-FileCopyrightText: 2020 Kaspar Schleiser <kaspar@schleiser.de>
* SPDX-FileCopyrightText: 2020 Freie Universität Berlin
* SPDX-FileCopyrightText: 2020 Inria

Comment thread sys/timex/tm.c
Comment on lines +2 to +3
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: NONE

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: NONE
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: LGPL-2.1-only

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: NONE
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: LGPL-2.1-or-later

Comment thread sys/trace/trace.c
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
* SPDX-FileCopyrightText: 2020 Kaspar Schleiser <kaspar@schleiser.de>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-FileCopyrightText: 2020 Kaspar Schleiser <kaspar@schleiser.de>
* SPDX-FileCopyrightText: 2020 Kaspar Schleiser <kaspar@schleiser.de>
* SPDX-FileCopyrightText: 2020 Freie Universität Berlin
* SPDX-FileCopyrightText: 2020 Inria

Comment on lines -10 to -15
* @ingroup sys_universal_address
* @{
* @file
* @brief Functions to manage universal address container
* @author Martin Landsmann <Martin.Landsmann@HAW-Hamburg.de>
* @}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be kept.

@crasbe

crasbe commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Ping, in case GitHub didn't send the notification e-mail again.

Comment thread sys/ps/ps.c
* @}
/*
* SPDX-FileCopyrightText: 2013 , INRIA.
* SPDX-License-Identifier: LGPL-2.1-only

@kfessel kfessel Aug 26, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-License-Identifier: LGPL-2.1-only
* SPDX-License-Identifier: LGPL-2.1-only
*/
/**
* @ingroup sys_ps
* @{
* @file
* @brief UNIX like ps command
* @author Kaspar Schleiser <kaspar@schleiser.de>
*
* @note The entry 'runtime_usec' in 'MODULE_SCHEDSTATISTICS' is limited
* to 2**32 microseconds. So the entry gets reset after ~1.2 hours.
* @}

* LICENSE.txt
/*
* SPDX-FileCopyrightText: 2011 Mutsuo Saito, Makoto Matsumoto,
* SPDX-License-Identifier: BSD-2-Clause

@kfessel kfessel Aug 26, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-License-Identifier: BSD-2-Clause
* SPDX-License-Identifier: BSD-3-Clause
*/
/**
* @brief Tiny Mersenne Twister only 127 bit internal state
*
* @author Mutsuo Saito (Hiroshima University)
* @author Makoto Matsumoto (The University of Tokyo)

this might also need a @file

@kfessel kfessel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@N11cc00: many Thanks for picking this up again

please do not accidentally change licenses

please do not remove doxygen statements (but have them in an separate comment)

Comment thread sys/timex/tm.c
Comment on lines +2 to +3
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: NONE

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: NONE
* SPDX-FileCopyrightText: 2014 René Kijewski <rene.kijewski@fu-berlin.de>
* SPDX-License-Identifier: LGPL-2.1-or-later

@crasbe crasbe added the CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs label Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI: Co-Authored PR/Issue relies on AI. Documentation / Code was partly generated by AI. Area: Kconfig Area: Kconfig integration Area: OTA Area: Over-the-air updates Area: SAUL Area: Sensor/Actuator Uber Layer Area: sys Area: System Area: timers Area: timer subsystems Area: USB Area: Universal Serial Bus CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR CI: skip compile test If set, CI server will run only non-compile jobs, but no compile jobs or their dependent jobs Type: cleanup The issue proposes a clean-up / The PR cleans-up parts of the codebase / documentation Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants