Skip to content

Mithril: Follow GitHub redirects when fetching release data and networks.json - #1910

Merged
rdlrt merged 2 commits into
cardano-community:alphafrom
jpraynaud:jpraynaud/mithril-follow-github-redirects
Jul 17, 2026
Merged

Mithril: Follow GitHub redirects when fetching release data and networks.json#1910
rdlrt merged 2 commits into
cardano-community:alphafrom
jpraynaud:jpraynaud/mithril-follow-github-redirects

Conversation

@jpraynaud

Copy link
Copy Markdown
Contributor

Description

This PR includes a hardening of the Mithril GitHub fetches to make them future proof with upcoming updates of the URLs, which may be served through redirects:

  • Add -L to the curl call resolving the latest Mithril release in guild-deploy.sh (download_mithril)
  • Add -L to the curl call fetching networks.json in mithril.library (set_node_minimum_version)

Add -L to the curl resolving the latest release in guild-deploy.sh,
future proofing against upcoming URL updates served through redirects.
Add -L to the curl fetching networks.json in mithril.library,
future proofing against upcoming URL updates served through redirects.
@jpraynaud

Copy link
Copy Markdown
Contributor Author

Hi @TrevorBenson, could I ask for a quick review of this small PR?

@rdlrt
rdlrt merged commit 3cb5eb9 into cardano-community:alpha Jul 17, 2026
2 of 4 checks passed
Scitz0 pushed a commit that referenced this pull request Jul 23, 2026
Follow-up to #1910 (which added redirect-following): now that the
Mithril repository has moved, this repoints every Mithril GitHub URL
from `input-output-hk/mithril` to `IntersectMBO/mithril`:
- `guild-deploy.sh`: the release resolution (`api.github.com`) and the
tarball download.
- `mithril.library`: the `networks.json`, verification-key, and era
fetches.
- `.github/workflows/mithril-latest.yml`: the release-tracking
version-bump lookup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants