Skip to content

Automate license headers handling / add checks in CI to enforce it #2165

@cmaglie

Description

@cmaglie
Member

Describe the request

There are some tools to automate license headers insertion:

https://github.com/google/addlicense
https://github.com/bugst/licenser
...

we may consider creating a Taskfile task to run one of those (or even another one) to automate the creation of license headers in source code. This will ensure that the correct header is used, and updated, across the codebase.

A CI job to check that the correct license headers are present may be added later.

Describe the current behavior

There are no checks, new file should be manually handled/checked.

Arduino CLI version

N/A

Operating system

N/A

Operating system version

N/A

Additional context

No response

Issue checklist

  • I searched for previous requests in the issue tracker
    I verified the feature was still missing when using the nightly build
    My request contains all necessary details

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @cmaglie@alessio-perugini@umbynos

    Issue actions

      Automate license headers handling / add checks in CI to enforce it · Issue #2165 · arduino/arduino-cli