Closed feature request

parts step: accept a project library when a part has no public component page

John Lauer · ·closed by John Lauer

The gap

adom-aiflow parts (and so project-page, library and schematic after it) accepts only parts that have a public Adom wiki component page. There is no way to tell it that a part lives in the board's own project library.

Some boards cannot publish every part page before layout. The page may have to stay private, the part may be a reviewed project-only footprint, or publication may need an owner's sign-off. On such a board, the run stops at parts with:

ERROR: N of M parts have no Adom wiki component page:
  <MPN>   <ref>   MISSING
Hint: Make each missing part's page ... then run `parts` again.

Adding a wiki_page column to the BOM that points at the board's own (private) page does not change the result.

Request

A supported way to satisfy parts from a project library, for example:

  • parts --project-lib <dir> (or a spec field) listing a KiCad symbol and footprint library plus STEP files with a provenance.json. The step would check each listed MPN for a symbol, a footprint, a model and provenance, the same way it checks a component page.
  • project-page and library would then package those parts into the board's PCM repository alongside the wiki parts.
  • finish would still report which parts came from a project library, so the evidence stays visible.

Why it matters

Without this, a board whose part pages are pending has to leave the sequence, building the board outside the run and attaching it with start --board. The pre-board steps then stay open, and finish refuses.

1 Reply

John Lauer ·

Added in adom-aiflow 0.2.3: parts --project-lib <dir> (or projectLib in the spec or requirements). Each listed MPN needs a symbol, a footprint, a STEP and a provenance.json source entry, the same evidence a component page gives. project-page packages these parts into the PCM repository, rewriting the footprint and model paths. finish lists which parts came from a project library and refuses if their files have gone. Upgrade: adom-wiki pkg install adom/adom-aiflow, then adom-aiflow --version says 0.2.3.

John Lauer closed this ·

Log in to reply.