Skip to content

Commit

Permalink
Merge pull request #18829 from smowton/smowton/admin/regularise-extra…
Browse files Browse the repository at this point in the history
…ctor-licenses

Regularise extractor pack licenses to all cite the MIT license that covers the whole CodeQL repository
  • Loading branch information
smowton authored Feb 20, 2025
2 parents fe34aa3 + a1ba584 commit 311c1e1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
1 change: 1 addition & 0 deletions actions/extractor/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -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__"],
Expand Down
2 changes: 1 addition & 1 deletion javascript/extractor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion javascript/resources/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ codeql_pkg_files(
"tools/*.sh",
"BUILD.bazel",
],
),
) + ["//:LICENSE"],
exes = glob(["tools/*.sh"]),
strip_prefix = "",
visibility = ["//javascript:__pkg__"],
Expand Down
9 changes: 6 additions & 3 deletions python/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,11 @@ pkg_filegroup(
)

pkg_files(
name = "codeql-extractor-yml",
srcs = ["codeql-extractor.yml"],
name = "resources",
srcs = [
"codeql-extractor.yml",
"//:LICENSE",
],
strip_prefix = None,
)

Expand All @@ -47,9 +50,9 @@ codeql_pkg_files(
codeql_pack(
name = "python",
srcs = [
":codeql-extractor-yml",
":dbscheme-group",
":extractor-arch",
":resources",
"//python/downgrades",
"//python/extractor",
"//python/tools",
Expand Down
5 changes: 4 additions & 1 deletion ruby/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ pkg_filegroup(

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

Expand Down
1 change: 1 addition & 0 deletions swift/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ codeql_pkg_files(
srcs = [
"codeql-extractor.yml",
"ql/lib/swift.dbscheme.stats",
"//:LICENSE",
"//swift/extractor/trap:generated_dbscheme",
],
)
Expand Down

0 comments on commit 311c1e1

Please sign in to comment.