Files
w3cjandClaude Opus 5.5 ffacfb75ef fix(bump): e2e-tools reads mise's 404 when mise prints in color
On CI mise prints its log in color, so unpublished's ^mise ERROR match
missed the 404 and the run failed with "mise lock failed" instead of
waiting for upstream. mise lock now runs with MISE_COLOR=0, and
unpublished strips SGR escapes before it reads the errors and the
Processing line.

bump.txtar: a stub log with CI's colored lines, and the stub records
the MISE_COLOR it was run with.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 09:13:04 -07:00

829 lines
40 KiB
Plaintext

# scripts/bump.sh, on a scratch copy of the files it edits, with upstream
# answered by a curl that reads $WORK/up/ (repo.sh), and mise, go and gh
# stubs that answer from there too and log their calls.
[!exec:jq] skip
env PATH=$WORK/bin:$PATH
chmod 755 bin/curl
chmod 755 bin/mise
chmod 755 bin/go
chmod 755 bin/gh
exec bash repo.sh
# crane's version and checksums are written as they are: a named images
# tool takes its major.
exec repo/scripts/bump.sh crane
stdout '^\[images\]$'
stdout '^ crane +0\.22\.1 +-> 9\.9\.9 \(major\)$'
stdout '^- crane: 0\.22\.1 -> 9\.9\.9$'
exec grep '^crane_' repo/assets/oci/build.sh
cmp stdout crane.want
# mise moves base's mise and devvm's host mise together.
exec repo/scripts/bump.sh mise
exec grep '^mise_' repo/assets/layers/base.sh
cmp stdout mise-base.want
exec grep -E 'miseVersion =|"(macos|linux)-' repo/internal/tools/mise.go
cmp stdout mise-go.want
# release-image moves the container release.sh builds in to its tag's
# index on Docker Hub, by the index's digest, and leaves the rest of the
# script as it was.
exec repo/scripts/bump.sh release-image
stdout '^\[release\]$'
stdout '^ trixie-scm [0-9a-f]{12} +-> 22d8ca894214 \(digest\)$'
exec grep '^release_image=' repo/scripts/release.sh
cmp stdout release-image.want
exec bash -c 'diff "$DEVVM_REPO/scripts/release.sh" repo/scripts/release.sh | grep -c "^[<>]"'
stdout '^2$'
exec repo/scripts/bump.sh --check release-image
stdout '^ trixie-scm +22d8ca894214 +up to date$'
# An index without both builders' images, linux/amd64 and linux/arm64:
# refused, and nothing is edited.
cp repo/scripts/release.sh release.sh.before
cp release-index-amd64 up/release-index
! exec repo/scripts/bump.sh release-image
stderr '^bump: library/buildpack-deps:trixie-scm''s index has no linux/amd64 or no linux/arm64 image$'
cmp repo/scripts/release.sh release.sh.before
cp release-index up/release-index
# e2e-ubuntu moves the cloud image release e2e pins to the newest Ubuntu
# lists; with none listed, nothing is edited.
exec repo/scripts/bump.sh e2e-ubuntu
stdout '^ e2e-ubuntu +release-[0-9]{8} +-> release-29990101 \(release\)$'
exec grep '^const e2eUbuntuRelease = ' repo/tests/e2e/sandbox_test.go
stdout '^const e2eUbuntuRelease = "release-29990101"$'
exec bash repo.sh
cp repo/tests/e2e/sandbox_test.go e2e.before
cp cloud-listing-none up/cloud-listing
! exec repo/scripts/bump.sh e2e-ubuntu
stderr '^bump: upstream gave e2e_ubuntu_release an unexpected value: '''''
cmp repo/tests/e2e/sandbox_test.go e2e.before
# e2e-lima moves CI's Lima to the newest release and its Linux x86_64
# tarball's checksum, from a SHA256SUMS that matches the release notes'
# sha256; one that doesn't is refused, and nothing is edited.
exec repo/scripts/bump.sh e2e-lima
stdout '^ e2e-lima +[0-9.]+ +-> 9\.8\.7 \(major\)$'
exec grep -E '^ LIMA_(VERSION|SHA256):' repo/.github/workflows/e2e.yml
cmp stdout lima.want
exec bash repo.sh
cp repo/.github/workflows/e2e.yml e2e.yml.before
cp lima-sums-tampered up/lima-sums
! exec repo/scripts/bump.sh e2e-lima
stderr '^bump: Lima 9\.8\.7''s SHA256SUMS doesn''t match its release notes'' sha256$'
cmp repo/.github/workflows/e2e.yml e2e.yml.before
# Upstream values that aren't a version or a checksum are refused, and
# nothing is edited: a command for a checksum, one in a version, and a
# missing asset (an empty checksum).
exec bash repo.sh
cp repo/assets/oci/build.sh before
cp sums-hostile up/crane-sums
! exec repo/scripts/bump.sh crane
stderr '^bump: upstream gave crane_sha256_arm64 an unexpected value: '
cmp repo/assets/oci/build.sh before
cp sums-good up/crane-sums
# A hostile version is refused before any URL is built from it: crane's
# checksums are never fetched.
rm curl.calls
cp latest-hostile up/crane-latest
! exec repo/scripts/bump.sh crane
stderr '^bump: upstream gave crane_version an unexpected value: '
! grep 'checksums\.txt' curl.calls
cmp repo/assets/oci/build.sh before
cp latest-good up/crane-latest
cp sums-missing up/crane-sums
! exec repo/scripts/bump.sh crane
stderr '^bump: upstream gave crane_sha256_arm64 an unexpected value: '''''
cmp repo/assets/oci/build.sh before
! exists pwned
# The same for the host mise's pins, in Go.
cp repo/internal/tools/mise.go mise.go.before
cp mise-sums-hostile up/mise-sums
! exec repo/scripts/bump.sh mise
stderr '^bump: upstream gave mise_sha256 an unexpected value: '
cmp repo/internal/tools/mise.go mise.go.before
! exists pwned
# mise's version, hostile: refused before its SHASUMS256.txt's URL, with
# neither file edited.
cp mise-sums up/mise-sums
cp repo/assets/layers/base.sh base.before
cp mise-latest-hostile up/mise-latest
rm curl.calls
! exec repo/scripts/bump.sh mise
stderr '^bump: upstream gave mise_version an unexpected value: '
! grep 'SHASUMS256' curl.calls
cmp repo/assets/layers/base.sh base.before
cmp repo/internal/tools/mise.go mise.go.before
! exists pwned
cp mise-latest up/mise-latest
# e2e-tools resolves the e2e lock with devvm's host mise as bump.sh mise
# pins it: the .tar.gz its pin is the SHA-256 of, not the raw binary
# next to it, checked, then its mise/bin/mise run. The lock gets
# dotnet's downloads and the SHA-256 of the mise.toml it came from.
exec bash repo.sh
exec bash host-mise.sh
exec repo/scripts/bump.sh mise
exec repo/scripts/bump.sh e2e-tools
stdout '^ e2e dotnet none +-> 11\.0\.100 \(change\)$'
grep '^host mise lock --platform linux-arm64,linux-arm64-musl,linux-x64,linux-x64-musl$' host-mise.calls
cmp repo/tests/e2e-mise.lock e2e-lock.want
# An archive that isn't the pinned one is refused before its mise runs,
# and the lock is left as it was.
rm host-mise.calls
cp up/mise.tar.gz mise.tar.gz.good
cp mise-raw up/mise.tar.gz
! exec repo/scripts/bump.sh e2e-tools
stderr '^bump: devvm''s host mise 2099\.1\.1 doesn''t match its pinned SHA-256$'
! exists host-mise.calls
cmp repo/tests/e2e-mise.lock e2e-lock.want
cp mise.tar.gz.good up/mise.tar.gz
# A newest version that mise lock stops on with a 404, as Node's musl
# builds are for days after a release: --check says e2e-tools waits for
# upstream, resolves the rest with that tool left out (the lock has
# none), reports them, and goes on to the next tool. Applying it stops
# with mise's output, naming the tool, its version and the platform; the
# lock stays as it was.
cp shared-tools-mise-node.toml repo/assets/shared-tools/mise.toml
cp mise-lock-404-musl host-mise.out
exec repo/scripts/bump.sh --check e2e-tools crane
stdout '^ e2e node +none +waiting for upstream: 24\.23\.0 isn''t published for linux-arm64-musl yet$'
stdout '^ e2e dotnet +11\.0\.100 +up to date$'
stdout '^ crane '
! stdout 'e2e lock'
! stderr .
! grep '^node' host-mise.toml
# mise runs with MISE_COLOR=0, and a log in color, as mise prints on CI
# without it, is read as if it had none.
grep '^0$' host-mise.color
exec bash -c 'printf ''%b\n'' "$(cat mise-lock-404-musl-color)" > host-mise.out'
exec repo/scripts/bump.sh --check e2e-tools
stdout '^ e2e node +none +waiting for upstream: 24\.23\.0 isn''t published for linux-arm64-musl yet$'
! stderr .
cp mise-lock-404-musl host-mise.out
! exec repo/scripts/bump.sh e2e-tools
stderr '404 Not Found\) for url \(https://unofficial-builds\.nodejs\.org/'
stderr '^bump: node 24\.23\.0 isn''t published for linux-arm64-musl yet: try again later$'
! stderr 'mise lock failed'
cmp repo/tests/e2e-mise.lock e2e-lock.want
# A tool the lock has is held back at the lock's version.
cp e2e-lock-node repo/tests/e2e-mise.lock
exec repo/scripts/bump.sh --check e2e-tools
stdout '^ e2e node +24\.22\.0 +waiting for upstream: 24\.23\.0 isn''t published for linux-arm64-musl yet$'
stdout '^ e2e dotnet +11\.0\.100 +up to date$'
grep '^node = "24\.22\.0"$' host-mise.toml
# A held tool's 404 again stops the run, even when mise names its newest
# version still.
cp mise-lock-404-musl host-mise.always
! exec repo/scripts/bump.sh --check e2e-tools
stderr '^bump: mise lock failed$'
rm host-mise.always
cp e2e-lock.want repo/tests/e2e-mise.lock
# A dotnet entry missing a checksum while another tool waits still stops
# the run: only dotnet's own wait skips it.
cp e2e-host.lock e2e-host.lock.good
cp e2e-host-stray.lock e2e-host.lock
! exec repo/scripts/bump.sh --check e2e-tools
stdout 'e2e node +none +waiting for upstream'
stderr '^bump: dotnet 11\.0\.100 has no download with a checksum for linux-arm64, and the e2e lock already has dotnet 11\.0\.100 or newer$'
cp e2e-host.lock.good e2e-host.lock
# mise's other failures still fail, --check too, with mise's output: a
# 404 for a version the lock already has, which upstream published, a
# checksum that doesn't match, alone or beside a 404, and a 404 mise only
# warned about beside one.
cp mise-lock-404-locked host-mise.out
! exec repo/scripts/bump.sh --check e2e-tools
stderr '404 Not Found\) for url \(https://builds\.dotnet\.microsoft\.com/'
stderr '^bump: mise lock failed$'
! stdout 'waiting for upstream'
cp mise-lock-mismatch host-mise.out
! exec repo/scripts/bump.sh --check e2e-tools
stderr 'Checksum mismatch'
stderr '^bump: mise lock failed$'
cp mise-lock-404-mismatch host-mise.out
! exec repo/scripts/bump.sh --check e2e-tools
stderr 'Checksum mismatch for file pnpm-linux-x64'
stderr '^bump: mise lock failed$'
! stdout 'waiting for upstream'
! exec repo/scripts/bump.sh e2e-tools
stderr 'Checksum mismatch for file pnpm-linux-x64'
stderr '^bump: mise lock failed$'
! stderr 'try again later'
cp mise-lock-sig-warn-mismatch host-mise.out
! exec repo/scripts/bump.sh --check e2e-tools
stderr 'Checksum mismatch for file node-v24\.23\.0-linux-arm64-musl\.tar\.gz$'
stderr '^bump: mise lock failed$'
! stdout 'waiting for upstream'
! exec repo/scripts/bump.sh e2e-tools
stderr '^bump: mise lock failed$'
! stderr 'try again later'
# A 404 mise only warned about is never the one it stopped on, and a 404
# whose URL holds two tools' versions names neither.
cp mise-lock-sig-warn host-mise.out
! exec repo/scripts/bump.sh --check e2e-tools
stderr '^bump: mise lock failed$'
! stdout 'waiting for upstream'
cp mise-lock-404-two-tools host-mise.out
! exec repo/scripts/bump.sh --check e2e-tools
stderr '^bump: mise lock failed$'
! stdout 'waiting for upstream'
cmp repo/tests/e2e-mise.lock e2e-lock.want
rm host-mise.out
cp shared-tools-mise.toml repo/assets/shared-tools/mise.toml
# A newest dotnet SDK without an archive for a platform waits the same,
# when it's newer than the lock's; the lock's own version without one
# stops the run, and so does releases.json that can't be fetched.
cp e2e-lock-older repo/tests/e2e-mise.lock
cp dotnet-releases-no-musl-x64 up/dotnet-releases
exec repo/scripts/bump.sh --check e2e-tools
stdout '^ e2e dotnet +11\.0\.99 +waiting for upstream: 11\.0\.100 isn''t published for linux-x64-musl yet$'
! stdout 'published for linux-arm64 yet'
! stdout 'e2e lock'
! exec repo/scripts/bump.sh e2e-tools
stderr '^bump: dotnet 11\.0\.100 isn''t published for linux-x64-musl yet: try again later$'
cmp repo/tests/e2e-mise.lock e2e-lock-older
cp e2e-lock.want repo/tests/e2e-mise.lock
! exec repo/scripts/bump.sh --check e2e-tools
stderr '^bump: dotnet 11\.0\.100 has no download with a checksum for linux-x64-musl, and the e2e lock already has dotnet 11\.0\.100 or newer$'
! stdout 'waiting for upstream'
cp e2e-lock-older repo/tests/e2e-mise.lock
rm up/dotnet-releases
! exec repo/scripts/bump.sh --check e2e-tools
stderr '^bump: couldn''t fetch https://builds\.dotnet\.microsoft\.com/dotnet/release-metadata/11\.0/releases\.json$'
! stdout 'waiting for upstream'
cp dotnet-releases up/dotnet-releases
cp e2e-lock.want repo/tests/e2e-mise.lock
# A tool whose lock entry has no checksummed download for a platform: the
# same, and --check still reports the tools after it, but writes no lock.
cp e2e-host-uv.lock e2e-host.lock
cp shared-tools-mise-uv.toml repo/assets/shared-tools/mise.toml
exec repo/scripts/bump.sh --check e2e-tools
stdout '^ e2e uv +none +waiting for upstream: 0\.99\.0 isn''t published for linux-arm64-musl yet$'
! stdout 'linux-x64 yet'
! stdout 'e2e uv .*->'
stdout '^ e2e dotnet +11\.0\.100 +up to date$'
! stdout 'e2e lock'
! exec repo/scripts/bump.sh e2e-tools
stderr '^bump: uv 0\.99\.0 isn''t published for linux-arm64-musl yet: try again later$'
cmp repo/tests/e2e-mise.lock e2e-lock.want
cp e2e-host.lock.good e2e-host.lock
cp shared-tools-mise.toml repo/assets/shared-tools/mise.toml
# A dotnet entry dotnet's downloads can't go into is never skipped, nor
# are they put after the next tool's specifiers line.
cp e2e-host-no-specifiers.lock e2e-host.lock
! exec repo/scripts/bump.sh --check e2e-tools
stderr '^bump: mise locked dotnet without the specifiers line its downloads go after$'
! stdout 'waiting for upstream'
cp e2e-host.lock.good e2e-host.lock
# --check prints upstream's version without control characters.
cp latest-escape up/crane-latest
exec repo/scripts/bump.sh --check crane
stdout ' -> 9\.9\.9\[2J \(change\)$'
! stdout '\x1b'
cmp repo/assets/oci/build.sh before
# An upstream latest older than the pin is never offered: the pin is
# reported as newer, and nothing is edited.
cp latest-older up/crane-latest
exec repo/scripts/bump.sh crane
stdout '^ crane +0\.22\.1 +newer than upstream''s latest, 0\.1\.0$'
! stdout ' -> '
cmp repo/assets/oci/build.sh before
# GitHub's API gets a token when there is one, GH_TOKEN before
# GITHUB_TOKEN, from a header file and never on curl's command line, and
# nothing but GitHub's API gets it; without one, no call has a header.
cp latest-good up/crane-latest
rm curl.calls
rm curl.headers
env GH_TOKEN=
env GITHUB_TOKEN=gh-actions-token
exec repo/scripts/bump.sh --check crane e2e-lima
grep -count=1 '^https://api\.github\.com/repos/google/go-containerregistry/releases/latest Authorization: Bearer gh-actions-token$' curl.headers
grep -count=1 '^https://api\.github\.com/repos/lima-vm/lima/releases/latest Authorization: Bearer gh-actions-token$' curl.headers
! exec grep -v '^https://api\.github\.com/' curl.headers
! grep 'gh-actions-token' curl.calls
rm curl.headers
env GH_TOKEN=gh-cli-token
exec repo/scripts/bump.sh --check crane
grep -count=1 '^https://api\.github\.com/repos/google/go-containerregistry/releases/latest Authorization: Bearer gh-cli-token$' curl.headers
! exec grep -v '^https://api\.github\.com/' curl.headers
! grep 'gh-cli-token' curl.calls
rm curl.headers
env GH_TOKEN=
env GITHUB_TOKEN=
exec repo/scripts/bump.sh --check crane
! exists curl.headers
# A failed fetch names its URL.
rm up/crane-latest
! exec repo/scripts/bump.sh --check crane
stderr '^bump: couldn''t fetch https://api\.github\.com/repos/google/go-containerregistry/releases/latest$'
cp latest-good up/crane-latest
# An unknown tool: refused.
! exec repo/scripts/bump.sh nope
stderr '^bump: unknown tool ''nope'''
# go moves Go to its minor's newest patch, and go-minor to the newest minor.
exec bash repo.sh
exec repo/scripts/bump.sh --check go go-minor
stdout '^\[go\]$'
stdout '^ go +1\.27\.4 +-> 1\.27\.9 \(patch\)$'
stdout '^ go-minor +1\.27\.4 +-> 1\.28\.2 \(minor\)$'
cmp repo/go.mod go.mod.fixture
exec repo/scripts/bump.sh go
grep '^go 1\.27\.9$' repo/go.mod
grep '^go 1\.27\.9$' repo/docs/go.mod
grep '^go = "1\.27\.9"$' repo/mise.toml
grep '^mise lock go$' mise.calls
exec bash repo.sh
exec repo/scripts/bump.sh go-minor
grep '^go 1\.28\.2$' repo/go.mod
# go-mods: a direct module's minor through go get and go mod tidy, its next
# major's path only reported, and pflag held by Dependabot's ignore list.
exec bash repo.sh
exec repo/scripts/bump.sh go-mods
stdout '^ github\.com/spf13/cobra v1\.10\.2 +-> v1\.11\.0 \(minor\)$'
stdout '^ github\.com/spf13/cobra v1\.10\.2 +-> github\.com/spf13/cobra/v2 v2\.0\.1 \(major, a new path: by hand\)$'
stdout '^ github\.com/spf13/pflag v1\.0\.10 +held below 1\.1\.0 \(newest v1\.1\.0\)$'
! stdout 'golang\.org/x/tools'
grep '^go get github\.com/spf13/cobra@v1\.11\.0$' go.calls
grep '^go mod tidy$' go.calls
# deadcode and hextra take the module proxy's newest; hextra's go.sum is
# tidied by Hugo, in docs/.
exec repo/scripts/bump.sh deadcode hextra
grep 'deadcode@v0\.999\.0 ' repo/mise.toml
grep '^go get github\.com/imfing/hextra@v0\.999\.0$' go.calls
grep '^mise exec -- hugo mod tidy$' mise.calls
# dev-tools: a minor through mise lock, Node held on its major.
exec bash repo.sh
exec repo/scripts/bump.sh dev-tools
stdout '^ vale +[0-9.]+ +-> 3\.999\.0 \(minor\)$'
stdout '^ node +[0-9.]+ +held below 25 \(newest 999\.0\.0\)$'
grep '^vale = "3\.999\.0"$' repo/mise.toml
grep '^mise lock go:go\.uber\.org/nilaway/cmd/nilaway vale$' mise.calls
# nilaway, pinned to a pseudo-version, which mise latest prints nothing
# for: its newest commit's, from the module proxy's @latest for the module
# that holds its package.
stdout '^ go:go\.uber\.org/nilaway/cmd/nilaway [0-9a-f.-]+ +-> 0\.0\.0-29990101000000-abcdefabcdef \(change\)$'
grep '^"go:go\.uber\.org/nilaway/cmd/nilaway" = "0\.0\.0-29990101000000-abcdefabcdef"$' repo/mise.toml
grep 'proxy\.golang\.org/go\.uber\.org/nilaway/@latest' curl.calls
# An empty latest is an error, never a change, and nothing is edited: from
# the module proxy, from a proxy that has none of the path's prefixes as a
# module, and from mise latest.
exec bash repo.sh
cp repo/mise.toml mise.toml.before
cp nilaway-latest-none up/proxy/go.uber.org_nilaway.json
! exec repo/scripts/bump.sh --check dev-tools
stderr '^bump: no newest version of go:go\.uber\.org/nilaway/cmd/nilaway$'
! stdout ' -> +\('
! exec repo/scripts/bump.sh dev-tools
stderr '^bump: no newest version of go:go\.uber\.org/nilaway/cmd/nilaway$'
cmp repo/mise.toml mise.toml.before
! grep '^mise lock' mise.calls
exec bash repo.sh
rm up/proxy/go.uber.org_nilaway.json
! exec repo/scripts/bump.sh dev-tools
stderr '^bump: no newest version of go:go\.uber\.org/nilaway/cmd/nilaway$'
cmp repo/mise.toml mise.toml.before
! grep '^mise lock' mise.calls
# Only the proxy's 404 or 410 moves on to a shorter prefix: any other
# failure is an error, so another module's version is never taken.
exec bash repo.sh
rm curl.calls
cp code-503 up/proxy/go.uber.org_nilaway_cmd.code
! exec repo/scripts/bump.sh dev-tools
stderr '^bump: the Go module proxy''s @latest for go\.uber\.org/nilaway/cmd failed \(HTTP 503\)$'
grep 'proxy\.golang\.org/go\.uber\.org/nilaway/cmd/nilaway/@latest' curl.calls
! grep 'proxy\.golang\.org/go\.uber\.org/nilaway/@latest' curl.calls
cmp repo/mise.toml mise.toml.before
! grep '^mise lock' mise.calls
exec bash repo.sh
cp empty up/latest/vale
! exec repo/scripts/bump.sh dev-tools
stderr '^bump: no newest version of vale$'
cmp repo/mise.toml mise.toml.before
! grep '^mise lock' mise.calls
# actions: the newest within the major, by its tag's commit, the next major
# only reported, then actionlint and zizmor.
exec bash repo.sh
exec repo/scripts/bump.sh actions
stdout '^ actions/checkout v[0-9.]+ +-> v999\.0\.0 \(major, not applied: by hand\)$'
stdout '^ actions/checkout v[0-9.]+ +-> v[0-9]\.999\.0 \(minor\)$'
grep 'uses: actions/checkout@cccccccccccccccccccccccccccccccccccccccc # v[0-9]\.999\.0$' repo/.github/workflows/e2e.yml
! grep 'checkout@[0-9a-f]* # v999' repo/.github/workflows/e2e.yml
grep '^mise exec -- actionlint$' mise.calls
grep '^mise exec -- zizmor --offline \.$' mise.calls
# pele, only when named, takes its major too: npm install writes it into
# docs/package.json and its lock, without install scripts, then the
# diagrams are drawn again, whose self-check catches a pele that draws
# them differently. --check reports it and installs nothing.
exec bash repo.sh
exec repo/scripts/bump.sh --check pele
stdout '^\[docs\]$'
stdout '^ pele +1\.13\.0 +-> 99\.0\.0 \(major\)$'
! exists mise.calls
exec repo/scripts/bump.sh pele
grep '^mise exec -- npm install --prefix docs --save-exact --ignore-scripts --no-audit --no-fund pele@99\.0\.0$' mise.calls
grep '^mise run docs:diagrams$' mise.calls
-- repo.sh --
# A copy of the files bump.sh edits, and upstream's good answers.
set -eu
rm -rf repo up mise.calls go.calls
mkdir -p repo/scripts repo/assets/oci repo/assets/layers repo/internal/tools repo/tests/e2e repo/.github/workflows repo/docs up
cp "$DEVVM_REPO/scripts/bump.sh" repo/scripts/
cp "$DEVVM_REPO"/.github/workflows/*.yml repo/.github/workflows/
cp "$DEVVM_REPO/.github/dependabot.yml" repo/.github/
cp "$DEVVM_REPO/mise.toml" repo/
cp "$DEVVM_REPO/docs/hugo.yaml" repo/docs/
cp "$DEVVM_REPO/docs/package.json" repo/docs/
cp go.mod.fixture repo/go.mod
cp docs-go.mod.fixture repo/docs/go.mod
mkdir up/latest
echo 3.999.0 > up/latest/vale
echo 999.0.0 > up/latest/node
echo 0.12 > up/latest/minisign
echo 0.12 > up/latest/minisign_0
# mise latest prints nothing for a go: tool pinned to a pseudo-version.
: > up/latest/go_go.uber.org_nilaway_cmd_nilaway
mkdir up/proxy
cp nilaway-latest up/proxy/go.uber.org_nilaway.json
cp lima-latest up/lima-latest
cp lima-sums up/lima-sums
cp "$DEVVM_REPO/assets/oci/build.sh" repo/assets/oci/
cp "$DEVVM_REPO/assets/layers/base.sh" repo/assets/layers/
cp "$DEVVM_REPO/internal/tools/mise.go" repo/internal/tools/
cp "$DEVVM_REPO/tests/e2e/sandbox_test.go" repo/tests/e2e/
cp latest-good up/crane-latest
cp sums-good up/crane-sums
cp mise-latest up/mise-latest
cp mise-sums up/mise-sums
cp cloud-listing up/cloud-listing
cp "$DEVVM_REPO/scripts/release.sh" repo/scripts/
cp release-index up/release-index
-- bin/curl --
#!/bin/bash
# Answers crane's, mise's and Lima's releases, mise's downloads (its
# .tar.gz and its raw binary), dotnet's releases, Ubuntu's list of cloud
# image releases and Docker Hub's index of the release container, by its
# tag, from $WORK/up/, to stdout or -o's file; anything else fails.
# Every call goes in $WORK/curl.calls, and each header file it reads
# (-H @FILE) in $WORK/curl.headers, after its URL.
echo "curl $*" >> "$WORK/curl.calls"
for a in "$@"; do [[ $a == @* ]] && printf '%s %s\n' "${!#}" "$(cat "${a#@}")" >> "$WORK/curl.headers"; done
out=/dev/stdout
for a in "$@"; do [[ ${o:-} == next ]] && { out=$a; o=; }; [[ $a == -o ]] && o=next; done
# The module proxy's @latest, as -w's status with -o's body: up/proxy/'s
# MODULE.json (its / as _) answers 200, its MODULE.code that status, and
# any other module 404.
for a in "$@"; do case $a in https://proxy.golang.org/*/@latest)
m=${a#https://proxy.golang.org/}; m=${m%/@latest}; m=$WORK/up/proxy/${m//\//_}
if [[ -f $m.json ]]; then cat "$m.json" > "$out"; printf 200; elif [[ -f $m.code ]]; then printf '%s' "$(cat "$m.code")"; else printf 404; fi
exit ;;
esac; done
exec >"$out"
for a in "$@"; do case $a in
*/lima-vm/lima/releases/latest) cat "$WORK/up/lima-latest"; exit ;;
*/lima-vm/lima/*/SHA256SUMS) cat "$WORK/up/lima-sums"; exit ;;
*/go-containerregistry/releases/latest) cat "$WORK/up/crane-latest"; exit ;;
*/go-containerregistry/*/checksums.txt) cat "$WORK/up/crane-sums"; exit ;;
*/jdx/mise/releases/latest) cat "$WORK/up/mise-latest"; exit ;;
*/jdx/mise/*/SHASUMS256.txt) cat "$WORK/up/mise-sums"; exit ;;
*/jdx/mise/releases/download/v*/mise-v*.tar.gz) cat "$WORK/up/mise.tar.gz"; exit ;;
*/jdx/mise/releases/download/v*/mise-v*) cat "$WORK/up/mise-raw"; exit ;;
https://builds.dotnet.microsoft.com/dotnet/release-metadata/11.0/releases.json) cat "$WORK/up/dotnet-releases"; exit ;;
https://cloud-images.ubuntu.com/releases/resolute/) cat "$WORK/up/cloud-listing"; exit ;;
'https://auth.docker.io/token?service=registry.docker.io&scope=repository:library/buildpack-deps:pull') echo '{"token":"t"}'; exit ;;
https://registry-1.docker.io/v2/library/buildpack-deps/manifests/trixie-scm) cat "$WORK/up/release-index"; exit ;;
'https://go.dev/dl/?mode=json&include=all') cat "$WORK/go-releases"; exit ;;
https://proxy.golang.org/github.com/spf13/cobra/@v/list) printf 'v1.10.2\nv1.11.0\nv1.12.0-rc.1\n'; exit ;;
https://proxy.golang.org/github.com/spf13/cobra/v2/@v/list) printf 'v2.0.1\n'; exit ;;
https://proxy.golang.org/github.com/spf13/pflag/@v/list) printf 'v1.0.10\nv1.1.0\n'; exit ;;
https://proxy.golang.org/golang.org/x/tools/@v/list) printf 'v0.52.0\nv0.999.0\n'; exit ;;
https://proxy.golang.org/github.com/imfing/hextra/@v/list) printf 'v0.13.0\nv0.999.0\n'; exit ;;
https://registry.npmjs.org/pele/latest) echo '{"version":"99.0.0"}'; exit ;;
esac; done
exit 22
-- bin/mise --
#!/bin/bash
# mise latest from $WORK/up/latest/, else mise.toml's own version; lock,
# exec and run succeed. Every call goes in $WORK/mise.calls.
echo "mise $*" >> "$WORK/mise.calls"
case $1 in
latest)
f=$WORK/up/latest/${2//[@\/:]/_}
if [[ -f $f ]]; then cat "$f"; exit; fi
awk -F' = ' -v k="${2%@*}" '{ g = $1; gsub(/"/, "", g) } g == k { v = $2; gsub(/"/, "", v); print v; exit }' "$WORK/repo/mise.toml" ;;
lock | exec | run) ;;
*) exit 1 ;;
esac
-- bin/go --
#!/bin/bash
echo "go $*" >> "$WORK/go.calls"
-- bin/gh --
#!/bin/bash
# actions/checkout's releases and any tag's commit; no releases for the rest.
case $2 in
repos/actions/checkout/releases*) printf 'v7.999.0\nv8.999.0\nv9.999.0\nv999.0.0\n' ;;
repos/*/commits/*) echo cccccccccccccccccccccccccccccccccccccccc ;;
esac
-- go-releases --
[{"version":"go1.29rc1","stable":false},{"version":"go1.28.2","stable":true},{"version":"go1.28.1","stable":true},{"version":"go1.27.9","stable":true},{"version":"go1.27.4","stable":true}]
-- go.mod.fixture --
module example.com/m
go 1.27.4
require (
github.com/spf13/cobra v1.10.2
github.com/spf13/pflag v1.0.10
)
require golang.org/x/tools v0.52.0 // indirect
-- docs-go.mod.fixture --
module example.com/m/docs
go 1.27.4
require github.com/imfing/hextra v0.13.0 // indirect
-- lima-latest --
{"tag_name":"v9.8.7","body":"The sha256sum of the SHA256SUMS file itself is `58af05498b64199f1e9de8d1bc11ea71e397df7c0ece4f313dd7c4e44b9497b1` ."}
-- lima-sums --
7777777777777777777777777777777777777777777777777777777777777777 lima-9.8.7-Linux-aarch64.tar.gz
8888888888888888888888888888888888888888888888888888888888888888 lima-9.8.7-Linux-x86_64.tar.gz
-- lima-sums-tampered --
7777777777777777777777777777777777777777777777777777777777777777 lima-9.8.7-Linux-aarch64.tar.gz
9999999999999999999999999999999999999999999999999999999999999999 lima-9.8.7-Linux-x86_64.tar.gz
-- lima.want --
LIMA_VERSION: 9.8.7
LIMA_SHA256: 8888888888888888888888888888888888888888888888888888888888888888
-- cloud-listing --
<a href="release-19991231/">release-19991231/</a>
<a href="release-20000101/">release-20000101/</a> <a href="release-29990101/">release-29990101/</a>
<a href="current/">current/</a>
-- cloud-listing-none --
<a href="current/">current/</a>
-- nilaway-latest --
{"Version":"v0.0.0-29990101000000-abcdefabcdef","Time":"2999-01-01T00:00:00Z"}
-- nilaway-latest-none --
{}
-- empty --
-- code-503 --
503
-- latest-good --
{"tag_name":"v9.9.9"}
-- latest-hostile --
{"tag_name":"v1$(id)"}
-- latest-older --
{"tag_name":"v0.1.0"}
-- latest-escape --
{"tag_name":"v9.9.9\u001b[2J"}
-- sums-good --
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa go-containerregistry_Linux_arm64.tar.gz
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb go-containerregistry_Linux_x86_64.tar.gz
-- sums-hostile --
$(touch${IFS}pwned) go-containerregistry_Linux_arm64.tar.gz
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb go-containerregistry_Linux_x86_64.tar.gz
-- sums-missing --
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb go-containerregistry_Linux_x86_64.tar.gz
-- crane.want --
crane_version=9.9.9
crane_sha256_arm64=aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
crane_sha256_amd64=bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
-- mise-latest --
{"tag_name":"v2099.1.1"}
-- mise-latest-hostile --
{"tag_name":"v1.2.3;touch${IFS}pwned"}
-- mise-sums --
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa mise-v2099.1.1-linux-arm64
1111111111111111111111111111111111111111111111111111111111111111 mise-v2099.1.1-linux-arm64.tar.gz
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb mise-v2099.1.1-linux-x64
2222222222222222222222222222222222222222222222222222222222222222 mise-v2099.1.1-linux-x64.tar.gz
3333333333333333333333333333333333333333333333333333333333333333 mise-v2099.1.1-linux-arm64-musl.tar.gz
4444444444444444444444444444444444444444444444444444444444444444 mise-v2099.1.1-linux-x64-musl.tar.gz
cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc mise-v2099.1.1-macos-arm64.tar.xz
5555555555555555555555555555555555555555555555555555555555555555 mise-v2099.1.1-macos-arm64.tar.gz
6666666666666666666666666666666666666666666666666666666666666666 mise-v2099.1.1-macos-x64.tar.gz
-- mise-sums-hostile --
1111111111111111111111111111111111111111111111111111111111111111 mise-v2099.1.1-linux-arm64.tar.gz
2222222222222222222222222222222222222222222222222222222222222222 mise-v2099.1.1-linux-x64.tar.gz
3333333333333333333333333333333333333333333333333333333333333333 mise-v2099.1.1-linux-arm64-musl.tar.gz
4444444444444444444444444444444444444444444444444444444444444444 mise-v2099.1.1-linux-x64-musl.tar.gz
"+touch${IFS}pwned+" mise-v2099.1.1-macos-arm64.tar.gz
6666666666666666666666666666666666666666666666666666666666666666 mise-v2099.1.1-macos-x64.tar.gz
-- mise-base.want --
mise_version=2099.1.1
mise_sha256_arm64=1111111111111111111111111111111111111111111111111111111111111111
mise_sha256_amd64=2222222222222222222222222222222222222222222222222222222222222222
mise_sha256_arm64_musl=3333333333333333333333333333333333333333333333333333333333333333
mise_sha256_amd64_musl=4444444444444444444444444444444444444444444444444444444444444444
-- mise-go.want --
const miseVersion = "2099.1.1"
"macos-arm64": "5555555555555555555555555555555555555555555555555555555555555555",
"macos-x64": "6666666666666666666666666666666666666666666666666666666666666666",
"linux-arm64": "1111111111111111111111111111111111111111111111111111111111111111",
"linux-x64": "2222222222222222222222222222222222222222222222222222222222222222",
-- host-mise.sh --
# devvm's host mise as a mise release publishes it: its .tar.gz, whose
# mise/bin/mise is host-mise, and its raw binary, mise-raw, each with its
# own SHA-256 in SHASUMS256.txt; the shared tools' mise.toml it resolves,
# and dotnet's releases.
set -eu
sha() { if command -v sha256sum >/dev/null; then sha256sum "$1"; else shasum -a 256 "$1"; fi | cut -c1-64; }
rm -rf archive
mkdir -p archive/mise/bin repo/assets/shared-tools
cp host-mise archive/mise/bin/mise
chmod 755 archive/mise/bin/mise
tar -czf up/mise.tar.gz -C archive mise
cp mise-raw up/mise-raw
cp dotnet-releases up/dotnet-releases
cp shared-tools-mise.toml repo/assets/shared-tools/mise.toml
gz=$(sha up/mise.tar.gz) raw=$(sha up/mise-raw)
: > up/mise-sums
for p in linux-arm64 linux-x64 linux-arm64-musl linux-x64-musl macos-arm64 macos-x64; do
printf '%s mise-v2099.1.1-%s\n%s mise-v2099.1.1-%s.tar.gz\n' "$raw" "$p" "$gz" "$p" >> up/mise-sums
done
-- host-mise --
#!/bin/bash
# devvm's host mise, in its .tar.gz: mise lock writes e2e-host.lock where
# it runs, or with $WORK/host-mise.out, while the mise.toml it resolves is
# still the repo's (no tool held back), prints it and fails; with
# $WORK/host-mise.always, it does so on every call. Every call goes in
# $WORK/host-mise.calls, the mise.toml it resolved last in
# $WORK/host-mise.toml, and its MISE_COLOR in $WORK/host-mise.color.
echo "host mise $*" >> "$WORK/host-mise.calls"
echo "${MISE_COLOR-unset}" > "$WORK/host-mise.color"
if [[ -f mise.toml ]]; then cp mise.toml "$WORK/host-mise.toml"; fi
if [[ -f $WORK/host-mise.always ]]; then cat "$WORK/host-mise.always"; exit 1; fi
if [[ -f $WORK/host-mise.out ]] && cmp -s mise.toml "$WORK/repo/assets/shared-tools/mise.toml"; then
cat "$WORK/host-mise.out"; exit 1
fi
if [[ $1 == lock ]]; then cp "$WORK/e2e-host.lock" mise.lock; fi
-- mise-raw --
#!/bin/sh
# mise's raw binary, which devvm doesn't download.
exit 1
-- shared-tools-mise.toml --
[tools]
dotnet = "latest"
-- e2e-host.lock --
[[tools.dotnet]]
version = "11.0.100"
backend = "core:dotnet"
specifiers = ["latest"]
-- dotnet-releases --
{"releases":[{"sdk":{"version":"11.0.100","files":[
{"rid":"linux-arm64","name":"dotnet-sdk-linux-arm64.tar.gz","url":"https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-arm64.tar.gz","hash":"11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"},
{"rid":"linux-musl-arm64","name":"dotnet-sdk-linux-musl-arm64.tar.gz","url":"https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-musl-arm64.tar.gz","hash":"22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222"},
{"rid":"linux-x64","name":"dotnet-sdk-linux-x64.tar.gz","url":"https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-x64.tar.gz","hash":"33333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333"},
{"rid":"linux-musl-x64","name":"dotnet-sdk-linux-musl-x64.tar.gz","url":"https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-musl-x64.tar.gz","hash":"44444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444"}
]}}]}
-- dotnet-releases-no-musl-x64 --
{"releases":[{"sdk":{"version":"11.0.100","files":[
{"rid":"linux-arm64","name":"dotnet-sdk-linux-arm64.tar.gz","url":"https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-arm64.tar.gz","hash":"11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"},
{"rid":"linux-musl-arm64","name":"dotnet-sdk-linux-musl-arm64.tar.gz","url":"https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-musl-arm64.tar.gz","hash":"22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222"},
{"rid":"linux-x64","name":"dotnet-sdk-linux-x64.tar.gz","url":"https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-x64.tar.gz","hash":"33333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333"}
]}}]}
-- e2e-lock-older --
# devvm e2e: shared-tools/mise.toml sha256:5ac3a0d705af9d1a5df005e6a8a95e8767a11c62f896f2d690650b19d55d927c
[[tools.dotnet]]
version = "11.0.99"
backend = "core:dotnet"
specifiers = ["latest"]
-- shared-tools-mise-uv.toml --
[tools]
uv = "latest"
dotnet = "latest"
-- e2e-host-uv.lock --
[[tools.dotnet]]
version = "11.0.100"
backend = "core:dotnet"
specifiers = ["latest"]
[[tools.uv]]
version = "0.99.0"
backend = "aqua:astral-sh/uv"
specifiers = ["latest"]
[tools.uv."platforms.linux-arm64"]
checksum = "sha256:5555555555555555555555555555555555555555555555555555555555555555"
url = "https://github.com/astral-sh/uv/releases/download/0.99.0/uv-aarch64-unknown-linux-gnu.tar.gz"
-- e2e-host-no-specifiers.lock --
[[tools.dotnet]]
version = "11.0.100"
backend = "core:dotnet"
[[tools.uv]]
version = "0.99.0"
backend = "aqua:astral-sh/uv"
specifiers = ["latest"]
-- e2e-host-stray.lock --
[tools.dotnet."platforms.linux-arm64"]
url = "https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-arm64.tar.gz"
[[tools.dotnet]]
version = "11.0.100"
backend = "core:dotnet"
specifiers = ["latest"]
-- shared-tools-mise-node.toml --
[tools]
node = "24"
dotnet = "latest"
-- e2e-lock-node --
# devvm e2e: shared-tools/mise.toml sha256:5ac3a0d705af9d1a5df005e6a8a95e8767a11c62f896f2d690650b19d55d927c
[[tools.node]]
version = "24.22.0"
backend = "core:node"
specifiers = ["24"]
[[tools.dotnet]]
version = "11.0.100"
backend = "core:dotnet"
specifiers = ["latest"]
-- mise-lock-404-mismatch --
→ Processing 2 tool(s): [email protected], [email protected]
mise ERROR HTTP status client error (404 Not Found) for url (https://unofficial-builds.nodejs.org/download/release/v24.23.0/node-v24.23.0-linux-arm64-musl.tar.gz)
mise ERROR Checksum mismatch for file pnpm-linux-x64
mise ERROR Version: 2026.11.14 macos-arm64 (2026-11-24)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
-- mise-lock-sig-warn-mismatch --
→ Processing 1 tool(s): [email protected]
mise WARN HTTP status client error (404 Not Found) for url (https://unofficial-builds.nodejs.org/download/release/v24.23.0/node-v24.23.0-linux-arm64-musl.tar.gz.sig)
mise ERROR Checksum mismatch for file node-v24.23.0-linux-arm64-musl.tar.gz
mise ERROR Version: 2026.11.14 macos-arm64 (2026-11-24)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
-- mise-lock-sig-warn --
→ Processing 1 tool(s): [email protected]
mise WARN HTTP status client error (404 Not Found) for url (https://unofficial-builds.nodejs.org/download/release/v24.23.0/node-v24.23.0-linux-arm64-musl.tar.gz.sig)
mise ERROR Version: 2026.11.14 macos-arm64 (2026-11-24)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
-- mise-lock-404-two-tools --
→ Processing 2 tool(s): [email protected], [email protected]
mise ERROR HTTP status client error (404 Not Found) for url (https://unofficial-builds.nodejs.org/download/release/v24.23.0/node-v24.23.0-linux-arm64-musl.tar.gz)
mise ERROR Version: 2026.11.14 macos-arm64 (2026-11-24)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
-- mise-lock-404-musl --
→ Targeting 4 platform(s) for /tmp/e2e-tools/mise.lock: linux-arm64, linux-arm64-musl, linux-x64, linux-x64-musl
→ Processing 2 tool(s): [email protected], [email protected]
mise lock [email protected] linux-arm64
mise lock [email protected] linux-arm64-musl
mise ERROR HTTP status client error (404 Not Found) for url (https://unofficial-builds.nodejs.org/download/release/v24.23.0/node-v24.23.0-linux-arm64-musl.tar.gz)
mise ERROR Version: 2026.11.14 macos-arm64 (2026-11-24)
mise ERROR Run with --verbose or MISE_VERBOSE=1 for more information
-- mise-lock-404-musl-color --
→ Targeting 4 platform(s) for /tmp/e2e-tools/mise.lock: linux-arm64, linux-arm64-musl, linux-x64, linux-x64-musl
→ Processing 2 tool(s): \033[[email protected]\033[0m, \033[[email protected]\033[0m
\033[31mmise\033[0m \033[31mERROR\033[0m HTTP status client error (404 Not Found) for url (https://unofficial-builds.nodejs.org/download/release/v24.23.0/node-v24.23.0-linux-arm64-musl.tar.gz)
\033[31mmise\033[0m \033[31mERROR\033[0m Version: 2026.11.14 linux-x64 (2026-11-24)
\033[31mmise\033[0m \033[31mERROR\033[0m \033[2mRun with --verbose or MISE_VERBOSE=1 for more information\033[0m
-- mise-lock-404-locked --
→ Processing 1 tool(s): [email protected]
mise ERROR HTTP status client error (404 Not Found) for url (https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-musl-x64.tar.gz)
-- mise-lock-mismatch --
→ Processing 1 tool(s): [email protected]
mise ERROR Checksum mismatch for file node-v24.23.0-linux-arm64-musl.tar.gz
-- e2e-lock.want --
# devvm e2e: shared-tools/mise.toml sha256:5ac3a0d705af9d1a5df005e6a8a95e8767a11c62f896f2d690650b19d55d927c
[[tools.dotnet]]
version = "11.0.100"
backend = "core:dotnet"
specifiers = ["latest"]
[tools.dotnet."platforms.linux-arm64"]
checksum = "sha512:11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111"
url = "https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-arm64.tar.gz"
[tools.dotnet."platforms.linux-arm64-musl"]
checksum = "sha512:22222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222"
url = "https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-musl-arm64.tar.gz"
[tools.dotnet."platforms.linux-x64"]
checksum = "sha512:33333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333"
url = "https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-x64.tar.gz"
[tools.dotnet."platforms.linux-x64-musl"]
checksum = "sha512:44444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444"
url = "https://builds.dotnet.microsoft.com/dotnet/Sdk/11.0.100/dotnet-sdk-11.0.100-linux-musl-x64.tar.gz"
-- release-index --
{"manifests":[{"digest":"sha256:1111111111111111111111111111111111111111111111111111111111111111","platform":{"architecture":"amd64","os":"linux"}},{"digest":"sha256:2222222222222222222222222222222222222222222222222222222222222222","platform":{"architecture":"arm64","os":"linux"}}]}
-- release-index-amd64 --
{"manifests":[{"digest":"sha256:1111111111111111111111111111111111111111111111111111111111111111","platform":{"architecture":"amd64","os":"linux"}}]}
-- release-image.want --
release_image=docker.io/library/buildpack-deps:trixie-scm@sha256:22d8ca894214b65e7eb25b1b56c3e7ce9665886408f1ccf98ba9bb263a78f951