aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-02 10:35:32 -0500
committerCraig Jennings <c@cjennings.net>2026-06-02 10:35:32 -0500
commit49c2ba9c4510bf6e1acd306687473bc8ba9ad8dd (patch)
treefe66f379d16aaeee46d8edc905eae6195162fa30
parent763e76797e2f6d05f007032734eaf8332cba5530 (diff)
downloadarchsetup-49c2ba9c4510bf6e1acd306687473bc8ba9ad8dd.tar.gz
archsetup-49c2ba9c4510bf6e1acd306687473bc8ba9ad8dd.zip
chore(todo): file dotfiles unit-test migration task
-rw-r--r--todo.org5
1 files changed, 5 insertions, 0 deletions
diff --git a/todo.org b/todo.org
index 4bbed1c..f64880f 100644
--- a/todo.org
+++ b/todo.org
@@ -196,6 +196,11 @@ ratio is THIS machine (was "fractal" pre-reinstall) — migrated in 3.1. velox m
*** TODO [#A] Phase 3.2 — git rm -r dotfiles/ from archsetup, drop transitional CLAUDE.md notes
Now unblocked (ratio + velox both migrated). Remove =dotfiles/= from the archsetup repo, drop the "transitional / retained until velox migrates" notes in CLAUDE.md (Project Structure + Dotfiles Repository section). Note velox + ratio still have local archsetup clones with dotfiles/ — harmless (they stow from ~/.dotfiles now); their next archsetup pull drops it.
+*** TODO [#A] Migrate script unit-test suites to ~/.dotfiles
+Companion to Phase 3.2, and a prerequisite to it. The =tests/= suites for the stow-managed scripts (=waybar-touchpad=, =waybar-airplane=, =airplane-mode=, =notify=, =safe-rm-rf=, =layout-navigate=, =tmux-util=) still live in =archsetup/tests/= and resolve their target as =REPO_ROOT/dotfiles/hyprland/.local/bin/...= — i.e. they test the in-repo copy that 3.2 deletes. The moment =git rm dotfiles/= lands, every one of those tests breaks. Move them to =~/.dotfiles= (co-located with the scripts they exercise, the copy that actually ships) before or with the git-rm.
+
+=waybar-netspeed= already has its suite in the new home: =~/.dotfiles/tests/waybar-netspeed/test_waybar_netspeed.py= (the pattern to mirror — stubs =ip=/=iw= on a temp PATH, drives the script via =WAYBAR_NETSPEED_IFACE= / =WAYBAR_NETSPEED_INTERVAL= env overrides). When migrating the rest: establish a runner in =~/.dotfiles= (=python3 -m unittest discover= or similar), add =__pycache__= / =.pytest_cache= to its =.gitignore=, ensure =tests/= is never stowed into =$HOME=, and update the archsetup CLAUDE.md + this todo to point at the new test home. The VM/integration harness (=scripts/testing/=, =test-results/=) stays in archsetup — only the per-script unit suites move.
+
*** TODO [#A] Cleaner per-machine override mechanism for the dotfiles repo
velox keeps laptop-specific configs (foot font, pypr scratchpad sizing for 2256x1504, waybar battery) as local REAL files shadowing the stow symlinks. That's fragile: any =make restow= on velox re-conflicts (hit exactly this during the 2026-05-22 migration — stow aborts on the real files). The =~/.dotfiles= model needs a real per-machine override story (a =minimal/=-style per-host package, a documented local-override convention with =.stow-local-ignore=, or host-conditional includes) so overrides survive restows without manual backup/restore.