chore: replace LAN-IP refs with public mirror URLs

Cargo.toml + Cargo.lock now point at https://github.com/Sulkta-Coop/pallas
for the pallas-fork patch entries. External clones from either public
mirror (github.com/Sulkta-Coop or gitlab.com/sulkta) build out of the box
— no LAN access needed.

internal builds short-circuit to the git remote via a `git config
url.X.insteadOf` rewrite on each host. Symmetric: covers both github and
gitlab → gitea. Same locked SHA either way; routing is environment-level,
not source-of-truth. See docs/internal-build-rewrites.md.

Dockerfile build-time rewrite also flipped to take public-URL inputs;
uses `git.sulkta.com` instead of the bare LAN IP.
This commit is contained in:
Sulkta 2026-05-10 14:46:05 -07:00
parent fc29ad6e03
commit 2372bd2e46
3 changed files with 35 additions and 24 deletions

View file

@ -27,7 +27,7 @@ members = [
version = "0.0.1"
edition = "2021"
license-file = "LICENSE"
repository = "https://git.sulkta.com/Sulkta-Coop/aldabra"
repository = "https://github.com/Sulkta-Coop/aldabra"
authors = ["Sulkta <oss@sulkta.com>"]
[workspace.dependencies]
@ -95,16 +95,22 @@ toml = "0.9"
# rpassword is the standard "tty echo off" prompt crate.
rpassword = "7"
# Vendored fork of txpipe/pallas with auxiliary_data support added to
# pallas-txbuilder (upstream had TODO markers we filled in). Patches
# all pallas-* crates so the version graph resolves consistently
# against the same commit. PR upstream pending; switch back to
# crates.io once merged.
# Vendored fork of txpipe/pallas with auxiliary_data + voting_procedures
# support added to pallas-txbuilder (upstream had TODO markers we filled
# in). Patches all pallas-* crates so the version graph resolves
# consistently against the same commit. PR upstream pending; switch back
# to crates.io once merged.
#
# Source URLs point at the public github mirror so external clones build
# out of the box. Sulkta-internal builds short-circuit to the LAN gitea
# via a `git config url.*.insteadOf` rewrite — no network egress, same
# locked SHA. See `docs/internal-build-rewrites.md` for the one-line
# config that wires that up on the build host + ci-runner + dev hosts.
[patch.crates-io]
pallas-codec = { git = "https://git.sulkta.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-crypto = { git = "https://git.sulkta.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-primitives = { git = "https://git.sulkta.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-traverse = { git = "https://git.sulkta.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-addresses = { git = "https://git.sulkta.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-wallet = { git = "https://git.sulkta.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-txbuilder = { git = "https://git.sulkta.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-codec = { git = "https://github.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-crypto = { git = "https://github.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-primitives = { git = "https://github.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-traverse = { git = "https://github.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-addresses = { git = "https://github.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-wallet = { git = "https://github.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }
pallas-txbuilder = { git = "https://github.com/Sulkta-Coop/pallas.git", branch = "feat-aux-data" }