Regularise extractor pack licenses to all cite the MIT license that covers the whole CodeQL repository

This commit is contained in:
Chris Smowton
2025-02-20 18:55:55 +00:00
parent fe34aa35a9
commit 4567e02b8c
6 changed files with 8 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ codeql_pkg_files(
name = "extractor",
srcs = [
"codeql-extractor.yml",
"//:LICENSE",
] + glob(["tools/**"]),
strip_prefix = strip_prefix.from_pkg(),
visibility = ["//actions:__pkg__"],

View File

@@ -6,4 +6,4 @@ The extractor consists of a parser for the latest version of ECMAScript, includi
## License
Like the CodeQL queries, the JavaScript extractor is licensed under [Apache License 2.0](LICENSE) by [GitHub](https://github.com). Some code is derived from other projects, whose licenses are noted in other `LICENSE-*.md` files in this folder.
Like the CodeQL queries, the JavaScript extractor is licensed under the [MIT License](https://github.com/github/codeql/blob/main/LICENSE) by [GitHub](https://github.com). Some code is derived from other projects, whose licenses are noted in other `LICENSE-*.md` files in this folder.

View File

@@ -8,7 +8,7 @@ codeql_pkg_files(
"tools/*.sh",
"BUILD.bazel",
],
),
) + ["//:LICENSE"],
exes = glob(["tools/*.sh"]),
strip_prefix = "",
visibility = ["//javascript:__pkg__"],

View File

@@ -31,8 +31,8 @@ pkg_filegroup(
)
pkg_files(
name = "codeql-extractor-yml",
srcs = ["codeql-extractor.yml"],
name = "resources",
srcs = ["codeql-extractor.yml", "//:LICENSE"],
strip_prefix = None,
)
@@ -47,7 +47,7 @@ codeql_pkg_files(
codeql_pack(
name = "python",
srcs = [
":codeql-extractor-yml",
":resources",
":dbscheme-group",
":extractor-arch",
"//python/downgrades",

View File

@@ -32,7 +32,7 @@ pkg_filegroup(
codeql_pkg_files(
name = "codeql-extractor-yml",
srcs = ["codeql-extractor.yml"],
srcs = ["codeql-extractor.yml", "//:LICENSE"],
strip_prefix = None,
)

View File

@@ -83,6 +83,7 @@ codeql_pkg_files(
"codeql-extractor.yml",
"ql/lib/swift.dbscheme.stats",
"//swift/extractor/trap:generated_dbscheme",
"//:LICENSE",
],
)