Commit Graph

2890 Commits

Author SHA1 Message Date
Salvador E. Tropea 64f855faa4 [Debian][Added] Lark override
Don't know why but needed to avoid Lark deps errors
2023-05-24 09:41:17 -03:00
Salvador E. Tropea 281ed3be7e [Imports][Added] Allow to define @TAGS@ values during import
- Also added defaults
- BTW: disabled the YAML lint crap that insists in checking excluded
  files
2023-05-24 09:39:06 -03:00
Salvador E. Tropea 3cc77893f3 [Tests] Updated KiCad 7.99 references
- Changed by the text adjusts to KiCad 6 style
2023-05-22 13:20:06 -03:00
Salvador E. Tropea 0f5485f32b [DOCs][Updated] Added last fixes 2023-05-22 13:19:03 -03:00
Salvador E. Tropea 63f5a6de20 [Fixed][Copy files] 3D models copy issues
- PCB not loaded if the only action was to copy the 3D models
- Problems for STEP models when copying models
2023-05-22 12:50:41 -03:00
Salvador E. Tropea 55ecf06aec [Tests] Also changed panel reference for 7.0.3 2023-05-19 13:39:09 -03:00
Salvador E. Tropea 8de6392969 [Tests][Added] KiCad 7.0.3 20230518 references
- The d5bd1f5aea042a238345171b99a195da9e0eab9e commit changed the way
  text is rendered across the whole tool. And also other stuff.
- In soem cases the chage is radical
2023-05-19 13:11:19 -03:00
Salvador E. Tropea c378d48f54 [CI/CD][Added] Workflow to test stable nightlies 2023-05-19 09:21:43 -03:00
Salvador E. Tropea a35e9fc2c7 [Templates][Added] CheckZoneFill aborts on big changes
- Enables the check_zone_fill preflight
- Creates graphical diff
- Computes the number of changes

Closes #431
2023-05-18 11:28:06 -03:00
Salvador E. Tropea d6e008ff48 [PCB][Added] Invalidate the text variables cache
- Only when `set_text_variables` is used
- Can be controlled by global option `invalidate_pcb_text_cache`
- Not even the KiCad developers agree about if the cached
  values should be reset or not, see
  https://gitlab.com/kicad/code/kicad/-/issues/14360
  But if we don't reset them the user will think KiBot is failing
  to set them.
  As using `set_text_variables` is a clear intention of change
  I think this is the right behavior.

Closes #441
2023-05-18 10:47:23 -03:00
Salvador E. Tropea 5d190aee5d [CLI][Added] `--output-name-first` to list outputs by name
- No description

See #436
2023-05-18 09:39:42 -03:00
Salvador E. Tropea b28ea6d6cd [CLI][List] Various fixes to --only-names
- Added missing groups
- Sorted
- Don't show outputs when using --only-pre and no preflights
2023-05-18 09:19:46 -03:00
Salvador E. Tropea ef04782a9a [Groups][Added] outputs can request to be added to one or more groups
- Also list groups
- Allow empty groups so the user can catch typos

Closes #435
2023-05-18 09:07:17 -03:00
Salvador E. Tropea ebc48f57d9 [CLI][Added] More clear --list output and --only-pre option
- Takes most of the #436 suggestions
2023-05-17 12:43:41 -03:00
Salvador E. Tropea 1e971e2461 [Makefile] Change .cache owner after running a docker target 2023-05-17 11:18:35 -03:00
Salvador E. Tropea d36b039390 [DOCs] Updated 2023-05-17 11:18:13 -03:00
Salvador E. Tropea 921b04a396 [CLI] Added --only-names to --list 2023-05-17 11:17:44 -03:00
Salvador E. Tropea a44a9f43a6 [Tests][Fixed] Missing config file 2023-05-17 11:16:09 -03:00
Salvador E. Tropea 7576bbd3b4 [Added] Human readable error when we get a corrupted project 2023-05-17 11:09:24 -03:00
Salvador E. Tropea e7cde1164c [Diff][Fixed] Assumption that all tags are in the trunk
- As stated by @matthijskooijman in
  91ffb04661c40102bfb856669039f0825ecc6883#r113724588 comment
  using --tags isn't necessary and includes *all* tags
- The code also assumed nothing was added before the "tag: "
  label, but this isn't true if the HEAD is tagged.
2023-05-17 10:53:43 -03:00
Salvador E. Tropea 8eabeafd95 [DOCs] Chages propagated to README.in
- Applied e8e8608a95
2023-05-17 10:11:34 -03:00
Salvador E. Tropea cd08bb5654
Merge pull request #442 from matthijskooijman/doc-and-log-improvements
Doc and log improvements
2023-05-17 10:09:29 -03:00
Salvador E. Tropea fd4adac0bb [Tests] Avoid comparing a SCH w/project with another without
- Some options in the project slightly affects the text
2023-05-17 09:56:34 -03:00
Salvador E. Tropea 0ffca702d7 [Tests] Cleaner mechanism for test_diff_file_sch_1
- Taking advantage of -E option
- So we avoid comparing the v7 file with the v6 file
2023-05-17 09:40:08 -03:00
Matthijs Kooijman e8e8608a95 [DOCs] Clarify imports can be recursive 2023-05-17 13:12:07 +02:00
Matthijs Kooijman c9b2e7cdc5 [Diff] Fix typo in log message 2023-05-17 13:11:49 +02:00
Matthijs Kooijman f3c1865d00 [Diff][Schematic] Add debug prints about project-copies 2023-05-17 13:10:42 +02:00
Salvador E. Tropea a02999d50a [Diff][Schematic][Fixed] Project not copied to variant
- Any info related to the project wasn't applied.

Fixes #438
2023-05-16 13:28:51 -03:00
Salvador E. Tropea 8a4ea1be5a [List variants] More quiet when --only-names
See #434
2023-05-16 12:43:59 -03:00
Salvador E. Tropea f2f0ed1a9b [CLI][Added] Option to list variants
- Also changed the default --list behavior to avoid configuring outputs
- Old behavior can be obtained using --config-outs

Related to #434
2023-05-16 11:17:44 -03:00
Salvador E. Tropea 577acfe574 Added stack trace to various exit cases 2023-05-16 10:56:13 -03:00
Salvador E. Tropea 27c6d91e6e [Tests] Don't run import_7 in parallel 2023-05-16 10:53:05 -03:00
Salvador E. Tropea b1c268b4c6 [Tests] Adapted for new KiCost
- KitSpace no longer supported
2023-05-15 13:39:26 -03:00
Salvador E. Tropea 7e41c722b5 [KiCost] Updated submodule to get f3c1da5aa59d669d927ee43d386bb955e8e5ee10
Fixes #433
2023-05-12 13:48:27 -03:00
Salvador E. Tropea 91ffb04661 [Diff][Fixed] KIBOT_TAG skipping commits, not tags
Fixes #430
2023-05-12 09:54:26 -03:00
Salvador E. Tropea 8404cd7613 [Tests][Fixed] test_step_alias_2 fails
- Cascaded by other fails
2023-05-12 09:51:45 -03:00
Salvador E. Tropea 7096476da6 [DOCs] Updated spec_to_field filter options 2023-05-10 11:30:19 -03:00
Salvador E. Tropea 05ef06ba88 [Tests] Changed spec_to_field_1
- No more KitSpace
2023-05-10 11:28:28 -03:00
Salvador E. Tropea b30ed4a6fc [Filters][Spec_to_Field][Added] Dist coherence and dist desc
- We can now try to parse the description of the component
- We can also try to compare the results from different distributors
2023-05-10 11:25:56 -03:00
Salvador E. Tropea 58ee992c0f [Electro Grammar][Adde] Simple tool to test it from the CLI 2023-05-10 11:22:09 -03:00
Salvador E. Tropea 119d8fd2e2 [Electro Grammar][Added] Support for "WATT" and xxxx/yyyy
- Not just "Watts"
- xxxx/yyyy for text like "SMD/SMT"
2023-05-10 11:19:55 -03:00
Salvador E. Tropea a3710b19f2 [Tests] Updated references 2023-05-05 12:40:24 -03:00
Salvador E. Tropea 6be9cbecef [Filters][Added] `spec_to_field`
- To extract information from the distributors specs and put in fields.
  I.e. RoHS status.
2023-05-05 11:25:34 -03:00
Salvador E. Tropea b540b285de [KiCost] Indented messages from it
- To make output more readable
2023-05-05 11:22:41 -03:00
Salvador E. Tropea a1f78c296e [Filters][Added] New `generic` filter options
- `exclude_not_in_bom` and `exclude_not_on_board` to use KiCad 6+ flags

Closes #429
2023-05-05 06:37:34 -03:00
Salvador E. Tropea 66b0c20c69 [Position][Fixed] "Exclude from position files" not excluded
- When only SMD components are selected.

See #429
2023-05-04 13:20:48 -03:00
Salvador E. Tropea 6a1d6d313c [DOCs] Added link to the value_split example 2023-05-04 11:04:52 -03:00
Salvador E. Tropea c47f9b7639 [DOCs] Added mention to electro-grammar project 2023-05-04 11:04:10 -03:00
Salvador E. Tropea 6f8c0c8735 [Makefile] Changed default targets for local use
- t1k7 is local
- t1k6 is a docker image
- t1k8 is nightly docker image
2023-05-04 11:02:06 -03:00
Salvador E. Tropea 61a8fe7885 [Filters][Added] `value_split`
- To extract information from the Value field and put it in separated
  fields. I.e. tolerance, voltage, etc.
2023-05-03 14:09:35 -03:00