mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
This reintroduces lazy lfs file rules that were removed in https://github.com/github/codeql/pull/16117, now improved. The new rules will make the actual file download go through bazel's download manager, which includes: * caching into the repository cache * sane limiting of concurrent downloads * retries The bulk of the work is done by `git_lfs_probe.py`, which will use the LFS protocol (with authentication via SSH) to output short lived download URLs that can be consumed by `repository_ctx.download`.
6 lines
282 B
Plaintext
6 lines
282 B
Plaintext
[lfs]
|
|
# codeql is publicly forked by many users, and we don't want any LFS file polluting their working
|
|
# copies. We therefore exclude everything by default.
|
|
# For files required by bazel builds, use rules in `misc/bazel/lfs.bzl` to download them on demand.
|
|
fetchinclude = /nothing
|