| id | 145 |
|---|---|
| title | Publish mdsmith via asdf and mise registry submissions |
| status | 🔲 |
| summary | Land the asdf-plugin repo (jeduden/asdf-mdsmith) and the mise-plugins/registry entry that the multi-channel release pipeline already documents but cannot trigger from this repo. Spun out of plan/130 because both tasks ship outside this repo. |
| model | opus |
The release pipeline already attaches per-platform
binaries to every vX.Y.Z GitHub release. The
smoke-test job in
release.yml
verifies the binary works through
mise use -g ubi:jeduden/mdsmith@VER. The gap left
is that asdf install mdsmith and the bare
mise use mdsmith@latest form do not yet resolve.
Neither registry knows about us yet.
mise reads our GitHub releases directly via its
ubi backend. A registry entry is just the
difference between ubi:jeduden/mdsmith@VER (works
today) and the shorter mdsmith@VER form.
asdf is different. It needs a plugin repo that
knows how to list versions and fetch the binary.
Once that plugin repo exists, the
asdf-vm/asdf-plugins index lets users skip the URL
on asdf plugin add mdsmith.
- Create the
jeduden/asdf-mdsmithrepo with the standard plugin layout:
bin/list-allcallsgit ls-remote --tagson this repo, stripsrefs/tags/, drops the^{}deref entries, and removes the leadingvso the output is plainX.Y.Zas asdf expects. No GitHub token required; works through HTTPS git.bin/downloadcurl -fLs the matching release asset.bin/installverifies it againstchecksums.txtand places the binary asbin/mdsmith.bin/list-bin-pathsprintsbin.
- Add a CI workflow on
jeduden/asdf-mdsmiththat runsasdf install mdsmith latestagainst the most recent release and assertsmdsmith versionmatches the resolved tag. - After one successful release cycle, file a PR to
asdf-vm/asdf-pluginsadding mdsmith soasdf plugin add mdsmithresolves without an explicit URL. - File a PR to
mise-plugins/registryadding mdsmith via theubibackend pointing atjeduden/mdsmithreleases. Once merged, the shortermise use mdsmith@latestform starts resolving on user CLIs without any code change in this repo. - Update docs/guides/install.md to drop the "pending follow-up" badge from the asdf and short-mise sections once each registry PR merges.
- Update the release-workflow smoke-test matrix in
release.yml
to also exercise
asdf install mdsmith X.Y.Zand the baremise use mdsmith@X.Y.Zform, in addition to theubi:form already covered.
-
jeduden/asdf-mdsmithexists with the fourbin/scripts and a green CI workflow. -
asdf plugin add mdsmithresolves without an explicit URL after the asdf-plugins PR merges. -
asdf install mdsmith X.Y.Zthenmdsmith versionprintsmdsmith vX.Y.Z. -
mise use mdsmith@X.Y.Z(noubi:) resolves after the mise-plugins/registry PR merges, andmdsmith versionprintsmdsmith vX.Y.Z. - docs/guides/install.md no longer flags asdf or short-form mise as pending follow-ups.
- The smoke-test matrix in
release.yml
runs
asdf install mdsmithand baremise use mdsmith@VERchannels green on a tag.