Commit Graph

787 Commits

Author SHA1 Message Date
Salvador E. Tropea 18bf8d9b78 [Dependencies] Added support for partially uninstalled modules. 2022-07-08 11:50:18 -03:00
Salvador E. Tropea 120220b986 [Test] Workaround for importlib crazy behavior
- I can't call pip to install in a specified dir and then import
  using importlib. It always fail, even when the module is installed
  and its path is in sys.path. Couldn't find why.
2022-07-08 10:57:03 -03:00
Salvador E. Tropea 98ac2f2335 [Dependencies] Forced pip -U to behave in a consistent way
- Debian patches pip/distutils in a way that "pip -U" behaves
  differently when executed by root. Instead of installing to
  site.USER_BASE it installs to /usr/local.
  So now we send -U to pip, but we also send site.USER_BASE
  using --root and --prefix
  This makes pip to install in the same way for regular users
  and root. This allows running the CI/CD tests in a consisten
  way.
2022-07-08 07:48:02 -03:00
Salvador E. Tropea 3f3f69028d Merge branch 'master' of https://github.com/INTI-CMNB/KiBot 2022-07-08 06:22:06 -03:00
Salvador E. Tropea 46bd3dde13 Fixed debug message 2022-07-07 20:08:48 -03:00
Salvador E. Tropea d8f01ca337 Better indentation for dependency debug logs 2022-07-05 13:59:04 -03:00
Salvador E. Tropea 0635a249f3 Fixed wrong extra_deb name 2022-07-05 13:48:28 -03:00
Salvador E. Tropea 0a8481dadf Now the dependencies are YAML specs in docstrings
- They document the dependencies and constructs them
2022-07-05 12:43:49 -03:00
Salvador E. Tropea 53088227d1 Moved comments in docstrings to comments
- To allow using the docstring of plug-ins for specs
2022-07-05 12:42:16 -03:00
Salvador E. Tropea 664a13c548 [Dependencies] Added command line option to disable the downloads. 2022-07-01 13:30:51 -03:00
Salvador E. Tropea 9c6062e0c8 [Dependencies] Added support for QRCodeGen auto-download 2022-07-01 13:17:02 -03:00
Salvador E. Tropea 3e331cd7a3 [Dependencies] Added support for LXML download 2022-07-01 12:45:37 -03:00
Salvador E. Tropea 1f123d3f22 [Test] Added a message to test the missing XLSX behavior 2022-07-01 12:40:15 -03:00
Salvador E. Tropea f80480b31e [Dependencies] Added XLSXWriter auto-download 2022-07-01 11:27:44 -03:00
Salvador E. Tropea fe191ba594 [PCB_Print] Updated comments 2022-07-01 11:16:04 -03:00
Salvador E. Tropea 84f3b0ede1 Removed distutils as dependency 2022-06-30 13:59:42 -03:00
Salvador E. Tropea 5b732867f5 Removed distutils use in mcpyrate 2022-06-30 13:58:54 -03:00
Salvador E. Tropea 8df074df76 Removed the use of distutils.StrictVersion 2022-06-30 13:57:20 -03:00
Salvador E. Tropea e00b6b3f23 Removed unused functions
- check_script
- check_eeschema_do
- Now all the code uses dep_download stuff
2022-06-30 13:11:02 -03:00
Salvador E. Tropea 33b2367a54 [Dependencies] Added support to *_sch_print 2022-06-30 11:16:53 -03:00
Salvador E. Tropea 200b54aaf7 Fixed problems with iBoM version detection
- Now we avoid the wxWidgets initialization
2022-06-30 11:04:01 -03:00
Salvador E. Tropea 59d6d2caac [Dependencies] Added auto-download for iBoM 2022-06-30 10:03:26 -03:00
Salvador E. Tropea 166e927ca4 [Dependencies] Added missing pcb_print use of KiAuto 2022-06-30 09:30:27 -03:00
Salvador E. Tropea 3db94210cc [DOCs][Dependencies] Removed extra spaces 2022-06-30 08:14:21 -03:00
Salvador E. Tropea 482efbd81b [DOCs][Dependencies] Fixed missing space for PyPi logo 2022-06-30 08:07:42 -03:00
Salvador E. Tropea 758e43fbd5 [DOCs][Dependencies] Added links to tools, PyPi and Python logos
- So they don't point to the image but something useful
2022-06-30 08:05:26 -03:00
Salvador E. Tropea 6cc1feeae5 [DOCs][Dependencies] Added auto-download image 2022-06-30 07:56:20 -03:00
Salvador E. Tropea d15e20d8b9 [DOCs][Dependencies] Added Python module and tool images 2022-06-30 07:40:27 -03:00
Salvador E. Tropea ee9177c40b [Dependencies] Better text output 2022-06-30 07:13:18 -03:00
Salvador E. Tropea b1726e0915 [DOCs][Dependencies] Added PyPi logo 2022-06-30 07:07:11 -03:00
Salvador E. Tropea 0113c74f7a [DOCs][Dependencies] Added Debian logo 2022-06-30 06:49:29 -03:00
Salvador E. Tropea 48e5323be0 Added auto-download support for KiAuto. 2022-06-29 13:47:50 -03:00
Salvador E. Tropea 35e12bb3fc Added auto-download support for KiCost. 2022-06-29 11:35:52 -03:00
Salvador E. Tropea be5c2ff29e [Dep downloader] Added support for symlinks in tarballs 2022-06-29 11:33:36 -03:00
Salvador E. Tropea c97705da03 Added auto-download for KiBoM 2022-06-29 10:29:37 -03:00
Salvador E. Tropea c453fff8af [DOCs] Added which tools are downloaded automagically 2022-06-29 10:13:43 -03:00
Salvador E. Tropea 8dceb9a322 [PCB_Print] Added better rsvg_convert dependency
- We need 2.40+ for EPS, other versions are OK for the rest
2022-06-29 08:38:45 -03:00
Salvador E. Tropea 90eb8ac099 Added more descriptive message when a tool version isn't good
- Now we say "upgrade" instead of "install"
- We also show the needed version
2022-06-29 08:35:43 -03:00
Salvador E. Tropea 6242a772c2 KiCost specs encoding fixes
- Now we decode HTML encoded sequences
- Updated KiCost submodule to the one that fixes KitSpace encoding
- Updated the references (now properly encoded)
2022-06-29 08:08:42 -03:00
Salvador E. Tropea 6a1372c574 Added support for dependency download to pcbdraw 2022-06-28 13:19:06 -03:00
Salvador E. Tropea 3440198cd7 Enhancements to the dependency downloader
- Added Python tools downloader
- Added progress bar when downloading a tool
- Updated ImageMagick message when no fuse
2022-06-28 13:17:54 -03:00
Salvador E. Tropea e744d806b5 Added missing default categories for iBoM 2022-06-28 11:30:27 -03:00
Salvador E. Tropea 05f066fcb4 Added reason why a tools is needed to check_tool 2022-06-21 10:44:24 -03:00
Salvador E. Tropea ce9dd92d28 Moved the system and platform detection out of downloaders 2022-06-19 19:52:29 -03:00
Salvador E. Tropea 65d4143ec1 Now we try to download some tools when missing
- Currently only a few targets are available
- Rar, ImageMagick, RSVG Tools and git have some support
2022-06-19 19:17:38 -03:00
Salvador E. Tropea d2c607755f Added log.debugl(LEVEL, msg) function, using verbose level
- Not using logging values
2022-06-18 16:35:31 -03:00
Salvador E. Tropea f31c62fbab More KiCad environment vars adjusts
- KiCad 5 values promoted to KiCad 6 versions when using KiCad 6
2022-06-17 11:33:52 -03:00
Salvador E. Tropea 870a9cee5c Bumped version to 1.2.0
- Updated versions
- Added comment about ImageMagick default policy
- Added links to navigate_results example and discussions
2022-06-15 06:24:15 -03:00
Salvador E. Tropea 9db0615382 Fixed check for imageable 2022-06-14 14:30:55 -03:00
Salvador E. Tropea 6a8fe5010c Fixed warning messages in navigate_results 2022-06-14 13:11:29 -03:00