Salvador E. Tropea
24ba23d203
Separated YAML tests that makes reference to SCH files
...
- Avoiding KiCad 5 and 6 mixes
2022-01-10 20:48:11 -03:00
Salvador E. Tropea
7992fd9888
Added preflight option to update the QR codes.
...
- Needed for s-expression files
- Not working for KiCad 6 (bug in the Python API)
2022-01-04 10:21:59 -03:00
Salvador E. Tropea
64bfc4824d
Added `--cli-order` option to generate outputs in arbitrary order.
...
- Also updated some output details in the README
Related to #106
2021-12-31 10:40:17 -03:00
Salvador E. Tropea
9417b61478
Moved all loggers to the same domain.
...
- To fix the warnings count
2021-12-30 11:09:36 -03:00
Salvador E. Tropea
167bdcd4e9
Fixed problems when generating a Makefile and no PCB or SCH is defined
2021-12-29 15:18:47 -03:00
Diego Capusotto
6e5176b273
Simplified the code that detects KiCad v6
2021-12-17 13:11:42 -03:00
Diego Capusotto
69c874fdbd
KiCad v6: Added support for the new "modules" name ("footprints")
...
- No alias provided, as usual
2021-12-17 12:46:40 -03:00
Diego Capusotto
25d036f8fa
Added some preliminary support for v6 SCHs
...
- Currently just loads the files
- No save implemented
- Seems to be enough to generate some trivial BoMs
2021-12-16 17:08:33 -03:00
Salvador E. Tropea
70fb334856
A mechanism to avoid running some outputs by default.
...
Related to #112
2021-12-02 18:47:40 -03:00
Salvador E. Tropea
95135c8c56
New expansion patterns and out_dir from global section.
...
- Also added expansion in out_dir
- Related to #116
2021-11-30 19:12:14 -03:00
Salvador E. Tropea
ad173a3c07
Added command line debug for exec_with_retry()
...
- When debug level > 2 prints a line we can copy & paste
2021-11-25 11:27:58 -03:00
Salvador E. Tropea
79651eaa07
Fixed: Makefile: %VALUE not expanded in the directory targets.
2021-11-15 13:58:31 -03:00
Salvador E. Tropea
7c23381adb
Added distributors selection to KiCost+KiBot
2021-04-28 12:13:12 -03:00
Salvador E. Tropea
1b48e614a7
Added pattern expansion in the `dir` option for outputs
...
Closes #58
2021-03-12 21:14:39 -03:00
Salvador E. Tropea
a5b3b0569f
Fix `out_pcb` and `out_sch` targets
...
Introduced by c104d14511
2021-03-12 15:02:36 -03:00
Salvador E. Tropea
4f73de1157
Makefile variables KIBOT, DEBUG and LOGFILE can be defined from outside.
2021-03-03 13:08:52 -03:00
Salvador E. Tropea
f9ac0d001f
Fixed extra dirs created during makefile generation.
2021-02-24 14:24:22 -03:00
Salvador E. Tropea
c104d14511
Uncatched exceptions during makefile generation
2021-02-24 14:08:38 -03:00
Salvador E. Tropea
5560c62d14
Errors and warnings from KiAuto now are printed as is.
2021-02-24 12:58:47 -03:00
Salvador E. Tropea
c82485acc8
Added remove of forced video in GitLab CI
...
Note that this video recording is needed in the tests, but I don't know
why.
2021-02-22 12:55:02 -03:00
Salvador E. Tropea
9e33b7a774
Trying to force KiAuto record on GitLab CI/CD
2021-02-22 12:25:14 -03:00
Salvador E. Tropea
3499087e86
Test disabling the KiAuto record.
...
This is just a test trying to solve GitLab issues.
2021-02-22 11:13:59 -03:00
Salvador E. Tropea
57c517d02b
Passed the same verbosity level to KiAuto scripts.
2021-02-18 12:47:21 -03:00
Salvador E. Tropea
32310ba1fa
Added test for makefile generation running the script from system.
2021-02-12 14:56:51 -03:00
Salvador E. Tropea
b718bc671e
Removing extra debug
2021-02-12 13:31:31 -03:00
Salvador E. Tropea
d5a1df9eb7
Modified test suite to collect the error in test_search_as_plugin_ok
2021-02-12 13:10:22 -03:00
Salvador E. Tropea
3f565b616a
Makefiles generated with debug enabled contains debug stuff.
...
- pass the verbosity to kibot
- logs to the console
- shows the command executed
2021-02-11 11:56:55 -03:00
Salvador E. Tropea
d104c06cef
Reduced the complexity of generate_makefile
2021-02-11 08:45:33 -03:00
Salvador E. Tropea
b5648b1231
Added the KiBot config as depenency for all makefile targets.
...
Any change in the configuration forces a refresh of all targets.
2021-02-10 20:30:41 -03:00
Salvador E. Tropea
20a64aa2bb
Added more PCB/SCH makefile targets.
2021-02-10 20:15:41 -03:00
Salvador E. Tropea
a2d5ad294c
Added makefile targets for PCB/SCH related stuff (pre and all).
2021-02-10 20:08:20 -03:00
Salvador E. Tropea
99dfbbd99d
Use the full path for kibot in the makefile if not installed.
...
When we detect the run isn't from the system installation.
2021-02-10 19:47:15 -03:00
Salvador E. Tropea
f698e44642
Now we can load InteractiveHtmlBom even when installed only as plugin
...
Fixes #49
2021-02-08 15:37:01 -03:00
Salvador E. Tropea
ce0f22edce
Adjusted some details about the time-out control
...
- Warning when detected pointing to use the global options
- Now pcbnmew_do/eeschema_do output is captured
- Warning when using floating value for kiauto_wait_start (no fail)
- A simple test for time-out
Fixes #48
2021-02-08 12:07:54 -03:00
Salvador E. Tropea
34e85d646c
Added KiAuto time-out control (EXPERIMENTAL!!)
...
Related to #48
2021-02-06 20:48:34 -03:00
Salvador E. Tropea
76db8a65e4
Removed KiCad 6 code from coverage.
2021-02-01 14:52:52 -03:00
Salvador E. Tropea
003fa15715
Support for mcpyrate macros deactivation.
2021-02-01 14:51:42 -03:00
Salvador E. Tropea
d796abde2e
Separated some complex tests from the test_misc.
...
- Moved them test_misc_2
- Refined the tests in test_misc_2 to work together
2021-01-29 13:28:29 -03:00
Salvador E. Tropea
2764e087e8
Fixed makefile generation of incomplete targets.
2021-01-29 11:23:09 -03:00
Salvador E. Tropea
d20d7e5d5c
Fixed STEP dependencies generation.
2021-01-29 10:36:33 -03:00
Salvador E. Tropea
84470bbc11
Added first makefile generation test
2021-01-28 12:43:01 -03:00
Salvador E. Tropea
73cb98f113
Makefile generation.
2021-01-22 17:22:18 -03:00
Salvador E. Tropea
15474ae4d7
Now you can consolidate more than one project in one BoM.
...
The basic idea comes from pimpmykicadbom by Anton Savov (@antto)
2021-01-21 14:43:47 -03:00
Salvador E. Tropea
88cd5927dc
Now you can ask to compress the targets of an output (by out put name)
2021-01-18 16:12:30 -03:00
Salvador E. Tropea
b347a6ca30
The board object is no longer passed to run methodes.
...
The global GS.board is used instead.
2021-01-15 14:14:17 -03:00
Salvador E. Tropea
159e8996e8
Added support for ZIP/TAR/RAR generation.
2021-01-15 13:33:33 -03:00
Salvador E. Tropea
e0ab45e95d
Now the default output name applies to the DRC and ERC report names.
...
This provides more coherent file names.
2021-01-12 13:44:09 -03:00
Salvador E. Tropea
ab9071b693
Moved pcbnew detection from kiplot.py to __main__.py.
...
Now the KiCad version is printed when debug is enabled.
2021-01-06 12:25:54 -03:00
Salvador E. Tropea
5d6bdeb9e2
Fixed rot_footprint filter reset.
2020-12-29 12:33:50 -03:00
Salvador E. Tropea
4a3e7faace
Added a new filter used to rotate footprints.
...
Used to generate position files for some manufacturers like JLC.
Also in this patch:
- Now position files are naturally sorted (R10 after R9, not after R1)
- Position files in CSV format quotes only the columns that could
contain an space. Just like KiCad does.
- Fixed: Generic filter `include_only` option worked only when debug
enabled.
2020-12-28 18:26:27 -03:00