Add documentation packages for the project's libraries to the mise config #21
Labels
No labels
Agent
Ignore
Agent
In Progress
Agent
Planned
Agent
Planning
Agent
Ready
Agent
Triage
Compat
Breaking
Kind
Bug
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Security
Kind
Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
lucas/nanoKontroller2#21
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The project's libraries are consumed as C/C++ APIs (
wp/*,pipewire/keys.h,glib.h/glib-unix.h,RtMidi.h), but no API documentation is available in a development environment provisioned from this repository's mise config. A reader has the headers declared and nothing to read beside them, so questions like "does WirePlumber 0.5 emit a signal for node property changes" cannot be answered locally and end up guessed or abandoned.mise.tomlalready declares a-devpackage for every library the code includes, so the headers side needs no change;libspa-0.2-devarrives automatically as a hard dependency oflibpipewire-0.3-dev. What is missing is the matching-docpackages.Plan
Add the documentation packages to
[bootstrap.packages]Edit the tracked
mise.tomlonly. Do not touchmise.local.toml: it is untracked, carries the header# Managed by omp-deck — edited in Settings → Workspaces. Local edits are overwritten., and is regenerated from a setting outside this repository.Append a new commented block at the end of
[bootstrap.packages](the table currently ends with"apt:libmagicenum-dev" = "latest"), matching the file's existing style of a short comment line above each group:Use these package names verbatim. All five exist in Debian trixie at versions matching the declared
-devpackages:wireplumber-doc0.5.8-2,libglib2.0-doc2.84.4-3~deb13u5,pipewire-doc1.4.2-1,librtmidi-doc6.0.0-2,libasound2-doc1.2.14-1+deb13u1."latest"matches the version value every existing entry in the table uses.Keep all existing entries, including every
-deventry, unchanged. Do not addlibspa-0.2-dev:libpipewire-0.3-devdepends on it (dep: libspa-0.2-dev (= 1.4.2-1)), so it is already pulled in.Nothing else changes: no README section, no CMake change, no new file. The ten existing package entries and the
[tools],[env]and[bootstrap.apt.sources.trixie-backports]tables are untouched.Verification
From the repository root:
The output must list all five new entries as
packages apt:<name> …lines — for examplepackages apt:wireplumber-doc missing— alongside the pre-existing ones. Each line proves two things at once: the TOML still parses (a syntax error makes the command fail instead of listing anything), and mise recognises each new key as a package entry rather than silently dropping it. Themissing/installedstate itself is not part of the acceptance criterion; an environment that has not installed them yet still passes.Installing the packages is out of scope for this change, so no check asserts that files appear under
/usr/share/doc/.Assumptions & contingencies
mise bootstrap statusis expected to run without privileges and without network access, as a read-only report. If it instead fails for a reason unrelated to this edit (for example no apt lists available), fall back to proving the edit withmise config get bootstrap.packagesand confirm the five keys appear in its output; do not attempt to install anything.omp-deck referenced this issue2026-11-13 14:10:16 +01:00