Commit Graph

31 Commits

Author SHA1 Message Date
Salvador E. Tropea f96f56f0ee Modified the Debian postint script for mcpyrate.
Now we generate the cache files running kibot after installation.
2020-10-17 14:28:14 -03:00
Salvador E. Tropea dfc1b8e9be Added target to run an individual test on the docker image. 2020-10-17 12:01:12 -03:00
Salvador E. Tropea 71fe37cfc6 Support for new `pcbnew_do export` options. 2020-10-09 11:27:30 -03:00
Salvador E. Tropea 23e46df1c5 Added variants support to the PCB print (PDF)
Needs some adjustement, but is working.
2020-09-07 19:26:16 -03:00
Salvador E. Tropea 0e394b468b Added variants support to the schematic SVG print. 2020-09-06 18:22:38 -03:00
Salvador E. Tropea d09400d49d Added support for variants to the PcbDraw output. 2020-09-04 18:08:22 -03:00
Salvador E. Tropea b36e276969 Added crosses in the *.Fab layer for excluded components. 2020-09-03 17:17:08 -03:00
Salvador E. Tropea 2fabf6da0c Limited the log lines in single_test target. 2020-09-02 17:55:48 -03:00
Salvador E. Tropea 7dfd7aab16 Updated the way we generate the test_v5-schematic_(no_L).pdf reference 2020-09-01 20:28:19 -03:00
Salvador E. Tropea 7f6144e32e Added tests for sch_variant and pdf_print_sch
For the filter and variant stuff.
2020-09-01 16:56:31 -03:00
SET abbf100d17 Added line information to the "with document" generated lines. 2020-08-19 20:37:22 -03:00
SET 93c824b083 Modified mcpy to better report the line numbers.
Seems to work for Python 3.8, but I have doubts for 3.7.
2020-08-19 19:31:46 -03:00
SET 99d16eb50b Added test for tests/board_samples/bom.xml-bak. in Makefile.
This can be left by an interrupted test.
2020-08-18 21:30:49 -03:00
SET e689480395 Added PyPI targets. 2020-08-18 13:20:44 -03:00
SET 89914443f0 Renamed the kiplot module as kibot.
Also added src/kibot script.
Updated the documentation and Debian packaging.
The default extension for config files now is .kibot.yaml
2020-08-16 22:04:03 -03:00
SET 0de6776cb6 Modified the names of the Makefile test targets. 2020-08-16 11:34:40 -03:00
SET e11a5441d3 Added Makefile target to get a shell on docker test image. 2020-08-13 16:58:04 -03:00
SET e570cf4f89 Added a target to quick test a group of pytests
Needs the pytest-xdist plug-in and is tuned for a 6 core CPU.
Ryzen 5 to be more specific.
2020-08-12 13:04:24 -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 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 62c7a60ad4 Added Makefile target to run a single test. 2020-07-22 17:44:43 -03:00
Salvador E. Tropea c04d190d01 Optimized installed scripts.
Added a script to create a postinst script that compiles all the
sources that doesn't use macros.
2020-07-11 20:24:51 -03:00
Salvador E. Tropea 4368364489 Refactored the BaseOutput class to make it more similar to the YAML
Now the options are just an attribute of the outputs.
It means we have a set of classes for the options.
All the output content is parsed by the classes, including the Layers.
Now the layers support a simple string (with interesting shortcuts), a list of
strings or the original list of dicts.
2020-07-08 15:17:24 -03:00
Salvador E. Tropea ef4b2f8f95 Regenarte the README.md when we run the linter. 2020-06-29 12:52:14 -03:00
Salvador E. Tropea a436aea8e7 Now the README.md is sychronized using the help output.
The --help-outputs and --help are embedded in the README.md
To make it easier to read now options are enclosed in `` and the list of
outputs is sorted.
2020-06-27 18:28:05 -03:00
Salvador E. Tropea 0d9256fb24 The 'check_zone_fills' option is now independent of 'run_drc'
Implemented in a different way.
For all internal commands now we use Python bindings to fill the zones as
suggested by @arikrupnik in johnbeard/kiplot#11
For 'print_pcb' now we ask KiCad to do it before printing (needs v1.4.1)
2020-06-14 15:12:56 -03:00
Salvador E. Tropea 4a4126be47 Added Makefile target to run the tests using the docker image locally. 2020-05-19 12:08:18 -03:00
Salvador E. Tropea d500178c24 Recoded all the tests. I used the class I wrote for kicad-automation-scripts.
Now the tests are simpler, I also suitched to test the application from "outside"
because I was having some ridiculous fails.
Also added coverage meassurement, which is currently pathetic.
2020-05-14 13:11:31 -03:00
Salvador E. Tropea 450b0ab671 Added test and test_local targets to the Makefile. 2020-05-14 09:43:48 -03:00
Salvador E. Tropea ba22eae5b8 Tunned flake8 and removed all unfiltered warnings and errors 2020-04-28 17:56:50 -03:00
Salvador E. Tropea 49bb86d748 Moved the module to the root and added a script named kiplot to call it from /usr/bin.
Simplified the setup.py to make it work with Debian.
Added Debian package files.
Added a MANIFEST.in
2020-03-10 14:49:18 -03:00