Open
Bug 1713577
Opened 4 years ago
Updated 1 year ago
Add missing license headers for tests
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
Tracking
(Not tracked)
NEW
People
(Reporter: Sylvestre, Unassigned)
References
(Depends on 1 open bug)
Details
Started in bug 1562642 for the code itself.
The next step is to do the same but for tests with the public domain
https://searchfox.org/mozilla-central/rev/d3b116e554eb3546a95851e81f7ddc53d5b7e096/tools/lint/license/__init__.py#21-24
So, the goal would be:
- Uncomment https://searchfox.org/mozilla-central/rev/d3b116e554eb3546a95851e81f7ddc53d5b7e096/tools/lint/license/__init__.py#179-181
- Run it
- Fix as much as possible
mach lint --linter license --fix <path> - Check that tests can still run
- Add the (long list) of new items in the exclude list to https://searchfox.org/mozilla-central/rev/d3b116e554eb3546a95851e81f7ddc53d5b7e096/tools/lint/license.yml
| Reporter | ||
Comment 1•4 years ago
|
||
I tried to run it and got:
✖ 101050 problems (101050 errors, 0 warnings, 0 fixed)
glad this linter has an autofix :)
For example:
./mach lint -l license --fix xpfe/appshell/test/test_windowlessBrowser.xhtml
Updated•4 years ago
|
Severity: -- → S3
Priority: -- → P3
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
Updated•1 year ago
|
Component: Source Code Analysis → Lint and Formatting
You need to log in
before you can comment on or make changes to this bug.
Description
•