Commit Graph

2360 Commits

Author SHA1 Message Date
Salvador E. Tropea 51193541f0 [Test] More compare tollerances 2022-09-23 10:05:00 -03:00
Salvador E. Tropea 3f4448ffce [Tests] More image tollerance 2022-09-23 09:55:46 -03:00
Salvador E. Tropea 1b597043f5 [Tests] Added same tollerance to all diff checks 2022-09-23 09:49:53 -03:00
Salvador E. Tropea 4f0e0cc9cf [Diff] Avoid warnings about no PDF reader 2022-09-23 09:47:41 -03:00
Salvador E. Tropea 8392f468ae [Tests] Added some tollerance to img compare for non Debian 2022-09-23 09:43:57 -03:00
Salvador E. Tropea b989d1aaa3 [Tests] Fixed condition in last patch 2022-09-23 09:39:54 -03:00
Salvador E. Tropea 80d69acaa6 [Tests] Avoid comparing the text in diffs when not Debian 2022-09-23 09:35:57 -03:00
Salvador E. Tropea 1f7cff4fe8 [Tests] Delay the get_path patch, needed by Python 3.10 2022-09-23 08:41:31 -03:00
Salvador E. Tropea d5c398e04e [Dependencies] Avoid trying to remove older python versions
- Older packages could be installed at system level, so we will fail.
  Also: we don't want to remove what the user has, just have a better
  version.
2022-09-23 08:10:32 -03:00
Salvador E. Tropea aba02e083c [Tests] Look for coverage3 if python3-coverage isn't installed 2022-09-23 07:27:46 -03:00
Salvador E. Tropea e690d4d780 [Tests] Allow setting coverage and pytest from outside the Makefile 2022-09-23 07:27:02 -03:00
Salvador E. Tropea ef0562e92f Added (experimental) script to install on Arch Linux 2022-09-22 13:34:58 -03:00
Salvador E. Tropea 1042edbb0e [Update_XML] Correct error when using wrong value 2022-09-21 12:41:30 -03:00
Salvador E. Tropea 58b7958899 [Update_XML] Now you can check PCB and schematic parity
Related to #297
2022-09-21 11:33:26 -03:00
Salvador E. Tropea 6eaa09beea [Tests] Added test for --no-warn 2022-09-21 08:31:10 -03:00
Salvador E. Tropea 7238539a29 [CLI] Fixed the -w option
- Missing member in simple filter

Related to #296
2022-09-21 08:21:53 -03:00
Salvador E. Tropea fb0275912e [DOCs] Added how to use the PCB option of copy_files 2022-09-21 08:03:05 -03:00
Salvador E. Tropea 82229e126d [Copy_Files] Made 3D models use the project path as base
- To avoid problems when KiCad is running from other place
2022-09-21 08:00:58 -03:00
Salvador E. Tropea dff7d9d299 [3D models] More flexible about relative dirs
- When solving a relative path accept it to be relative to the
  PCB or relative to the current working directory.
2022-09-20 13:42:06 -03:00
Salvador E. Tropea e2fdf87d6b [Copy_Files] Now you can copy the 3D models
- Also save a PCB modified to use them
- Changed the syntax so we can copy other stuff
2022-09-20 13:13:12 -03:00
Salvador E. Tropea 39eabd996f [Schematic v5] Better error message when mixing v5/6 files
Related to #298
2022-09-20 09:18:25 -03:00
Salvador E. Tropea 49b21c8e93 [DOCs] Made the filters for ERC/DRC vs globals more clear
- Now the KiBot ones doesn't mention KiCad versions
- If the user uses Wxxx for the `error` in the KiBot ones we filter xxx
- Added text to clarify how to get rid of W058 warnings
- Also now we report warning counts when all filtered

Related to #214
2022-09-16 10:16:20 -03:00
Salvador E. Tropea 599ddcfc5b Added YAML example to check zones with repo 2022-09-16 10:14:53 -03:00
Salvador E. Tropea 5bb63e6624 Added YAML sample to detect zone refills 2022-09-16 10:14:11 -03:00
Salvador E. Tropea 098b38c462 [DOCs] Documented the error level for diff fail 2022-09-16 09:24:47 -03:00
Salvador E. Tropea 751e8e8c2f Removed debug messages in run_drc/run_erc 2022-09-16 08:45:27 -03:00
Salvador E. Tropea 67175dcbd9 Now the error about differences bigger than the threshold is more clear
- KiBot also returns a distinct error level.
2022-09-16 08:41:15 -03:00
Salvador E. Tropea e273d615f2 Fixed -w implementation issues
- Crash when not used
2022-09-16 08:13:10 -03:00
Salvador E. Tropea 252f10e8f3 Added command line option to specify warnings to be excluded.
- Useful for warnings issued before applying the global options
  (i.e during import).

Fixes #296
2022-09-16 07:48:22 -03:00
Salvador E. Tropea a8e48031c8 [Diff] Added mechanism to specify the PCB/Schematic in memory
- Now this is the default

Closes #295
2022-09-16 07:07:43 -03:00
Salvador E. Tropea de4daddc52 Assigned a number to the experimetal warning about missing refs
Related to #248
2022-09-16 06:21:24 -03:00
Salvador E. Tropea 0cf25c3295 Allow empty references in the generic filter
Related to #248
2022-09-16 06:17:34 -03:00
Salvador E. Tropea 4f54712a94 Added experimental option to accept CSV files without reference. 2022-09-15 14:05:24 -03:00
Salvador E. Tropea 5c825151b0 [Import] Global options are now "merged"
Close #291
2022-09-15 13:27:54 -03:00
Salvador E. Tropea 06152348ff Report unknown stuff in kibot/kiplot section 2022-09-15 12:57:00 -03:00
Salvador E. Tropea e49cbc2b93 [Global Ops] Added mechanism to give more priority to local globals.
- `imported_global_has_less_priority` in the KiBot section

Related to #291
2022-09-15 12:51:25 -03:00
Salvador E. Tropea 488f2dcbc2 [Global options] Now the global `dir` option also applies to the preflights
- Can be disabled using `use_dir_for_preflights`.

Closes #292
2022-09-15 09:33:57 -03:00
Salvador E. Tropea 74d8b57830 Moved the BaseVariants import to the place where we use it
- Seems to solve macros issues
2022-09-15 07:38:57 -03:00
Salvador E. Tropea 3e03228b7b [DOCs] Added help about the variant options
- Generated by a new command line `--help-variants`

Related to #257
2022-09-15 07:13:33 -03:00
Salvador E. Tropea 76742bb69f [Fixed] Problems when aggregating a CSV without footprint
See #248
2022-09-15 06:34:17 -03:00
Salvador E. Tropea e4ee39eadf [DOCs] Added details about what poor means regarding to worksheet
Related to #233
2022-09-14 13:33:38 -03:00
Salvador E. Tropea d87a5cbb39 [DOCs] Explained how to install 3D models 2022-09-14 13:03:21 -03:00
Salvador E. Tropea 64b9c83105 [Github Action] Moving default to KiCad 6 2022-09-14 13:01:39 -03:00
Salvador E. Tropea 6acb6d2e80 [Github Action] Moving default to KiCad 5 2022-09-14 13:01:00 -03:00
Salvador E. Tropea e730459080 [Github Action] Moving default to KiCad 5 dev 2022-09-14 12:59:12 -03:00
Salvador E. Tropea 948fc9aeaa [Github Action] Added option to install 3D models 2022-09-14 12:43:36 -03:00
Salvador E. Tropea d51791f197 Added a warning whe we download 3D models 2022-09-14 10:58:05 -03:00
Salvador E. Tropea 446364fb32 [Fixed] Download datasheet abort on connection error
- Now it isn't fatal
- This is PR #290 applied to master

Closes #289
2022-09-14 10:45:06 -03:00
Salvador E. Tropea 75491cd472 [DOCs] Added some notes about how to handle 3D models 2022-09-14 10:30:09 -03:00
Salvador E. Tropea d01943ed87 Added support for 3D models aliases
- Also a global option to define them in the KiBot configuration

Related to #261
2022-09-14 09:38:47 -03:00