axodotdev / axodotdev/cargo-dist
prefer fetching cargo-dist's own artifacts/metadata from axo-releases
- Dominant language
- Rust
- Stars
- 2.1k
- Forks
- 149
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 32
Description
There are several situations where cargo-dist needs to fetch itself or axoupdater:
* in ci to bootstrap with curl-sh/irm-iex, we need to fetch the shell script, and then fetch whatever it says to fetch
* when using the sidecar axoupdater binary, we need to fetch that (falling back to building from source)
* when doing a selfupdate, we have to hit a releases api *and* fetch artifacts
This is currently a hodgepodge of fetching from github or axo releases. We should prefer axo-releases wherever possible, as the github cdn has been incredibly flakey and the api is prone to ratelimiting us.
Contributor guide
Research direction
No files or tests are named. Start by locating the fetch paths for CI bootstrap scripts, the sidecar axoupdater binary, self-update metadata, and artifacts, then compare their GitHub and axo-releases sources. Done means cargo-dist prefers axo-releases wherever possible while retaining the stated source-build fallback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100