Embed the vdpm that can list the channels it names - #177
Merged
Conversation
vdpm 0.1.4 fixes two things the core has been shipping broken.
`vdpm channels` could not run on Windows: list-channels.ps1 looked for
vdpm-channel.exe in bin/, and the bootstrap installs it under
share/vdpm/msys/usr/bin/. That is the command vdpm's own error message
sends you to when you do not name a series, so the way out of the error
was itself the error.
And refresh-repositories.{sh,ps1} still defaulted to a series called
stable, which is not a series and 404s. vdpm refuses without a name; the
helpers walked straight past that when run by hand, which is how anybody
following a script would reach them.
It also carries host-triplet recognising musl and FreeBSD and agreeing
with Windows about its patterns, and the bootstrap naming the real
failure when no seed serves the detected host.
The pin is untracked in cmake/pin-tracking.json on purpose -- "a
released tag; the vdpm release process moves it, and the core embeds the
matching bundle" -- so it moves by hand, with the release cut first.
v0.1.4 is published: nine host bundles, uploaded, downloaded back and
diffed before it left draft.
frangarcj
force-pushed
the
next-vdpm-014
branch
from
August 28, 2026 10:43
2d76a9e to
ca6690e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
VDPM_TAGmoves fromv0.1.3tov0.1.4, cut for this.Two things the core has been shipping broken.
vdpm channelscould not run on Windows.include/list-channels.ps1looked forvdpm-channel.exeinbin/; the bootstrap installs it undershare/vdpm/msys/usr/bin/. What makes it sharper than a missing file is where you arrive from: that is the command vdpm's own error message sends you to when you do not name a series. The way out of the error was the error.refresh-repositories.{sh,ps1}still defaulted tostable. Which is not a series, so it 404s. The frontend refuses without a name; both helpers walked straight past that when run directly — which is what anybody following a written procedure does. The vdpm-side commit repaired the test covering it first: it ran the helper undersh, and on any machine where/bin/shis dash it died atset -o pipefailbefore reaching the name check, so every name passed and the test reported OK having tested nothing.Also in this tag:
host-tripletrecognising musl and FreeBSD, survivingpipefail, and agreeing with Windows about its patterns; and the bootstrap naming the real failure when no seed serves the detected host.Why this is a hand-move
vdpmsits in theuntrackedhalf ofcmake/pin-tracking.json:So the release comes first and the pin follows.
v0.1.4is published and out of draft: nine host bundles, uploaded, downloaded back anddiff -ru'd before undrafting, withvdpm-0.1.4-x86_64-w64-mingw32.tar.bz2among them — the one carrying the fix.What CI actually checks here
scripts/ci/build-host.shdownloadsvdpm-0.1.4-<host>.tar.bz2for every packaged host and verifies it against the release's own sidecar rather than a hash pinned here, so a bundle that did not publish, or published wrong, fails the leg that needs it. The bootstrap smoke test then installs it and runsvdpm --help,pacman --versionandarm-vita-eabi-gcc --versionout of the result, wherever the host can run its own output.That is the check that matters for a pin like this, and it only exists on the real build.
All 9 CI tests and 6 protocol tests pass locally.
AI tools were used in preparing this PR (Claude Opus 5, Anthropic).