Skip to content

Add compiler source download integrity values #1749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .bazelignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ examples/semanticdb
examples/testing/multi_frameworks_toolchain
examples/testing/scalatest_repositories
examples/testing/specs2_junit_repositories
test/compiler_sources_integrity
test/proto_cross_repo_boundary/repo
test_cross_build
third_party/test/example_external_workspace
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ test/semanticdb/tempsrc
# From scripts/create_repository.py
repository-artifacts.json

# From scripts/*.py
**/__pycache__/

# Until it settles down
**/MODULE.bazel.lock

Expand All @@ -25,3 +28,4 @@ tmp/

# Not required by tests.
deps/latest/.bazelversion

1 change: 0 additions & 1 deletion protoc/private/protoc_integrity.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ PROTOC_VERSIONS = [
"29.1",
"29.0",
]

PROTOC_BUILDS = {
"linux-aarch_64": {
"exec_compat": [
Expand Down
276 changes: 276 additions & 0 deletions scala/private/macros/compiler_sources_integrity.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,276 @@
"""Scala compiler source JAR integrity metadata.

Generated and updated by scripts/update_compiler_sources_integrity.py.
"""

URL_PREFIX = "https://repo1.maven.org/maven2/org/scala-lang/"
URL_SUFFIX_BY_MAJOR_VERSION = {
"2": "scala-compiler/{version}/scala-compiler-{version}-sources.jar",
"3": "scala3-compiler_3/{version}/scala3-compiler_3-{version}-sources.jar",
}
COMPILER_SOURCES = {
"2.11.12": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.11.12/scala-compiler-2.11.12-sources.jar",
"integrity": "sha256-1XeX/jmC1p1W1DIEZFn1ty6HpCIXDZjPKVw7G76T9FY=",
},
"2.12.1": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.1/scala-compiler-2.12.1-sources.jar",
"integrity": "sha256-omHm4mF8PoxvsvZwNy3eLrdjHy8Rl3IQZQodb9P+yS8=",
},
"2.12.2": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.2/scala-compiler-2.12.2-sources.jar",
"integrity": "sha256-MO5/7KveqWSZw8l+wtCcqQ5mlL7y044hO91z7ubL+PY=",
},
"2.12.3": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.3/scala-compiler-2.12.3-sources.jar",
"integrity": "sha256-ELU1rglNSGnO8gEQb+akaWDiRdtvTHgSWOxo1u/nwto=",
},
"2.12.4": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.4/scala-compiler-2.12.4-sources.jar",
"integrity": "sha256-Z10eXhY/TbH4vemyDtezDV5uY14YhVyw5PO15nKohRI=",
},
"2.12.5": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.5/scala-compiler-2.12.5-sources.jar",
"integrity": "sha256-q/RhC/8yR4sWTTNlOqmiU8FQnQzZUFAQqyXaqfnXF/Y=",
},
"2.12.6": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.6/scala-compiler-2.12.6-sources.jar",
"integrity": "sha256-0+nXzHtQyJZ2SBlZzrvyMSdYY8n3QQLeKCUNyS/9Sm8=",
},
"2.12.7": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.7/scala-compiler-2.12.7-sources.jar",
"integrity": "sha256-Z2+YZe7hCLcD2BKiG6C9lTDhZhV9QxFxzcGWTTWdUU8=",
},
"2.12.8": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.8/scala-compiler-2.12.8-sources.jar",
"integrity": "sha256-UXBnEaE5nwYgZ0WQfxiIFcMfLdlbObAfDiwvx4sOfjs=",
},
"2.12.9": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.9/scala-compiler-2.12.9-sources.jar",
"integrity": "sha256-qsRwgFYVGmRUretuPdN5on8yZqYaC/qYbvJ4SmO4zDo=",
},
"2.12.10": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.10/scala-compiler-2.12.10-sources.jar",
"integrity": "sha256-u2ldGwXFI5u5PvSwcCOZOlnfBzumFQ9UFyXYHxzCPk0=",
},
"2.12.11": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.11/scala-compiler-2.12.11-sources.jar",
"integrity": "sha256-c7IwLsqbj8P8RzUvmxQGgzUMb3DgpKgdcDd5EvQlVmE=",
},
"2.12.12": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.12/scala-compiler-2.12.12-sources.jar",
"integrity": "sha256-jsBFrSOoWJKdxVmcxCNkz1guHcNU0ZeHrJRZG0g5pw4=",
},
"2.12.13": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.13/scala-compiler-2.12.13-sources.jar",
"integrity": "sha256-Iim2ccH0ge9SvLoZurhZMwNm+pFcq8p+BsAa3QLlzCE=",
},
"2.12.14": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.14/scala-compiler-2.12.14-sources.jar",
"integrity": "sha256-Z77QNjCIh1NWvxspYOhjh31pdn68u1879AQ4Fc6LhlI=",
},
"2.12.15": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.15/scala-compiler-2.12.15-sources.jar",
"integrity": "sha256-ZfeD8fvvfeZhIk9gesB8oDxdGaz9t/IjT/je8eebXNg=",
},
"2.12.16": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.16/scala-compiler-2.12.16-sources.jar",
"integrity": "sha256-lcIXzIfuhGs5mQ4KnCc4JKOE3/usV9+E1Gb4Zt9Kkeo=",
},
"2.12.17": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.17/scala-compiler-2.12.17-sources.jar",
"integrity": "sha256-YSVSUhiKe3xKmApNoabdxmrhePulRde4M3E0/1ew2xM=",
},
"2.12.18": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.18/scala-compiler-2.12.18-sources.jar",
"integrity": "sha256-957oDxQCGCU/KjjJ1z+Km1UtBq/Oel9hzwgHmjiOId8=",
},
"2.12.19": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.19/scala-compiler-2.12.19-sources.jar",
"integrity": "sha256-ccZCNcOUkOeGX3q5qgShbJmscgEF9totOoc7ikAILCM=",
},
"2.12.20": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.12.20/scala-compiler-2.12.20-sources.jar",
"integrity": "sha256-B8FAyBh6e8vPznUJ608XBPy/oSrTx3mPjdyrlHfcUCg=",
},
"2.13.0": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.0/scala-compiler-2.13.0-sources.jar",
"integrity": "sha256-CJi/+Ctl9YPhqHLK3R8H43t9oQyop2N2chZiutCobOY=",
},
"2.13.1": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.1/scala-compiler-2.13.1-sources.jar",
"integrity": "sha256-RxPRkGxoLKSDoQ4rN70C2YCkZXlIeBlnJqg1aqhaDO0=",
},
"2.13.2": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.2/scala-compiler-2.13.2-sources.jar",
"integrity": "sha256-pfLrYtjcCtdf8afYuhaYzyyBjOzo4nTcdo0Hmskbv8Q=",
},
"2.13.3": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.3/scala-compiler-2.13.3-sources.jar",
"integrity": "sha256-26lichdpBUfaenDzTZIjPRtaRkLsY4MsCpmSD4NxHF4=",
},
"2.13.4": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.4/scala-compiler-2.13.4-sources.jar",
"integrity": "sha256-pIEXIkOwO0Q84iuzUS7TIbazmKEK4RFsF6Gn6FJsOow=",
},
"2.13.5": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.5/scala-compiler-2.13.5-sources.jar",
"integrity": "sha256-CuLhwjMtDnpDfJdhKLoCsbTOujByGyCnpllKjqrpbU8=",
},
"2.13.6": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.6/scala-compiler-2.13.6-sources.jar",
"integrity": "sha256-YNds7vg1dFKr1kUiTbxhn0MvlxdaxmkhPHwlvX342aQ=",
},
"2.13.7": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.7/scala-compiler-2.13.7-sources.jar",
"integrity": "sha256-gsHXI5FYbPfm5XelBxsHaNF1MW2j7jV3WZwzzrpgw0s=",
},
"2.13.8": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.8/scala-compiler-2.13.8-sources.jar",
"integrity": "sha256-jTTCS05iC+sM5NlspZxFEHtzVnpUasW3WM4o6JFSYwg=",
},
"2.13.9": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.9/scala-compiler-2.13.9-sources.jar",
"integrity": "sha256-aDRGLrBpgx9YqMB4kgwKw303lRBtq98xp8etgm4Ylws=",
},
"2.13.10": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.10/scala-compiler-2.13.10-sources.jar",
"integrity": "sha256-QXzuJo6g4VUoioA/71pipjFtFjtFkV07quO5PlvI3SU=",
},
"2.13.11": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.11/scala-compiler-2.13.11-sources.jar",
"integrity": "sha256-fPsaDG2TngX4ImLJ1z8PqCpmSdBVvwuh9enRDWQIYLs=",
},
"2.13.12": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.12/scala-compiler-2.13.12-sources.jar",
"integrity": "sha256-ZK/GftNZm6fXCwQdk6Hcxcv/ubJgPVLMkqZmFdDZC2Q=",
},
"2.13.13": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.13/scala-compiler-2.13.13-sources.jar",
"integrity": "sha256-zhdtHcdDafnsARq2xipLRdmXl34L0voAbl3MixrJWSE=",
},
"2.13.14": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.14/scala-compiler-2.13.14-sources.jar",
"integrity": "sha256-1vwsYsuQ4y1cCKH70xLixZldKhKPic40pRgeUsv/CAk=",
},
"2.13.15": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.15/scala-compiler-2.13.15-sources.jar",
"integrity": "sha256-EYODcz3jqnFS3IBhfCbcp00b4vL8hbQABz0eLelHZz4=",
},
"2.13.16": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala-compiler/2.13.16/scala-compiler-2.13.16-sources.jar",
"integrity": "sha256-6SLcL5fVRf3Ag/L88pFesAx2R/N3C5VIneC8nve1Sj4=",
},
"3.1.0": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.1.0/scala3-compiler_3-3.1.0-sources.jar",
"integrity": "sha256-tULCgB/phMLaHCKNZIeAHWZy/4LXhx9ghylO6FL5qlw=",
},
"3.1.1": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.1.1/scala3-compiler_3-3.1.1-sources.jar",
"integrity": "sha256-YLW1zsZwLENfy5ZJBI9bpVMnCxRLtTiAvB/sPw2z2zY=",
},
"3.1.2": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.1.2/scala3-compiler_3-3.1.2-sources.jar",
"integrity": "sha256-t1OeqlDxa/QKXBCYlJSXLvtUZYCCmQo/5WtsVUUEBVA=",
},
"3.1.3": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.1.3/scala3-compiler_3-3.1.3-sources.jar",
"integrity": "sha256-7UE3FPJ6UvJTUpinSCTquNbZmzLO0aEnMLp6FUw1H2Q=",
},
"3.2.0": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.2.0/scala3-compiler_3-3.2.0-sources.jar",
"integrity": "sha256-hRkGR7EzKJSODIC4gRy4VqB/ThXnL22aV+Fr8f5QteE=",
},
"3.2.1": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.2.1/scala3-compiler_3-3.2.1-sources.jar",
"integrity": "sha256-5w2zKJsMh5gHSlLYue21+EVdU9gK14PbCWxuu1mSTFI=",
},
"3.2.2": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.2.2/scala3-compiler_3-3.2.2-sources.jar",
"integrity": "sha256-Zp1YD8So08Li0T1XNa6b4F1WdhP+REgt5bzF4uLuieo=",
},
"3.3.0": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.3.0/scala3-compiler_3-3.3.0-sources.jar",
"integrity": "sha256-c4IrUYMQ6O3vPxqn+hewV7ChatBVOv6Hj54Cn6p4sNY=",
},
"3.3.1": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.3.1/scala3-compiler_3-3.3.1-sources.jar",
"integrity": "sha256-TIMApZxGtzq7vHX44cGup8kLDhRvHC20+jweIrkMvQc=",
},
"3.3.2": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.3.2/scala3-compiler_3-3.3.2-sources.jar",
"integrity": "sha256-6kOJFARKj81b7V0IsDw+GrKobpmaKeKIMdh+aOfidjc=",
},
"3.3.3": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.3.3/scala3-compiler_3-3.3.3-sources.jar",
"integrity": "sha256-fcisUB2zFELAxla+7HpuGzn/kWeErkHaxeFdDaTrsu4=",
},
"3.3.4": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.3.4/scala3-compiler_3-3.3.4-sources.jar",
"integrity": "sha256-AMilVs9s/Y3Ppkx9qyhbgIKkZntYEh6EptwUSxmPKS0=",
},
"3.3.5": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.3.5/scala3-compiler_3-3.3.5-sources.jar",
"integrity": "sha256-fAqPm6QvZ6U9rcCzGl2YpTGoiTs8DOqt2lQEEjfyXdA=",
},
"3.3.6": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.3.6/scala3-compiler_3-3.3.6-sources.jar",
"integrity": "sha256-EuGTpE6VhXO34oJppV31e71dyIYoOlBec3XEr83LSI4=",
},
"3.4.0": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.4.0/scala3-compiler_3-3.4.0-sources.jar",
"integrity": "sha256-ynvU+5TwQecSZv/ZRKtAXPfyGEFNmT+0IHYegyijMVM=",
},
"3.4.1": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.4.1/scala3-compiler_3-3.4.1-sources.jar",
"integrity": "sha256-6eCSobLj4PSdD2hiA/r6X6oAg4tz3ct6P/aNHfLQOfo=",
},
"3.4.2": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.4.2/scala3-compiler_3-3.4.2-sources.jar",
"integrity": "sha256-6IfORj+f5ltzK8Jq8UYrircJfo37xYLKiYI6jMW/OD4=",
},
"3.4.3": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.4.3/scala3-compiler_3-3.4.3-sources.jar",
"integrity": "sha256-PEE++popIe9Z2n8GXERa4ba5cFfLvGsWlXrQUqV1o84=",
},
"3.5.0": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.5.0/scala3-compiler_3-3.5.0-sources.jar",
"integrity": "sha256-TN3nkpPFvJ8X+DNvfqcB2QW/pOw8O+1Bod4N3eZ5naY=",
},
"3.5.1": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.5.1/scala3-compiler_3-3.5.1-sources.jar",
"integrity": "sha256-M1YUfOfltzYm0y4E8+VKKHNhtFIULUhRYQoiMAUco4M=",
},
"3.5.2": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.5.2/scala3-compiler_3-3.5.2-sources.jar",
"integrity": "sha256-p1D2uTqk2Lc62eb5Lih3JMb6YAeQDC/0kyHiCghHjVc=",
},
"3.6.0": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.6.0/scala3-compiler_3-3.6.0-sources.jar",
"integrity": "sha256-fMD089tfishxm+uJTGR/WMoECqthafAILRf3hUHQAPE=",
},
"3.6.1": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.6.1/scala3-compiler_3-3.6.1-sources.jar",
"integrity": "sha256-2unD++OrpXBH2JtFRx9lXu1+WGruVlKDL6x7s/xrFNw=",
},
"3.6.2": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.6.2/scala3-compiler_3-3.6.2-sources.jar",
"integrity": "sha256-ughbUVD4Ns0KuEEYn55pKfdDRLzlt/75lJVnXqOVFG0=",
},
"3.6.3": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.6.3/scala3-compiler_3-3.6.3-sources.jar",
"integrity": "sha256-cWwD0D4sZmMRxlJ86JrH57sFkVagRbrkBqSh9Iihbps=",
},
"3.6.4": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.6.4/scala3-compiler_3-3.6.4-sources.jar",
"integrity": "sha256-bev5Oa1UiAAQ16dCcyBB9e6Q0mLrRcn7k+b2i2V//k4=",
},
"3.7.0": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.7.0/scala3-compiler_3-3.7.0-sources.jar",
"integrity": "sha256-Xd/wnmEuDHgvXlImK9TJoeDZ//9KSSrA/CjENfquW2Q=",
},
"3.7.1": {
"url": "https://repo1.maven.org/maven2/org/scala-lang/scala3-compiler_3/3.7.1/scala3-compiler_3-3.7.1-sources.jar",
"integrity": "sha256-C6oxezCyv4+ESER5pl8qPcPhrHv4BEAtmUQ8P+5A/MU=",
},
}
Loading