eclipse-score / eclipse-score/tooling

setup_starpls doesn't work with proxy servers and violates principle of reproducability

Open
#79 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
8
Forks
37
Avg merge
2d 13h
Merged PRs (30d)
22

Description

The setup_starpls downloads the binaries via curl in a genrule. This fails when using a proxy server because the genrule runs in a stripped environment (missing the http_proxy environment variables).

The better way would be to separate the download step from the genrule. E.g. by having a `http_archive()` in the MODULE.bazel or registry and then the genrule would just make it executable and provide it as a target in the module. That way also download will be reproducible because it needs to be downloaded (only) if the hash of the archive changes.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.