Skip to content

installers: Download releases from Astral's mirror first - #23617

Merged
zsol merged 1 commit into
mainfrom
zsol/jj-vlpokmxyzsqn
Mar 6, 2026
Merged

zsol merged 1 commit into
mainfrom
zsol/jj-vlpokmxyzsqn

Conversation

@zsol

@zsol zsol commented Feb 27, 2026 •

Copy link
Copy Markdown
Member

This is like astral-sh/uv#18191 but for Ruff.

Note

We should only merge this once #23616 is merged and released.

This makes the installer shell scripts download releases from Astral's mirror first, falling back to GitHub releases if the mirror is not available.

Test plan

❯ cargo dist build --tag 0.15.5 -a global
[...]
❯ sh target/distrib/ruff-installer.sh -v
downloading ruff 0.15.5 aarch64-apple-darwin
  from https://releases.astral.sh/github/ruff/releases/download/0.15.5/ruff-aarch64-apple-darwin.tar.gz
  to /var/folders/2p/zyzvnr4j5016wx4h0pdgbjb00000gn/T/tmp.i1na6JQumh/input.tar.gz
no checksums to verify
installing to /Users/zsol/.local/bin
  ruff
everything's installed!

Base automatically changed from zsol/jj-kxpmuyxmxonl to main March 2, 2026 09:46
@zsol
zsol marked this pull request as ready for review March 2, 2026 09:52
@ntBre

ntBre commented Mar 4, 2026

Copy link
Copy Markdown
Contributor

Do you want to land this before the release tomorrow?

@ntBre ntBre added the release Related to the release process (not for changelogs) label Mar 4, 2026
@zsol

zsol commented Mar 4, 2026 via email

Copy link
Copy Markdown
Member Author

This is like astral-sh/uv#18191 but for Ruff.

> [!NOTE]
> We should only merge this once #23616 is merged and released.

This makes the installer shell scripts download releases from Astral's mirror first, falling back to GitHub releases if the mirror is not available.
@zsol
zsol force-pushed the zsol/jj-vlpokmxyzsqn branch from bcfb198 to 79006e0 Compare March 6, 2026 11:07
@zsol
zsol enabled auto-merge (squash) March 6, 2026 11:10
@zsol
zsol merged commit 9b372a5 into main Mar 6, 2026
42 checks passed
@zsol
zsol deleted the zsol/jj-vlpokmxyzsqn branch March 6, 2026 11:11
zsol added a commit to astral-sh/ty that referenced this pull request Mar 6, 2026
This is like astral-sh/ruff#23617 but for ty.

## Test plan

```
❯ cargo dist build --tag 0.0.21 -a global
[...]

❯ sh target/distrib/ty-installer.sh -v
downloading ty 0.0.21 aarch64-apple-darwin
  from https://releases.astral.sh/github/ty/releases/download/0.0.21/ty-aarch64-apple-darwin.tar.gz
  to /var/folders/2p/zyzvnr4j5016wx4h0pdgbjb00000gn/T/tmp.94XQUlda6l/input.tar.gz
no checksums to verify
installing to /Users/zsol/.local/bin
  ty
everything's installed!
```
@zsol zsol linked an issue Mar 16, 2026 that may be closed by this pull request
3 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Related to the release process (not for changelogs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fetch release assets from releases.astral.sh first

2 participants