Lack of the ways to rewrite hardcoded URL
Nobody has claimed this yet.
- #1 by @hehaoqian — closed without merging
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Start with src/elan-dist/src/manifestation.rs, where the issue says release and GitHub URLs are hardcoded, and compare how ELAN_UPDATE_ROOT is used with rustup’s RUSTUP_DIST_SERVER and RUSTUP_UPDATE_ROOT. Trace the URL construction and its callers to determine which mirror settings need to be configurable. Done means users can redirect the affected URLs through environment variables in enterprise network environments.
Written by the indexing model from the issue text.
Description
In https://github.com/leanprover/elan/blob/master/src/elan-dist/src/manifestation.rs,
The url of https://release.lean-lang.org and https://github.com are hardcoded.
In enterprise network environment, these url may be blocked,
but mirror of https://release.lean-lang.org and https://github.com may exist.
rustup provides the environment variable RUSTUP_DIST_SERVER and RUSTUP_UPDATE_ROOT,
but elan only provides ELAN_UPDATE_ROOT
- Dominant language
- Rust
- Stars
- 719
- Forks
- 62
- Avg merge
- 13m
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from leanprover/elan
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
leanprover/elan#223 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
leanprover/elan#220 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
leanprover/elan#210 ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 48/100
leanprover/elan#188 · 11 comments · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
leanprover/elan#186 · 1 comment ·
Similar issues
-
triage: failed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
oxc-project/tsrs#1277 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
autofixer: follow-up triage: bug triage: classified triage: correctness triage: has-reproducer
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
tursodatabase/turso#13221 ·
Maintainers usually reply within 1 day
-
Update Wasmtime to 48.0.11 for RUSTSEC-2026-0648Possibly taken @flyingrobots claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
flyingrobots/edict#457 ·