Make check-licenses script check that AGPL crates are not included in release binaries (#42571)

See discussion in #24657. Recalled that I had a stashed change for this,
so polished it up

Release Notes:

- N/A
This commit is contained in:
Michael Sloan
2025-11-12 21:58:12 +00:00
committed by GitHub
parent 0c1ca2a45a
commit f2a1eb9963
2 changed files with 34 additions and 4 deletions
+11
View File
@@ -1,5 +1,16 @@
no-clearly-defined = true
private = { ignore = true }
# Licenses allowed in Zed's dependencies. AGPL should not be added to
# this list as use of AGPL software is sometimes disallowed. When
# adding to this list, please check the following open source license
# policies:
#
# * https://opensource.google/documentation/reference/thirdparty/licenses
#
# The Zed project does have AGPL crates, but these are only involved
# in servers and are not built into the binaries in the release
# tarball. `script/check-licenses` checks that AGPL crates are not
# involved in release binaries.
accepted = [
"Apache-2.0",
"MIT",