Repository navigation
Description
Problem
No hub text covers a fleet repository that carries a git submodule. A KiCad board repository (type eda) pinning a part library as a submodule at a release tag runs into three questions that STANDUP.md, RESYNC.md, and the carried configs leave open. The pattern comes up for every eda board that depends on a shared part library.
- Local lint scope. STANDUP 1A says to "Scope a linter's file set in the workflow rather than relaxing either config, since
.markdownlint-cli2.jsoncis carriedverbatim". The carried config's own guidance points to "a.markdownlint-cli2.jsonccarrying its ownignoresbeside that content". That second route can't work inside a submodule, because the submodule's tree belongs to another repository. In CI the submodule contents never reach the linters (thevalidate-taskcheckout fetches no submodules). A localdocker_lint.pyrun lints the submodule's Markdown, spelling, and line endings as if they were this repository's. - CI fetch.
validate-task.yml's checkout takes nosubmodules:input. A validate hook that needs the submodule (for example ERC/DRC against the pinned library, or a 3D export) has no documented way to fetch it. When the submodule repository is private, the caller'sGITHUB_TOKENcannot fetch it at all. - Visibility. A public repository with a private submodule leaves the submodule unfetchable for every reader. No rule says to check that before publishing.
Observed
This came up in the DevKitCIoT standup dry run (audit run 2026-11-07T15:54:43Z | hub 7cfe988e). The board was pinned to a part library as a submodule at a release tag. That library is private, so the repository vendored the parts instead of keeping the submodule.
Ask
Decide whether submodules are a supported construct. If they are, state:
- how a repository scopes local lint away from the submodule
- how a validate hook fetches it
- the visibility rule
If they are not, state the vendoring alternative, so the next eda repository doesn't have to rediscover it.
Activity
ptr727 commentedon Nov 11, 2026
Answered by the maintainer, 2026-11-10. Submodules are a supported construct, private ones included.
A repository using a private submodule already needs a token granting rights to whatever other private repositories it depends on. So the fleet supports an optional token, making that use standard rather than specific to the KiCad library case.
So the work states:
submodulesinput and an optional token onvalidate-task.yml. A repository that passes neither behaves as it does today.