Commit Graph

2973 Commits

Author SHA1 Message Date
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
Salvador E. Tropea ad074d9354 [DOCs] Mentioned the environment variables option 2023-05-02 13:21:55 -03:00
Salvador E. Tropea 4fbd69ac3b [Global options][Added] `environment`.`extra_os` to define environment variables 2023-05-02 13:12:50 -03:00
Salvador E. Tropea 4e72af9761 [Added] OS environment expansion in ${VAR} 2023-04-28 13:46:58 -03:00
Salvador E. Tropea e4ba2d7d8a [v6/7 Schematic] Better error message when missing UUID 2023-04-28 11:00:51 -03:00
Salvador E. Tropea a05be2240e [v6/7 Schematic] Hierarchy expanded only if needed 2023-04-28 10:45:38 -03:00
Salvador E. Tropea fea0d04e87 [Filters] More debug in field modify 2023-04-28 10:39:51 -03:00
Salvador E. Tropea 90f088863a [v6/v7 Schematic] Better error when we hit an UUID issue 2023-04-28 09:24:26 -03:00
Salvador E. Tropea 4992937cf5 [v6/v7 Schematic] Better handling of sub-sheet instances
- When a sub-sheet is the root of another hierarchy.
- We no longer discard the instances, unless expanding the hierarchy
- Also another step to separate the cross and hierarchy expansion
2023-04-28 09:22:15 -03:00
Salvador E. Tropea 42445e8294 [v6/v7 Schematic] Fixed error introduced in the crossed lib 2023-04-27 17:10:21 -03:00
Salvador E. Tropea 308c1fde6d [Tests] Ignore blank lines when comparing texts 2023-04-27 16:47:17 -03:00
Salvador E. Tropea 0f5d5c5381 [v6/7 Schematic] Separated the cross and hierarchy expansion
- At least logically
- They still tied, but can be separated
2023-04-27 16:39:32 -03:00
Salvador E. Tropea f6c358b829 [v6/7 Schematic] Added support for bogus "project"
- One of those things KiCad saves but does nothing.
2023-04-27 16:27:20 -03:00
Salvador E. Tropea f05b8bcf88 [v6/v7 Schematic] More debug info 2023-04-27 16:23:27 -03:00
Salvador E. Tropea fcf4871e38 [v6/v7 Schematic] Reworked the UUID mechanism
- Now we generate valid UUIDs for all things
- KiCad 6 support
- Better tests, forcing to reload the generated files
2023-04-27 15:06:29 -03:00
Salvador E. Tropea 6b9ab5f448 [v6/v7 Schematic] Allow loading files without UUIDs
- This is currently working only for v7, needs rework for v6
2023-04-26 08:41:13 -03:00
Salvador E. Tropea b2db4f33d0 [v6/7 Schematic][Fixed] Error in saved version
- Mixing save/load v6/v7 produced hybrids
2023-04-26 08:39:52 -03:00
Salvador E. Tropea 6dcdb0b363 [Tests][Added] For value change in shared sheets 2023-04-25 13:24:12 -03:00