Repository navigation
Validate Altium projects with the server's native exports - #101
Draft
naveen-forkd wants to merge 1 commit into
Draft
naveen-forkd wants to merge 1 commit into
naveen-forkd wants to merge 1 commit into
Conversation
An Altium-only folder (.PrjPcb/.SchDoc/.PcbDoc) gets an Altium graph: intake runs export_altium_netlist and export_altium_bom in one hosted turn and builds the index from the JSON; checks that read KiCad files are left out (ERC/DRC run in Altium). Mixed or KiCad folders keep the default graph.
This branch has not been deployed
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.
What
copper-pilot validateon an Altium-only folder (.PrjPcb/.SchDoc/.PcbDoc) used to fail at intake with "kicad-cli was not found". Now it runs an Altium graph:intake.toolspasses without looking for kicad-cli.intake.project(builtinaltium_project) runs one hosted turn that calls the server'sexport_altium_netlistandexport_altium_bominto.validate-scratch/altium-intake/. The CLI builds the parts/nets/sheets index from that JSON, so the result is deterministic. Unannotated parts, net-name conflicts and a missing BOM become findings.sch.erc,pcb.drc,pcb.parity,pcb.rules,pcb.connector_edge,pcb.models_3d,release.outputs,release.repo. ERC and DRC run in Altium (run_altium_erc/run_altium_drcon Windows).Folders that hold KiCad files, including mixed folders, keep the default graph unchanged.
Depends on
Server PR #215 (
Feat/altium-parity-speed). It addsexport_altium_netlistandexport_altium_bom, which are not on server main yet. Until it merges, intake gets back an ERROR that quotes the turn's reply.Tests
tests/test_validate.py: the Altium graph, a mixed folder keeping the KiCad graph, intake indexing without kicad-cli, and a missing netlist giving ERROR.pytest -m "not live": 1128 pass. The one failure,test_release_gates.py::test_version_file_is_source_of_truth, also fails on main.