Commit Graph

1492 Commits

Author SHA1 Message Date
Salvador E. Tropea 637a6917c0 Fixed KiCad 6 problems with empty title block items
- The saved SCH wasn't usable if company, rev, title, etc.
  were absent in the original file.
2022-03-26 12:33:08 -03:00
Salvador E. Tropea 6480d0be79 Updated KiCost submodule 2022-03-25 17:17:44 -03:00
Salvador E. Tropea 81368dab60 Reverted kicad parameter
GitHub can't:
- pass build args to docker
- select any file other than Dockerfile
- share data in a container created inside another container
2022-03-25 16:49:30 -03:00
Salvador E. Tropea 25f1aabefe Fixed `kicad` context in action.yaml 2022-03-25 13:26:07 -03:00
Salvador E. Tropea 92fac39586 Trying to unify KiCad 5/6 GitHub actions 2022-03-25 13:22:00 -03:00
Salvador E. Tropea a64a667842 Removed mandatory args check from entrypoint.sh
- Now none is mandatory
2022-03-25 12:49:17 -03:00
Salvador E. Tropea e2b63c6107 Switching to k5 action 2022-03-25 12:42:28 -03:00
Salvador E. Tropea 4c8703b284 Added the KiCad 5 dockefile with _k5 2022-03-25 12:41:49 -03:00
Salvador E. Tropea 17ad888aca Added the KiCad 6 docker file with _k6 in the name 2022-03-25 12:38:38 -03:00
Salvador E. Tropea 5c34e8b1af Fixed GitHub action problems when specifying a config 2022-03-25 12:37:24 -03:00
Salvador E. Tropea 024cba6af0 Switching to `dev_k6` for GitHub action. 2022-03-25 12:27:01 -03:00
Salvador E. Tropea 5ec8892457 Updated docs for the GitHub action. 2022-03-25 12:25:23 -03:00
Salvador E. Tropea bf80686c59 Fixed extra -c in entrypoint.sh 2022-03-25 12:18:33 -03:00
Salvador E. Tropea 25c1fea649 Changes to the GitHub action:
- `config` is now optional
- added `targets` to specify what we want to generate
2022-03-25 12:05:53 -03:00
Salvador E. Tropea 6d0a3b2bd3 Updated GitHub action help. 2022-03-25 11:37:26 -03:00
Salvador E. Tropea 1a80260428 Changed to KiCad 5 action. 2022-03-25 10:50:30 -03:00
Salvador E. Tropea 6d50e5489b Enhanced the GitHub action
- Made really optional the SCH and PCB
- Implemented the --skip option
- Added --variant option
2022-03-25 10:47:19 -03:00
Salvador E. Tropea ebb1916aee Fixed python dependencies in `dev` images. 2022-03-25 10:06:25 -03:00
Salvador E. Tropea 4efa08c3c4 Added scripts to generate the `dev` images 2022-03-25 10:05:59 -03:00
Salvador E. Tropea 377e85cffc Added more Debian packages to the "dev" image
- pip fails to install some dependencies (I hate pip, is just crap)
2022-03-25 09:21:28 -03:00
Salvador E. Tropea 8b282250e3 Fixes in the `dev` images.
- Now they install the current git code for KiCost
Related to #169
2022-03-25 08:49:37 -03:00
Salvador E. Tropea b4ff830c7d Fixed drill problems with regular vias 2022-03-25 08:39:58 -03:00
Salvador E. Tropea 5940e7bcd6 Fixed missing BoardViewOptions.get_targets
Fixes #167
2022-03-24 14:05:48 -03:00
Salvador E. Tropea 7e2e844a4b Added a preflight option to save the PCB with refilled zones.
Closes #165
2022-03-24 13:30:18 -03:00
Salvador E. Tropea b5d5bea324 Made more clear which preflight options modifies files
- Also unified to "preflight" (more common than pre-flight)
Related to #165
2022-03-24 13:08:51 -03:00
Salvador E. Tropea 788b7d6b83 Added support for buried/blind vias to the drill outputs
Fixes #166
2022-03-24 12:57:08 -03:00
Salvador E. Tropea beee95ce31 Merged the kicost_dk branch:
- New internal BoM XLSX options to control KiCost:
  - Dis/Enable APIs
  - Add a description column
  - Specs worksheet generation
  - Which spec columns
  - Specify a KiCost config file
- Passed debug level to KiCost
- Added support for KiCost log style to our logger
2022-03-24 09:47:47 -03:00
Salvador E. Tropea 1cb1e05758 Switched to upstream KiCost 2022-03-21 18:44:00 -03:00
Salvador E. Tropea f524b643ee Updated KiCost 2022-03-21 18:42:10 -03:00
Salvador E. Tropea 688d637f6c Added regression test for #164 2022-03-17 18:40:25 -03:00
Salvador E. Tropea 0367d9be82 Merge remote-tracking branch 'refs/remotes/origin/master' 2022-03-17 18:28:02 -03:00
Salvador E. Tropea e4eb2c14cd Adjusted the report tests for KiCad 5.
- Some unknown inconsistency in the API.
2022-03-17 18:27:00 -03:00
Salvador E. Tropea 786a776c33 Adjusted the report tests for KiCad 5.
- Some unknown inconsistency in the API.
2022-03-17 14:45:34 -03:00
Salvador E. Tropea afc499e055 Added support for Pandoc 2.2.1
- Used on Debian 10.x
- Doesn't support "--to pdf", but can generate PDFs ...
2022-03-17 14:42:51 -03:00
Salvador E. Tropea d4945e0189 Added workaround for KiCad 5 SVG print
- The KiCad 6 bug was also in KiCad 5.
2022-03-17 14:39:18 -03:00
Salvador E. Tropea 6b6d22afa8 Added report conversion using pandoc 2022-03-17 12:13:51 -03:00
Salvador E. Tropea ab1b134358 Small changes to avoid problems with my local setup
- coveragve tool from the KiCad 5 image incompatible with the current one
2022-03-17 12:09:30 -03:00
Salvador E. Tropea 17df40319c When meassuring the PCB size now we also look in footprints
- They can contain PCB edges
Related to #164
2022-03-17 10:59:47 -03:00
Salvador E. Tropea b9fa99a4a0 Excluded lib_symbol_issues in ERC tests
- It misteriously started to interfere
2022-03-15 20:38:42 -03:00
Salvador E. Tropea 9d7aae8d64 Fixed test_erc_warning_2 output dir 2022-03-15 20:27:28 -03:00
Salvador E. Tropea 45e670c11f More early text var expansions
Fixes #163
2022-03-15 20:26:18 -03:00
Salvador E. Tropea fb7e81fb69 Made the "Using `{}` for {} instead" message more clear
- When normalize_values is false it adds ", only for sorting purposes"
Related to #108
2022-03-15 19:17:25 -03:00
Salvador E. Tropea fc28b6a257 Fixed: expanded text variables earlier for date
- Avoids reformatting problems
- Also done for title, because we keep a copy of the original
Related to #161
2022-03-15 17:47:33 -03:00
Salvador E. Tropea 02a942c37b Fixed schematic comments expansion 2022-03-13 16:36:54 -03:00
Salvador E. Tropea 4359a538cd Fixed missing check for no project file 2022-03-13 16:36:15 -03:00
Salvador E. Tropea 0413699607 Fixed pcb title block load (text var expansions) 2022-03-13 15:58:47 -03:00
Salvador E. Tropea dd210162b7 Updated docs (KiCad version for *_replace preflights) 2022-03-13 15:58:06 -03:00
Salvador E. Tropea 342fb40c59 Added text variable replace in the title block items
- There are some limitations inm the depth of vars + %X usage
Closes #162
2022-03-13 15:18:44 -03:00
Salvador E. Tropea 4b6885283a Added new test files for the set_text_variables test 2022-03-13 14:31:14 -03:00
Salvador E. Tropea 82aac838d5 Catched error of using set_text_variables with KiCad 5 2022-03-12 19:10:35 -03:00