mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
- Remove unused accepted Copyright line `See http://rust-lang.org/COPYRIGHT`. This URL now yields a 404, and we don't seem to use this line anywhere in the project so we can remove it. Note: We should probably use a regex anyway, so we can match the whole required expression, but thats a different topic. - Remove unused `licenses_dep_toml` table. We use cargo deny for checking the licenses of our rust dependencies. Testing: Changing tidy is covered by `./mach test-tidy` in CI Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
41 lines
1.5 KiB
Python
41 lines
1.5 KiB
Python
# Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
|
# file at the top-level directory of this distribution.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
|
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
|
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
|
# option. This file may not be copied, modified, or distributed
|
|
# except according to those terms.
|
|
|
|
OLD_MPL = """\
|
|
This Source Code Form is subject to the terms of the Mozilla Public \
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this \
|
|
file, You can obtain one at http://mozilla.org/MPL/2.0/.\
|
|
"""
|
|
|
|
MPL = """\
|
|
This Source Code Form is subject to the terms of the Mozilla Public \
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this \
|
|
file, You can obtain one at https://mozilla.org/MPL/2.0/.\
|
|
"""
|
|
|
|
APACHE = """\
|
|
Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or \
|
|
http://www.apache.org/licenses/LICENSE-2.0> or the MIT license \
|
|
<LICENSE-MIT or http://opensource.org/licenses/MIT>, at your \
|
|
option. This file may not be copied, modified, or distributed \
|
|
except according to those terms.\
|
|
"""
|
|
|
|
# List of accepted `COPYRIGHT` disclaimers.
|
|
COPYRIGHT = [
|
|
"See the COPYRIGHT file at the top-level directory of this distribution",
|
|
]
|
|
|
|
# The valid licenses, in the form we'd expect to see them in a Cargo.toml file.
|
|
licenses_toml = [
|
|
'license = "MPL-2.0"',
|
|
'license = "MIT/Apache-2.0"',
|
|
'license = "MIT OR Apache-2.0"',
|
|
]
|