Open
Bug 2070581
Opened 15 days ago
Updated 15 days ago
Create a linter to catch and report Apache 2.0 license usage
Categories
(Firefox for Android :: Tooling, task, P3)
Tracking
()
NEW
People
(Reporter: Ansh, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid])
The Apache 2.0 license can be automatically added to XML files (e.g. when adding SVGs to the codebase), and we should be using the Mozilla license instead. The task is to a write a linter to detect Apache 2.0 license usage.
Apache 2.0 license:
<!--
~ Copyright (C) 2026 The Android Open Source Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
Updated•15 days ago
|
| Reporter | ||
Updated•15 days ago
|
Blocks: detekt/ktlint/lint
You need to log in
before you can comment on or make changes to this bug.
Description
•