1{ 2 "HOW TO UPDATE THE BINARIES": [ 3 "Upload the new file to S3 under a new folder with the version number embedded in (see actionlint for an example).", 4 "(Don't override the old files, otherwise you'll break `lintrunner install` for anyone using an older commit of pytorch.)", 5 "'Hash' is the sha256 of the uploaded file.", 6 "Validate the new download url and hash by running 'lintrunner init' to pull the new binaries and then run 'lintrunner' to try linting the files.", 7 "Some binaries have custom builds; see https://github.com/pytorch/test-infra/blob/main/.github/workflows/clang-tidy-linux.yml and https://github.com/pytorch/test-infra/blob/main/.github/workflows/clang-tidy-macos.yml" 8 ], 9 "clang-format": { 10 "Darwin-arm": { 11 "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/macos-arm/17.0.6/clang-format", 12 "hash": "47c47f3c8275fd6e25d07128ef9a655d3f898eae6a59a7c7a801967871bdb2f7" 13 }, 14 "Darwin-i386": { 15 "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/macos-i386/17.0.6/clang-format", 16 "hash": "23423cbe62feb535c05c88e6f47e420ca2777603f90dff4d33d19b6f5177a79e" 17 }, 18 "Linux": { 19 "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/17.0.6/clang-format", 20 "hash": "920159a0fafc7c65f6819e8a0b739ecc8e655f50f20a3a1db975a3473b86431b" 21 } 22 }, 23 "clang-tidy": { 24 "Darwin-i386": { 25 "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/macos-i386/15.0.6/clang-tidy", 26 "hash": "11c9234155dd5b7aec8cf46ea9629401c4432576615b6eff2a5a4c5e3f9e6504" 27 }, 28 "Darwin-arm": { 29 "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/macos-arm/15.0.6/clang-tidy", 30 "hash": "4ed664cf50bb9fddec2d4170b3d7bbe0135dc5648acbd620b61c8d25a5a2fdb7" 31 }, 32 "Linux": { 33 "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/15.0.6/clang-tidy", 34 "hash": "8defeb3a2698caca60251f9d682bc08374f1a37eec77d515533affdd03f93add" 35 } 36 }, 37 "actionlint": { 38 "Darwin": { 39 "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/actionlint/1.6.21/Darwin_amd64/actionlint", 40 "hash": "b354db83815384d3c3a07f68f44b30cb0a70899757a0d185d7322de9952e8813" 41 }, 42 "Linux": { 43 "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/actionlint/1.6.21/Linux_arm64/actionlint", 44 "hash": "025ac157db121b33971ef24af72d73d71cda3cb1e3a94795bb2708ef4032ca76" 45 } 46 }, 47 "bazel": { 48 "Darwin": { 49 "download_url": "https://raw.githubusercontent.com/bazelbuild/bazelisk/v1.16.0/bazelisk.py", 50 "hash": "1f6d76d023ddd5f1625f34d934418e7334a267318d084f31be09df8a8835ed16" 51 }, 52 "Linux": { 53 "download_url": "https://raw.githubusercontent.com/bazelbuild/bazelisk/v1.16.0/bazelisk.py", 54 "hash": "1f6d76d023ddd5f1625f34d934418e7334a267318d084f31be09df8a8835ed16" 55 } 56 } 57} 58