Repository navigation
440: opskit go — config-driven enabled-projects list (recursive discovery) - #441
Merged
growlf merged 4 commits intoOct 13, 2026
Merged
Conversation
Owner
Author
|
Reviewed. Reproduced both reported failures against a scratch
Verified:
Nit, not blocking: Merging. |
growlf
deleted the
440-opskit-go-config-driven-enabled-projects-list-list
branch
October 13, 2026 20:28
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.
Closes #440
What & why
opskit gowas listing every top-level git repo underprojects_dirand never recursing, so nested projects were invisible and the TUI was noise. The "enabled" mechanism the original plan promised (a config file in~/.opskit/) was never built.This makes
~/.opskit/config.ymlthe source of truth.Changes
opskit/_cache.py):projects:key +get_projects(); missing/null normalised; cache invalidates whenconfig.ymlis newer than the cache.bin/opskit-projects.py): walksprojects_dir(depth ≤ 4, pruning dotdirs/VCS/build dirs); grouping dirs are descended into; git worktrees (.gitfile or*-wt-*) excluded; each record carries arelpath.opskit projects bootstrap|add|remove;list/rescanrespect the list.bin/opskit-go.py): empty list + TTY → offer to scan for.opskit/pack.ymlmembers and enable them; non-TTY never blocks.--height); git detail computed lazily so scanning no longer shells out togitper project; close-match suggestions.Verification
make test→ 1675 passed, 1 skipped.bootstrapenables only thepack.ymlmember; non-contiguous and rel-path queries match it.Plan:
plans/440-opskit-go-config-driven-enabled-projects.md.