Skip to content

Commit 4567e02

Browse files
committed
Regularise extractor pack licenses to all cite the MIT license that covers the whole CodeQL repository
1 parent fe34aa3 commit 4567e02

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

actions/extractor/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ codeql_pkg_files(
44
name = "extractor",
55
srcs = [
66
"codeql-extractor.yml",
7+
"//:LICENSE",
78
] + glob(["tools/**"]),
89
strip_prefix = strip_prefix.from_pkg(),
910
visibility = ["//actions:__pkg__"],

javascript/extractor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ The extractor consists of a parser for the latest version of ECMAScript, includi
66

77
## License
88

9-
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.
9+
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.

javascript/resources/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ codeql_pkg_files(
88
"tools/*.sh",
99
"BUILD.bazel",
1010
],
11-
),
11+
) + ["//:LICENSE"],
1212
exes = glob(["tools/*.sh"]),
1313
strip_prefix = "",
1414
visibility = ["//javascript:__pkg__"],

python/BUILD.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ pkg_filegroup(
3131
)
3232

3333
pkg_files(
34-
name = "codeql-extractor-yml",
35-
srcs = ["codeql-extractor.yml"],
34+
name = "resources",
35+
srcs = ["codeql-extractor.yml", "//:LICENSE"],
3636
strip_prefix = None,
3737
)
3838

@@ -47,7 +47,7 @@ codeql_pkg_files(
4747
codeql_pack(
4848
name = "python",
4949
srcs = [
50-
":codeql-extractor-yml",
50+
":resources",
5151
":dbscheme-group",
5252
":extractor-arch",
5353
"//python/downgrades",

ruby/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pkg_filegroup(
3232

3333
codeql_pkg_files(
3434
name = "codeql-extractor-yml",
35-
srcs = ["codeql-extractor.yml"],
35+
srcs = ["codeql-extractor.yml", "//:LICENSE"],
3636
strip_prefix = None,
3737
)
3838

swift/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ codeql_pkg_files(
8383
"codeql-extractor.yml",
8484
"ql/lib/swift.dbscheme.stats",
8585
"//swift/extractor/trap:generated_dbscheme",
86+
"//:LICENSE",
8687
],
8788
)
8889

0 commit comments

Comments
 (0)