SchrodingersGat / KiBoM

Configurable BoM generation tool for KiCad EDA (http://kicad.org/)
MIT License
350 stars 95 forks source link

Delete or sanitize generated XML netlist #158

Closed ptr727 closed 2 years ago

ptr727 commented 2 years ago

Hi, new user, thank you. I am running BOM tool from KiCad 5.99, and specifying -d manufacture as argument to create BOM in manufacture folder. I noticed (in source control) that a new file projectname.xml was created, it appears to be the netlist in XML format, created by the BOM tool. It is undesirable to have an interstitial file persisted in the project directory.

Consider instead:

set-soft commented 2 years ago

Hi @ptr727. Isn't this the XML created by KiCad and used as input for KiBoM?

ptr727 commented 2 years ago

Yes, I assume it is part of asking KiCad to create a BOM in XML format, that is then used to create the BOM in KiBOM. Regardless of what code created the file, it was indirectly created by KiBOM, not by me, and is an undesirable file that showed up as part of running KiBOM but is not a KiBOM file.

In my mind it is thus an interstitial file, that should be deleted by KiBOM, or if deemed valuable, renamed and moved to the output folder.

ptr727 commented 2 years ago

Reading up, it seems the XML is generated by KiCad as part of just running the BOM tool, and not actually generated on command by KiBoM, so nothing to do in KiBoM.