Salvador E. Tropea
ecbeb587fe
Simplified the other internal BoM tests.
...
Now that we can just use TestContextSCH.
No need for dummy PCB or extra options.
2020-08-01 13:35:42 -03:00
Salvador E. Tropea
77c5131a2f
Fixed two tests using the "PrPCB" directory.
...
Cut & Paste error.
2020-08-01 13:27:56 -03:00
Salvador E. Tropea
22b624037c
Added test for the internal BoM "Join" feature.
2020-08-01 13:17:27 -03:00
Salvador E. Tropea
2ad4cccf21
Fixed internal BoM "Join" feature.
2020-08-01 13:16:44 -03:00
Salvador E. Tropea
65f9612104
Removed old comment about KiBoM PR number
2020-08-01 13:16:07 -03:00
Salvador E. Tropea
1cc71f2135
Fixed TestContextSCH class.
...
Now testing targets that only needs the SCH is simpler.
2020-08-01 13:14:17 -03:00
Salvador E. Tropea
0e5f9afc39
Added test for "digikey link" in the internal BoM.
2020-08-01 12:29:49 -03:00
Salvador E. Tropea
570553b616
Added test for "datasheet_as_link"
2020-07-31 20:38:18 -03:00
Salvador E. Tropea
ca67cc8ac3
Fixed columns capitalization.
...
Now the capitalization is preserved, even when internally we match all
using lowercase.
2020-07-31 20:08:12 -03:00
Salvador E. Tropea
8a5c3724a1
Fixed the "References" column
...
Now plural as in KiBoM.
2020-07-31 20:01:43 -03:00
Salvador E. Tropea
99bec61576
Fixed references sorting.
...
Also added a test to check it.
2020-07-31 19:52:01 -03:00
Salvador E. Tropea
5058af5038
Added tests for XML and XLSX internal BoM
2020-07-31 19:31:36 -03:00
Salvador E. Tropea
7d56b59ba4
Added simple CSV and HTML test for the internal BoM.
2020-07-31 14:06:54 -03:00
Salvador E. Tropea
d55846fe85
Added missing empty line (flake8 detail)
2020-07-31 12:01:25 -03:00
Salvador E. Tropea
a523c3ceb9
Added debug information about the SCH, PCB and Config used.
2020-07-31 12:00:49 -03:00
Salvador E. Tropea
6ac62e5053
Updated the README.md with the -v... fix
2020-07-31 12:00:08 -03:00
Salvador E. Tropea
984b81fea1
Added support for "Description" BoM column.
...
For this we are loading:
- The KiCad configuration
- The default and project symbol libs tables
- All the used libs
- All the used DCMs
2020-07-31 11:58:07 -03:00
Salvador E. Tropea
ae47afa695
Reduced default verbosity for tests.
...
Using -vv can generate more than 170k when loading a couple of libs.
2020-07-31 11:56:21 -03:00
Salvador E. Tropea
bb5750df13
Added test for config files to the Makefile
...
Config files in the root of the repo makes some tests to fail.
2020-07-31 11:52:42 -03:00
Salvador E. Tropea
2c24714086
Added another schematic file format reference.
2020-07-31 10:07:12 -03:00
Salvador E. Tropea
956cba7c98
Fixed verbosity levels bigger than 1.
...
Partially my fault and also a bug in docopt.
2020-07-28 23:09:33 -03:00
Salvador E. Tropea
9d3645fa41
Implemented the 'Sheetpath' column.
2020-07-28 20:05:50 -03:00
Salvador E. Tropea
d8ff6c92aa
Implemented 'Part Lib' and 'Footprint Lib' columns.
2020-07-28 19:40:56 -03:00
Salvador E. Tropea
e0bce9a874
Added KiCad v5.x sch documentation.
2020-07-27 22:06:52 -03:00
Salvador E. Tropea
544f34c6fc
Added native BoM generator.
...
Based on KiBoM, but reading the data directly from the .sch
Information from the libs not supported yet.
2020-07-27 22:04:01 -03:00
Salvador E. Tropea
f824bee832
Added KiCad v5.x schematic support.
...
It provides extra information, like which files are part of the
Schematic.
Library components not yet implemented.
2020-07-27 22:01:12 -03:00
Salvador E. Tropea
7dc94bf7be
Added default output file name pattern.
...
Can be applied to all outputs.
2020-07-23 18:26:03 -03:00
Salvador E. Tropea
d4d88a5c9d
Normalized the PCB and SCH file names.
...
Now the GS members contains the absolute path and various useful parts
of the name are computed and stored in GS to avoid computing them in
each output.
2020-07-23 12:03:42 -03:00
Salvador E. Tropea
43b97db20c
Now IBoM output file is coherent with other outputs.
...
The user can select the IBoM name mechanism, but the default is to use
a name coherent with all the other outputs.
2020-07-22 19:51:35 -03:00
Salvador E. Tropea
d48ed3b23b
Added a cache to avoid running external scripts many times to check
...
their versions
2020-07-22 18:48:18 -03:00
Salvador E. Tropea
64bbf3d6e3
Updated the documentation and example.
...
- Output filenames changes.
- KiBoM configuration.
2020-07-22 18:35:24 -03:00
Salvador E. Tropea
de6835d366
Fixed import no longer used.
2020-07-22 18:34:26 -03:00
Salvador E. Tropea
165d9aa15d
Added full KiBoM configuration from the YAML config.
2020-07-22 18:33:53 -03:00
Salvador E. Tropea
97e95ff7c5
Fixed drill output default value not shown in help.
...
The docstring macro can evaluate attributes.
2020-07-22 18:30:58 -03:00
Salvador E. Tropea
a0a97d8cd6
Added a mechanism to keep docstring spaces at the begining.
...
If dots are used they are converted into spaces (that aren't counted
for the indentation).
2020-07-22 18:28:49 -03:00
Salvador E. Tropea
53d840a5b1
Delayed the outputs configuration until last moment.
...
Now we set the data tree, but only configure the used outputs.
This gives a chance to setup things like the PCB and SCH meta-data.
2020-07-22 18:26:12 -03:00
Salvador E. Tropea
a4c0df7fb5
Fixed flake8 warnings.
2020-07-22 18:16:18 -03:00
Salvador E. Tropea
b89d1f481c
Fixes in SCH meta-data collection.
...
- filename destruction
- code not executed
Also a test to cover all the cases.
2020-07-22 18:14:04 -03:00
Salvador E. Tropea
247ffa99b1
Updated the README.in (missing in a1d5f62fcd)
2020-07-22 18:04:09 -03:00
Salvador E. Tropea
62c7a60ad4
Added Makefile target to run a single test.
2020-07-22 17:44:43 -03:00
Salvador E. Tropea
648724f886
Added the script used to compare performance.
2020-07-22 17:43:12 -03:00
Salvador E. Tropea
c3ae2be7c3
Added YAML syntax test script.
2020-07-22 17:39:44 -03:00
Salvador E. Tropea
a1d5f62fcd
Updated the README.md and added a brief YAML explanation.
2020-07-22 11:20:04 -03:00
Salvador E. Tropea
d5168c37cd
Added filename expansion for SCH related outputs.
...
pdf_sch_print is the first to support it.
2020-07-13 19:20:25 -03:00
Salvador E. Tropea
3822a39671
Added _pos to all position formats in the ID field.
2020-07-12 18:59:50 -03:00
Salvador E. Tropea
9d10c991da
Changed default name for step files (adds -3D)
2020-07-12 18:55:08 -03:00
Salvador E. Tropea
031c69e27c
Added `position` output configuration.
2020-07-12 18:46:37 -03:00
Salvador E. Tropea
36eedc9fce
Added `drill` output configuration
2020-07-12 17:43:15 -03:00
Salvador E. Tropea
b8b1277f5f
Drill map file names can be configured.
2020-07-12 17:01:23 -03:00
Salvador E. Tropea
b6347d8992
Drill report now uses %i='drill_report' %x='txt'
2020-07-12 16:27:46 -03:00