Commit Graph

692 Commits

Author SHA1 Message Date
Salvador E. Tropea 58c54a1d71 [Tests][Added] --help-list-rotations and --help-list-offsets 2024-01-09 13:57:16 -03:00
Salvador E. Tropea 57678e6e74 [Tests][Added] --help-errors 2024-01-09 13:53:49 -03:00
Salvador E. Tropea 535972092c [Tests][Added] --help-dependencies --rst 2024-01-09 13:50:46 -03:00
Salvador E. Tropea cc47d4c0a3 [Tests][Added] --help-global-options 2024-01-09 13:47:30 -03:00
Salvador E. Tropea 0c94295105 [Tests][Added] --help-variants 2024-01-09 13:43:51 -03:00
Salvador E. Tropea 187f21e6e7 [Tests][Added] --help-outputs --rst 2024-01-09 13:39:29 -03:00
Salvador E. Tropea 0dfaad0d3a [Tests][Added] Simple KiRi test 2024-01-09 10:54:45 -03:00
Salvador E. Tropea 7ce44d71f4 [Tests][Added] -L 2024-01-09 09:14:07 -03:00
Salvador E. Tropea 9c574efd14 [Tests][Added] --defs-from-env 2024-01-09 08:54:31 -03:00
Salvador E. Tropea 415e97e84b [Tests][Added] --list-variants 2024-01-09 08:45:37 -03:00
Salvador E. Tropea c637dd50c6 [Tests][Added] --list --no-names 2024-01-09 08:35:40 -03:00
Salvador E. Tropea 89d1721adf [Tests] Cover the banners generation code 2024-01-09 08:20:34 -03:00
Salvador E. Tropea 19b29f6f6d [Tests][Fixed] RAR fail test
- Now uses _run_command, so we need to patch it
2024-01-08 13:01:53 -03:00
Salvador E. Tropea 6f7d425ee1 [flake8] Fixed reported issues 2024-01-05 09:33:42 -03:00
Salvador E. Tropea d7392d59ec [Fixed] Spell errors 2024-01-05 09:09:58 -03:00
Salvador E. Tropea cf88b27dde [Tests] Adapted test_int_bom_no_xlsx_support
Now we fail if the XLSX couldn't be created
2024-01-05 07:47:54 -03:00
Salvador E. Tropea f28540d9cc [Tests][Fixed] Quick Start test
- To include the project, now mandatory
2024-01-02 10:46:45 -03:00
Salvador E. Tropea 2611358432 [Tests][Fixed] Message for no rotations
Now it says "and/or offsets"
2023-11-17 11:16:03 -03:00
Salvador E. Tropea 4edf9138b3 [Tests][Position][Fixed] Now R3 has fields and doesn't match 2023-11-16 12:50:23 -03:00
Salvador E. Tropea 7774db11d9 [Tests] Adapted to the new behavior
- Removed bogus componentes in test_v5 PCBs
- Accounted for R3 in kibom-variant_3 PCB
2023-11-16 11:20:24 -03:00
Salvador E. Tropea 8f841fe996 [Test][KiCad 7.0.8] Avoid diff between KiCad 6 and 7 files
- 7.0.8 seems to apply some adjust to v6 files
2023-10-18 10:26:48 -03:00
Salvador E. Tropea d0c489e2cc [Position][Added] Experimental support for gerber position files
Closes #500
2023-10-02 12:36:16 -03:00
Salvador E. Tropea c216d4bfde [Sub PCBs][Fixed] Using annotation method
- For some edeges and KiCad versions

Closes #496
2023-10-02 10:05:33 -03:00
Salvador E. Tropea 4334de0277 [Tests][Fixed] Adapted to extra info in layer not used 2023-09-07 07:48:58 -03:00
Salvador E. Tropea 390da80f7c [BoM][Added] LCSC links
From SchrodingersGat/KiBoM#190
2023-09-01 13:51:15 -03:00
Salvador E. Tropea 572204a5b2 [Update XML][Fixed] Error when using "Exclude from BoM" (KiCad 6)
- Parity for these components can't be checked. KiCad 7 fixes it.
  Now we just print a warning.
- Also fixes *exclude_from_bom* mismatch on KiCad 7
- Also fixes *Sheetfile* mismatch on KiCad 7 when testing from different
  directory

Fixes #486
2023-08-30 09:22:01 -03:00
Salvador E. Tropea 9915bbd7ae [Help] Small fixes
- To keep the output similar to previous behavior
- Also adapted some tests to new markup
2023-08-29 09:45:17 -03:00
Salvador E. Tropea 49973b49cb [Flake8] Small changes suggested by flake8 5.0.4 2023-08-11 13:33:54 -03:00
Salvador E. Tropea cce2ba27ef [Dep Downloader][Added] Partial workaround for broken pip
- On Debian 12 pip installs to _root_/_prefix_/*local*/_dir_
  and not _root_/_prefix_/_dir_.
2023-08-10 12:51:04 -03:00
Salvador E. Tropea 9370999482 [Tests][Added] Support for Debian 12 pip 2023-08-10 09:58:36 -03:00
Salvador E. Tropea 7bc3f11a2b [Dep Downloader] Added support for PEP668 compliant Debian pip 2023-08-10 09:20:02 -03:00
Salvador E. Tropea abeea7ec03 [Global options][Add] Option to remove solder mask apertures
`remove_solder_mask_for_dnp` similar to `remove_solder_paste_for_dnp`
but applied to the solder mask apertures.

Closes #476
2023-08-04 12:31:17 -03:00
Salvador E. Tropea 9c6ca87214 [iBoM][Added] Support for 2.7.0
- Pin 1 highlight changes
- The packaged iBoM is compatible with 2.6.0
- A patch to make it compatible was merged in upstream
- Current release reports a wrong version
2023-08-04 06:59:54 -03:00
Salvador E. Tropea d24505353b [Tests][Fixed] Tolerate F.Adhes in comments 2023-06-12 09:51:24 -03:00
Salvador E. Tropea 7a7beff556 [Diff] Changed repo protection to worktree mechanism
- As suggested by @matthijskooijman on #443
- This is cleaner than trying to use stash push/pop
- The old method is available
2023-06-06 12:53:19 -03:00
Salvador E. Tropea 336a5521a6 [Tests] Also disabled panelize compare for non-Debian 2023-06-01 11:05:36 -03:00
Salvador E. Tropea 1ee4182078 [Tests] Disabled some tests when using Ubuntu
- KiCad still say v7.0.5
- Big differences for these tests
2023-06-01 09:26:42 -03:00
Salvador E. Tropea 0ddc02c51d [Electro-grammar][Fixed] Problems with floating point tolerances
- i.e. 0.1%
Fixes #447
2023-05-29 10:09:05 -03:00
Salvador E. Tropea 5d99e8c2cd [Fixed][Tests] Name of the silk screen layers for KiCad 5 2023-05-24 12:43:44 -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 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 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
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 8404cd7613 [Tests][Fixed] test_step_alias_2 fails
- Cascaded by other fails
2023-05-12 09:51:45 -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 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 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 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 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