devkit update # to the latest tag
devkit update --to v0.3.0 # to a tag or a commit
devkit update -d wrap=true # and change an answerOn a clean tree, as copier refuses a dirty one. It merges the template's changes between the project's
release and the new one into devkit's files, three ways: a line the project changed stays when devkit did
not change it too. Then mise install fetches the new pins. It prints the compare link of the two releases
and the files left with conflict markers.
Run the latest devkit, mise up pipx:hiqdev/devkit: it is the one that knows how to update to the
latest template. The project pins no devkit, so nothing in it holds an older one back.
git diffand the compare link: what changed- resolve each
<<<<<<<conflict; one in a file devkit owns usually takes devkit's side, the project's change belongs in its own file devkit doctor,mise run check- commit,
devkit vX.Y.Zas the message
copier never writes the project's files on update: a change devkit's release notes ask for there is made by hand, as the 0.3.0 notes below tell.
- GitLab jobs on a fresh clone: the jobs make
.git/infobefore they write.cache/there; a runner whose clone had none failed before lint. - uwiki pinned by its tag:
vX.Y.Z, as uwiki tags its releases. mise installs a tag the day it is out, a bare version only once mise's list of versions has it. A project's own"X.Y.Z"pin stays: change it withmise use pipx:hiqsol/uwiki@vX.Y.Z, the next bump at the latest. A new project starts on 0.31.1.
- GitLab
.devkit-check: lint with its JUnit report, then the project'stesttask; both run, the job fails when either does..devkit-lintstays, lint alone: a project with tests extends.devkit-check. - release says why it refuses: a version with no tag yet takes
git tag vX.Y.Zwhen it was set by hand, a tag on another commit takes a new version.
checkis every check:lintandtest. CI,patchand the release workflow run it, so a lint failure stops a release before its tag.testis the project's, inmise.toml; devkit's warns there are no tests, or fails with Python. A project's own task namedcheckoverrides devkit's: rename it..github/workflows/check.ymlreplaceslint.yml: copier removeslint.yml. A project's owntest.ymlstays, a test matrix for one.- ruff rules in
.config/devkit/ruff.toml, withpython: 120 columns, B, I, UP, SIM. Addextend = ".config/devkit/ruff.toml"topyproject.toml[tool.ruff]by hand,devkit doctornotes it until then; the project's own ruff rules stay there, on top. .config/devkit/AGENTS.mdupdates: copier skipped it as the project'sAGENTS.md; now only the project root's is the project's.
- A fresh uwiki installs:
devkit.tomlexemptspipx:hiqsol/uwikifrom mise's 24hminimum_release_age, so CI takes a uwiki release the day the project pins it.
- The project runs on its own files: the tasks run scripts in
.config/mise/tasks/devkit/, hiddendevkit:*mise tasks, with the answers they need indevkit.toml[env]. No devkit is installed in a project; thedevkitcommand, from this repo, sets up, updates and checks.tasks.shis gone: the release tasks rundevkit:bump,devkit:release,devkit:up;cleanis a task, the version ismise run devkit:version. - Agents:
.config/devkit/AGENTS.mdtells them the tasks and who owns which file; a new project'sAGENTS.mdpoints there, an existing one adds a line that does. - doctor finds devkit's files edited, which the next update would undo.
- uwiki is the project's:
mise.tomlpins it,devkit updatemoves the pin there from the answers. Bump withmise use pipx:hiqsol/uwiki@vX; 0.30.0 or later. - Lint takes the pages uwiki reads, gitignored private ones too:
devkit:files. A private folder may have findings no check saw before. - gitleaks over what git sees:
devkit:leaks, a local.envis no leak. - New questions:
ci = gitlabwith the hidden jobs,wrap,python. - typos no longer fixes: it renamed identifiers in code spans.
- markdownlint MD029 and MD060, Vale
proselint.Veryoff in devkit's base: a project's.markdownlint.yamlcan drop its own lines for them. release.ymlwithreleases = pythonandci = github.
Vale ignores phrases wrapped across lines too.
Large files checked at pre-commit only, files committed earlier were meant to be; proselint.But off.
The template: lint and release tasks, mise pins the tools, hk runs the checks over the pages uwiki ls lists.