Commit Graph

572 Commits

Author SHA1 Message Date
Salvador E. Tropea e08f70e78e No warnings about malformed value for DNFs
Now if the component value is any of the DNF values we avoid parsing it
as a real value.
2020-08-25 09:21:55 -03:00
Salvador E. Tropea d80b145af9 Now extra spaces in user fields are discarded.
The code strips spaces at the beggining and end of user field values.
2020-08-25 09:12:46 -03:00
Salvador E. Tropea 140a45fdc6 Fixed variants BoM logic.
The variants logic for BoMs when a component resquested to be only
added to more than one variant.
This is related to SchrodingersGat/KiBoM#136 issue.
2020-08-24 10:53:56 -03:00
SET c1d9dd3bfa Bumped version to 0.6.1.
Updated CHANGELOG and Debian version.
Also minor details in Debian dependencies.
2020-08-20 10:16:05 -03:00
SET f34cedc4b4 Added copyright to all the MCPY files. 2020-08-19 21:24:52 -03:00
Salvador E. Tropea e9570ebe02
Merge pull request #4 from INTI-CMNB/mcpy_better_coverage
Mcpy better coverage
2020-08-19 21:14:33 -03:00
SET ad0d2d5dcd Removed extra parameter that didn't help. 2020-08-19 20:58:41 -03:00
SET 1c95a44d58 Better comments, also left the Python 3.7 code and no 3.8. 2020-08-19 20:56:46 -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 28947ed70d Added support for relative imports to mcpy 2020-08-19 12:29:38 -03:00
SET 1ba778f7f1 Added some exception experiments I did.
They are to verify a detail we discussed with @qu1ck about a patch
for IBoM. They aren't very interesting, but they are a playground
to test Python 2/3 exception details.
2020-08-19 11:47:09 -03:00
SET 520b9626b1 Added retry to kicad-automation-scripts stuff.
The tests are metastable and fail from time to time.
I hope a retry will reduce the fail probability to something tolerable.
2020-08-19 11:43:10 -03:00
SET 1836e641e7 Added test to check we remove rogue cache files. 2020-08-19 11:42:12 -03:00
SET 92530491b6 Fixed missing r in "nerdyscout" name 2020-08-18 23:19:55 -03:00
SET 3d1bbc63d8 Now checking the file flags, access is bad idea. 2020-08-18 22:55:54 -03:00
SET c45865e895 Modified to avoid removing read-only caches.
This is mainly to allow successful tests on CI/CD where we are running
as root. In practice is also a good idea to respect the permissions.
In real life installers make them r/w.
2020-08-18 22:38:36 -03:00
SET 422641a295 More robust behavior when the Python cache interferes.
Files using macros can't be cached. Now if we find caches for them we
try to delete the caches (pypi installation for example). If we can't
remove the files a warning is generated.
If we fail to load a plug-in an error explaining it is generated.
Also added a test to reproduce it.
2020-08-18 21:44:09 -03:00
SET 043b7d824e Added the mcpy package to the distribution.
Seems to be a rare dependence, is small and using it from outside
looks like a silly complication.
2020-08-18 21:42:42 -03:00
SET 76193c9c93 Fixed plug-in test cases, used kiplot instead of kibot. 2020-08-18 21:37:17 -03:00
SET 227506e7b5 Changed minimal Python version to 3.4.
The plug-ins import uses Python 3.4 stuff.
2020-08-18 21:33:40 -03:00
SET fe5bde9bd3 Allowed verbosity for most operation. 2020-08-18 21:32:49 -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 ac8e4f9c83 Added example of v0.6.0 Debian package installation. 2020-08-18 17:24:45 -03:00
SET f5c47ce290 Added pip installation instructions. 2020-08-18 17:20:49 -03:00
SET e2bd372987 Removed python init. 2020-08-18 16:35:07 -03:00
SET fff9e09c2c Switched the Python Publish workflow to my docker image. 2020-08-18 16:25:11 -03:00
SET f8797cda24 Added fake dependencies. 2020-08-18 16:10:38 -03:00
SET 96246a8e25 Modified the Python Publish action to be triggered by tags. 2020-08-18 16:03:13 -03:00
SET bcb25979c3 Updated the changelog for v0.6.0 2020-08-18 13:23:09 -03:00
SET e689480395 Added PyPI targets. 2020-08-18 13:20:44 -03:00
Salvador E. Tropea c8c51affc5
Create python-publish.yml 2020-08-18 13:09:17 -03:00
SET 73cade67bd Changed the project name in Coveralls. 2020-08-18 13:06:14 -03:00
SET a311794390 Added link to GitHub actions to the build status badge. 2020-08-18 13:01:06 -03:00
SET 4904e47cf5 Added PyPI future badge
Also unified the badges.
2020-08-18 12:58:41 -03:00
SET d7972285c2 Migrated setup.py to setuptools
Also: now we extract all the metadata from __main__.py
2020-08-18 12:09:55 -03:00
SET 820efd211c Marked sub-packages using __init__.py
Also documented the purpose of these files.
2020-08-18 12:08:52 -03:00
SET a260ccab1f Updated the package meta-data.
Also removed __version__.py, now part of __main__ definitions.
2020-08-18 12:07:44 -03:00
SET 018ce8d0a4 Changed README.md images to be loaded from outside GitHub 2020-08-18 10:55:29 -03:00
SET 231ffa5628 Added comment about update_xml is no longer needed. 2020-08-17 19:52:32 -03:00
SET cd6c1d5ba4 Added CASE2020 paper and poster. 2020-08-17 19:47:24 -03:00
SET cd1ea69c58 Added a picture with the data flow to the README. 2020-08-17 19:38:34 -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 f897f04cb9 Changed KiPlot -> KiBom in various places of the README.
Also added some credits.
2020-08-16 18:05:00 -03:00
SET 7e04d4190f Added logo and changed project name in the README. 2020-08-16 17:48:58 -03:00
SET 6ed344cfd6 Updated the README, generic example and CHANGELOG.
SVG output for all and internal BoM for the CHANGELOG.
2020-08-16 17:37:48 -03:00
SET 15dbf9cce3 Added test for the new SVG output 2020-08-16 17:32:40 -03:00
SET 9b9ae21e9e Merge branch 'nerdyscout-svg_plot' into master 2020-08-16 17:10:14 -03:00
SET d624e7a213 Merge branch 'svg_plot' of https://github.com/nerdyscout/kiplot into nerdyscout-svg_plot 2020-08-16 17:09:59 -03:00
SET 356af4b9fb Added copyright information to all the sources. 2020-08-16 11:35:46 -03:00