Salvador E. Tropea
460ffca49b
[Diff] Better `copy_instead_of_link` description
...
Related to #275
2022-09-05 13:56:56 -03:00
Salvador E. Tropea
e34d4a01e0
[Diff] Added option to force the checkouts
2022-09-05 13:48:14 -03:00
Salvador E. Tropea
a4abb65ef3
[Diff] Added support for stashing submodules
...
Related to #265
2022-09-05 13:35:04 -03:00
Salvador E. Tropea
11d1b7ffcb
[Diff] Now the link contains the git point name and the hash
...
Related to #276
2022-09-05 10:58:27 -03:00
Salvador E. Tropea
40526ed012
[Fixed] Avoid reloading the project is none loaded
2022-09-05 10:30:29 -03:00
Salvador E. Tropea
795e56b6d7
[PCB_Print] Text vars generated in the same run didn't show up
...
Fixes #280
2022-09-05 10:05:05 -03:00
Salvador E. Tropea
01536726a1
New output "Info": collects info about the environment.
...
Related to #209
2022-09-05 09:07:08 -03:00
Salvador E. Tropea
0631836f29
When restoring the project now we maintain the original EOLs
...
- Not doing it in KiAuto raised problems, so now we also do it in
KiBot
Related to #265
2022-09-02 09:38:16 -03:00
Salvador E. Tropea
560ce80c7d
[Debug] Logged executed command in a cut & paste friendly way
...
Closes #269
2022-09-02 08:49:39 -03:00
Salvador E. Tropea
de4d6c0714
[Diff] Added error message when KIBOT_LAST doesn't point to a hash
2022-09-02 08:14:55 -03:00
Salvador E. Tropea
d834ba5075
[Diff][Fixed] Problems with overwriting the symlink
2022-09-02 08:14:15 -03:00
Salvador E. Tropea
e9e4225b16
[Diff] Added option to copy instead of link
...
Closes #272
2022-09-02 07:16:16 -03:00
Salvador E. Tropea
cabf14ec07
[Diff][Fixed] Always comparing the PCB
...
- Added regression test
Fixes #273
2022-09-02 07:03:57 -03:00
Salvador E. Tropea
2b54d8320a
[Diff] Added check for the old/new files specified.
2022-09-02 07:00:01 -03:00
Salvador E. Tropea
d8d8552883
[Diff] Now the %i is diff_pcb for the PCB and diff_sch for the sch
...
Related to #265
2022-09-01 14:13:28 -03:00
Salvador E. Tropea
61bee6e9cc
[QR_Lib][Fixed] Problems when moving the footprint to the bottom.
...
- The updated drawings always used the top layer
Fixes #271
2022-09-01 10:29:28 -03:00
Salvador E. Tropea
75f79b1a72
[DOCs] Added advice on how to compress links
2022-08-31 13:41:06 -03:00
Salvador E. Tropea
6393ee3319
[Diff] Made the symlink relative
...
- So it can be included in an archive
2022-08-31 13:37:44 -03:00
Salvador E. Tropea
a0075d12c7
[Compress] Added option to store symlinks.
2022-08-31 13:36:20 -03:00
Salvador E. Tropea
651f3890d5
[Diff] Added KiAuto as dependency
...
Related to #265
2022-08-31 12:59:52 -03:00
Salvador E. Tropea
49d20fdeeb
[Fixed][Text variables] when using an empty text
...
Fixes #268
2022-08-31 09:18:19 -03:00
Salvador E. Tropea
10ee73feeb
[Diff] Added option to create a link to the output
...
- This link contains the git hashes involved in the comparison.
Related to #265
2022-08-31 08:47:15 -03:00
Salvador E. Tropea
1557dfea77
[Diff][Fixed] Problems with git submodules
...
- Now we force a submodules update during checkout
Related to #265
2022-08-31 08:10:27 -03:00
Salvador E. Tropea
6b344a094b
[Diff][Fixed] Problems when no changes to stash
...
- "git stash push" always returns 0, even if nothing was stashed.
- But "git stash pop" returns 1 if nothing stashed.
- So now we check using "git stash list".
Related to #265
2022-08-31 07:50:09 -03:00
Salvador E. Tropea
bc793c8637
[Fixed] Internal netlist generation when no lib
...
Related to #242
2022-08-29 08:37:12 -03:00
Salvador E. Tropea
464b72e8f1
New output to compute differences between PCBs and SCHs.
...
Fixes INTI-CMNB/KiAuto#14
2022-08-25 13:02:02 -03:00
Salvador E. Tropea
bc0011470b
[Fixed][PCB_Print] Problems with `hide_excluded: true`
...
- For components not in the SCH
Fixes #258
2022-08-23 07:18:12 -03:00
Salvador E. Tropea
396d701a0d
[DOCs] Added some extra clarifications about the internal BoM filters
...
Related to #257 and #251
2022-08-22 08:08:01 -03:00
Salvador E. Tropea
85538b0b27
[Global options] Restore the project at exit
...
Related to #250
2022-08-19 09:39:25 -03:00
Salvador E. Tropea
0180136fd6
[DRC] Another workaround for KiCad lack of exclusions support in Python
...
- Saving the project can remove them, so `fill_zones` removed them
Fixes #250
2022-08-17 13:33:57 -03:00
Salvador E. Tropea
8fa4f985d3
[Dependencies] Boosted PcbDraw version to 0.9.0.3
...
- The upstream is currently undergoing a major rewrite and isn't
usable. It has problems with KiCad 5 and 6.
2022-08-16 09:47:15 -03:00
Salvador E. Tropea
f1c6913449
[Debug] Added KiBot version and verbose level to the logs
2022-08-16 09:24:13 -03:00
Salvador E. Tropea
f0783576ec
[Dependencies][Debug][Fixed] pip install error log
...
- Now should be able to capture the error from pip
Related to #209
2022-08-16 09:16:42 -03:00
Salvador E. Tropea
91185ca56a
[Dependencies] Added more local share plug-in dirs
...
- Also added the current iBoM plug-in path
2022-08-12 12:59:44 -03:00
Salvador E. Tropea
699b2f4d16
[Dependencies] Switched to gs (from ghostscript)
...
- The short name is more common
Related to #209
2022-08-12 10:24:58 -03:00
Salvador E. Tropea
553d47f533
[BoM] Added support for text variables expansion
...
- Is done using a filter, the expansion is done at the end, but
the filter can be applied at any point in the filter/variant
chain.
Fixes #247
2022-08-12 09:09:09 -03:00
Salvador E. Tropea
fcdedad360
[SCH][KiCad 6][Fixed] Instance data partially applied
...
- The component instance information was applied to the component,
but not to the "basic" fields.
2022-08-12 09:03:31 -03:00
Salvador E. Tropea
5785fd3e0f
[SCH Print][Netlist][Fixed] Problems with name collisions
...
- When the name chosen by KiCad was an alredy existing file (from
another output) it was removed by KiAuto. So then KiCad created
the file, we renamed it to what the user selected and ... well,
the original file was lost. Now KiAuto takes care of this.
Fixes #244
2022-08-11 13:31:26 -03:00
Salvador E. Tropea
99d35922c6
[DEBUG] log KiAuto commands that we can copy & paste
2022-08-11 13:26:41 -03:00
Salvador E. Tropea
c5a6d894c9
[DRC] Added Workaround for problems with DRC exclusions
...
- Global option: `drc_exclusions_workaround`
- KiCad bug [11562](https://gitlab.com/kicad/code/kicad/-/issues/11562 )
Fixes INTI-CMNB/KiAuto#26
2022-08-10 14:01:32 -03:00
Salvador E. Tropea
0c2e1b823f
Fixed missing changes in out_render_3d.py
2022-08-01 18:40:00 -03:00
Salvador E. Tropea
6c7e0cebe0
Now GS.ki5() and GS.ki6() are just GS.ki5 and GS.ki6
...
- The version doesn't change during execution ;-)
2022-07-31 17:45:55 -03:00
Salvador E. Tropea
320f1a38ff
[iBoM] Fixed: G/SetFPIDAsString needs KiCad 6.0.6+
2022-07-30 11:05:43 -03:00
Salvador E. Tropea
3b6c9e7d8b
[iBoM] Added support for variants that change component fields
...
Closes #242
2022-07-30 10:39:48 -03:00
Salvador E. Tropea
3bc4bd51c6
Merge pull request #239 from hkleen/datasheet_download_ssl_error
...
catch possible SSLError when downloading datasheets
2022-07-26 06:23:19 -03:00
Henning Kleen
95f3ccb773
Update user agent string to pretend being a recent version of Firefox
2022-07-26 10:27:01 +02:00
Henning Kleen
44d3eac6e2
catch possible SSLError when downloading datasheets to prevent KiBot crash.
2022-07-26 09:28:46 +02:00
Salvador E. Tropea
b5fc7e8c55
[Report] Fixed converted file wasn't stored at `dir`
...
Closes #238
2022-07-25 11:40:24 -03:00
Salvador E. Tropea
674c4899f6
Merge pull request #237 from kevin-dong-nai-jia/feature/suppress-info
...
Suppress an excessive info message to console
2022-07-25 11:07:02 -03:00
Kevin Dong
d5e5585dd6
Suppress an excessive info message to console
2022-07-25 04:08:06 +08:00
Kevin Dong
c5703360d5
Added in SCH PDF Print: An all_pages option.
2022-07-22 23:48:30 +08:00
Salvador E. Tropea
95a48a8922
Added `--dont-stop` command line option
...
- To try to continue even on errors
Related to #209
2022-07-21 13:54:42 -03:00
Salvador E. Tropea
9d7e3b91f4
Removed debug message
2022-07-21 13:46:09 -03:00
Salvador E. Tropea
0e7121dc3d
Now configuration sections are parsed in a fixed order
...
- This allows a predictable behavior, the YAML is converted to a dict,
so you can't trust in the order of the keys.
- It avoids misstakes
- Allows using %V/v in preflights, even if globals are declared latter.
Fixes #234
2022-07-21 13:11:24 -03:00
Salvador E. Tropea
b9bd5368c9
Now %V/%v can be expanded in preflights
...
Related to #234
2022-07-21 13:07:24 -03:00
Salvador E. Tropea
1b9c734401
[KiCad 6 SCH] Fixed problems with title block on variants
...
- The title block wasn't saved if the title wasn't defined.
- In the first versions of v6 it was stored empy, now skipped.
2022-07-21 12:58:46 -03:00
Salvador E. Tropea
513b6526ff
[PCB Print] Fixed problems with zones on multiple layers
...
- Now we remove them from the layer set
Closes #226
2022-07-18 09:52:41 -03:00
Salvador E. Tropea
8a47bdee83
[Install Checker] Instruct to install pip when needed
...
- Python tools can't be autodownloaded without pip
2022-07-18 08:49:02 -03:00
Salvador E. Tropea
0726a3c2d5
Merge branch 'master' of https://github.com/INTI-CMNB/KiBot
2022-07-15 06:23:08 -03:00
Salvador E. Tropea
3e922b6009
[PCB_Print] Fixed problems with filtered/modified PCBs
2022-07-14 18:52:31 -03:00
Salvador E. Tropea
c4b1d6b8ad
[Position] Fixed problems with repeated references
...
- Happens when doing manual panelization
Closes #224
2022-07-14 18:11:56 -03:00
Henning Kleen
b4ed680d9c
fix OAR calculation for design report
2022-07-14 15:56:40 +02:00
Salvador E. Tropea
882999edf4
[DOCs] Added a note about the importance of %i
...
- When using position output and separate files
Related to #222
2022-07-14 08:28:31 -03:00
Salvador E. Tropea
ba7bebd980
[Position] Added an error message for wrong file names
...
- If a user asks for separated files and doesn't use %i to
differentiate the names now we inform it as an error.
Related to #222
2022-07-13 11:33:43 -03:00
Salvador E. Tropea
8c690bfb3f
Switched to v1.2.1 to identify git code
2022-07-13 10:38:26 -03:00
Salvador E. Tropea
3e05ab8b6a
[Import] Preflights now can be imported
...
- Also fixed the filters and variants configuration, now delayed.
Fixes #221
Related to #181
2022-07-12 13:39:43 -03:00
Salvador E. Tropea
9ce18ae39b
Fixed filter and variants import
2022-07-12 11:10:35 -03:00
Salvador E. Tropea
6c118b73fa
Imports can be nested now
...
- import stuff that was imported ...
- Is the first approach, works for a simple case
Related to #218
2022-07-12 10:55:00 -03:00
Salvador E. Tropea
42503a909a
[SCH][Print] A global option to cross components without a body.
...
- Only for KiCad 6
Closes #219
2022-07-12 08:44:05 -03:00
Salvador E. Tropea
68c96385d3
[KiCad 6][Variants] Fixed problems crossing alternative drawings
...
- Units with DeMorgan alternative drawing got only one crossed
Related to #219
2022-07-12 07:39:15 -03:00
Salvador E. Tropea
139ee82bdc
Documented the added features.
2022-07-11 12:41:23 -03:00
Henning Kleen
209248ae8d
also expand environment variables in design report template path
2022-07-11 15:22:43 +02:00
Henning Kleen
7ba7794a14
Allow expansion of environment variables in paths
2022-07-11 11:22:31 +02:00
Salvador E. Tropea
15d5f90a27
[Tests] Fixed fil_test.py assertions
...
- PyTest 6 failed to catch the assert, but 7 does
2022-07-09 19:44:02 -03:00
Salvador E. Tropea
e8a20ef362
[Dependencies] Fixed repeated dependencies when plug-in dir available
2022-07-09 16:28:20 -03:00
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