ament / ament/ament_lint

[ament_copyright] relax enforcement of Apache license in file header

Open
#246 2 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
50
Forks
129
Avg merge
3d 10h
Merged PRs (30d)
3

Description

ament_copyright is overzealous in enforcing its preferred header for Apache 2.0 license.

See http://www.apache.org/foundation/license-faq.html

* Use of the license *does not require* this header - only if it's likely that the source files somehow become separated from the license file.
* This check precludes the short variant suggested by Apache:
```
Copyright [yyyy] [name of copyright owner]
SPDX-License-Identifier: Apache-2.0
```
* Even the ASF doesn't use a copyright in the header: https://www.apache.org/legal/src-headers.html#headers

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.