axodotdev / axodotdev/cargo-dist

prefer fetching cargo-dist's own artifacts/metadata from axo-releases

Open
#1,023 0 comments 0 reactions 0 assignees View on GitHub
bug
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.