Use the copyright holder in check
- Dominant language
- Go
- Stars
- 886
- Forks
- 194
- PR merge metrics
- No merged PRs in 30d
Description
I would like to use addlicense as linter in projects like [capa](https://github.com/mandiant/capa) and [FLARE-VM](https://github.com/mandiant/flare-vm) to ensure all files have a header with `Google LLC` as copyright holder with `addlicense -c "Google LLC" --check .`. But at the moment it seems addlicense ignores the `-c` argument if the `-check` argument is provided. I would like that if both arguments are provided, it checks not only that there is a header, but also that the copyright holder is correct.
Contributor guide
Research direction
Start by reproducing the reported `addlicense -c "Google LLC" --check .` behavior and trace how the check mode handles the copyright-holder option. Done means check mode verifies both that a license header exists and that its copyright holder matches the value supplied with `-c`.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100