Skip to content

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

Closed
@cmaglie

Description

@cmaglie

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions