Skip to content

Commit 8a5106e

Browse files
committed
Merge branch 'dev' for release
2 parents 6e47f20 + b5aad58 commit 8a5106e

795 files changed

Lines changed: 65877 additions & 75719 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/pythonapp.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -53,25 +53,25 @@ jobs:
5353
rm -f tests/.local
5454
##### Experimental stuff:
5555
## Remove KiAuto
56-
#dpkg --remove --force-all kiauto
56+
# dpkg --remove --force-all kiauto
5757
## Install KiAuto@master
58-
#curl https://codeload.github.com/INTI-CMNB/KiAuto/zip/refs/heads/master --output pp.zip
59-
#unzip pp.zip
60-
#pip3 install ${PIP_OPS} KiAuto-master/
58+
# curl https://codeload.github.com/INTI-CMNB/KiAuto/zip/refs/heads/master --output pp.zip
59+
# unzip pp.zip
60+
# pip3 install ${PIP_OPS} KiAuto-master/
6161
## Clean the downloaded stuff
62-
#rm -rf KiAuto-master/ pp.zip
62+
# rm -rf KiAuto-master/ pp.zip
6363
## Install KiDiff@master
64-
#curl https://codeload.github.com/INTI-CMNB/KiDiff/zip/refs/heads/master --output pp.zip
65-
#unzip pp.zip
66-
#pip3 install ${PIP_OPS} KiDiff-master/
64+
# curl https://codeload.github.com/INTI-CMNB/KiDiff/zip/refs/heads/master --output pp.zip
65+
# unzip pp.zip
66+
# pip3 install ${PIP_OPS} KiDiff-master/
6767
## Clean the downloaded stuff
68-
#rm -rf KiDiff-master/ pp.zip
68+
# rm -rf KiDiff-master/ pp.zip
6969
## Check what we got
70-
#echo $PATH
71-
#ls -la /usr/bin/*_do || true
72-
#ls -la /usr/local/bin/*_do || true
73-
#which pcbnew_do
74-
#pcbnew_do --version
70+
# echo $PATH
71+
# ls -la /usr/bin/*_do || true
72+
# ls -la /usr/local/bin/*_do || true
73+
# which pcbnew_do
74+
# pcbnew_do --version
7575
# KiDiff tests
7676
#curl https://codeload.github.com/INTI-CMNB/KiDiff/zip/refs/heads/kiri_mode --output pp.zip
7777
#unzip pp.zip

.github/workflows/release.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
- "v3_*"
1212
- "v4"
1313
- "v4_*"
14+
repository_dispatch:
15+
types: [test_release]
1416

1517
jobs:
1618
check:
@@ -64,6 +66,8 @@ jobs:
6466
release:
6567
needs: build
6668
runs-on: ubuntu-latest
69+
permissions:
70+
contents: write
6771
steps:
6872
- name: Checkout
6973
uses: actions/checkout@v6
@@ -86,13 +90,4 @@ jobs:
8690
8791
- name: Trigger kicad_auto image build
8892
run: |
89-
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto/dispatches --data '{"event_type": "build_k6"}'
90-
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto/dispatches --data '{"event_type": "build_k7"}'
91-
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto/dispatches --data '{"event_type": "build_k8"}'
92-
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto/dispatches --data '{"event_type": "build_k9"}'
93-
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto/dispatches --data '{"event_type": "build_k10"}'
94-
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto_test/dispatches --data '{"event_type": "build_k6"}'
95-
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto_test/dispatches --data '{"event_type": "build_k7"}'
96-
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto_test/dispatches --data '{"event_type": "build_k8"}'
97-
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto_test/dispatches --data '{"event_type": "build_k9"}'
98-
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto_test/dispatches --data '{"event_type": "build_k10"}'
93+
curl -X POST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.v3+json" -H "Content-Type: application/json" https://api.github.com/repos/INTI-CMNB/kicad_auto/dispatches --data '{"event_type": "refresh_images", "ref": "dev"}'

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ MANIFEST
3232
*.epr
3333
htmlcov/
3434
pp/
35-
output/
35+
/output
3636
.coverage
3737
.coverage.*
3838
TODO
@@ -71,7 +71,9 @@ experiments/kicad/10.0/
7171
experiments/kicad/Plot_Layer_CLI/
7272
experiments/kicad/Plotter_code/
7373
experiments/kicad/Sketch_Pads/
74+
experiments/kicad/Delete_Field/
7475

7576
tests/.config/kicad/
7677
DONACIONES
7778
IMPORTANTE
79+
docs/samples/3D_Model_LCD*/run_local.sh

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,7 @@ repos:
9999
# # specify your target version here, OR in a Vermin config file as usual:
100100
# args: ['-t=3.7-', '--violations']
101101
# # (if your target is specified in a Vermin config, you may omit the 'args' entry entirely)
102+
- repo: https://github.com/pre-commit/pre-commit-hooks
103+
rev: v5.0.0 # Use the latest version
104+
hooks:
105+
- id: check-symlinks

CHANGELOG.md

Lines changed: 115 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,118 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [1.9.1] - 2026-07-28
8+
### Added
9+
- Support for Python 3.14 (#930)
10+
- CLI:
11+
- --keep-temporals: to keep temporal files
12+
- Some limited support for the VARIANT and VARIANT_DESC variables found
13+
in KiCad 10. They can be used for things like 3D and print_pcb even
14+
for KiCad 6.
15+
- Workaround for KiCad 10 bug 14360 which prevents native QRs to be updated
16+
when they use a KiCad variable.
17+
- Schematic:
18+
- Support for SHEETNAME, SHEETFILE and SHEETPATH in the title block
19+
- Support for the `jumper_pin_groups` attribute of symbols. (#942)
20+
- Some support for properties defined at sheet level. (#941)
21+
- Globals:
22+
- `schematic_sheet_name_workaround` to workaround SHEETNAME on page 1
23+
(See #933)
24+
- `pcb_material_color` default color for the PCB core material
25+
- `solder_paste_color` default color for the solder paste
26+
- `remove_3D_models_for_dnp` to disable 3D models removal from variants
27+
- Variants:
28+
- pre_transform filter to KiCad variants
29+
- E/DRC:
30+
- Dark mode support and icon to select it.
31+
- Blender Export:
32+
- Added support for PCB2Blender 2.17 format
33+
- BoM:
34+
- JSON output format. As a helper for external renderers (See #917)
35+
- Dark mode support and icon to select it.
36+
- Diff:
37+
- `tag_filter`: to select which tags are used for KIBOT_TAG
38+
- KiCad Site:
39+
- `bom` configuration
40+
- `kiri` configuration
41+
- KiRi:
42+
- `commits` and `labels` options to include an explicit list of git
43+
revisions (hashes, tags, branches, etc.) (#946)
44+
- `include_dirty` to exclude the local changes. (#946)
45+
- Panelize:
46+
- Better support for `renameref` use. Now we set the reference from the
47+
PCB when global `use_pcb_fields` variable is enabled.
48+
- PcbDraw:
49+
- `show_copper` to disable tracks and zones (from 1.2.0)
50+
- Render 3D:
51+
- KiCad 10: support for kicad-cli interface, adds some new options but
52+
has various limitations, hopping they will be fixed.
53+
- Report:
54+
- All PDF pages are included, not just the first
55+
- The full report now works with SVGs and PDFs for both (SCH and PCB),
56+
SVGs have priority
57+
- `remove_split_pdfs`: To control if we remove split PDFs
58+
- `collect_images`: To just avoid collecting images, enabled by
59+
default when generating a CSV. Avoids unintended infinite loops.
60+
(See #931)
61+
- *SCH Print
62+
- `title_propagate`: The title is not only set for page 1 but also for
63+
all pages.
64+
65+
## Fixed
66+
- Warnings:
67+
- 11 and 148 were always filtered for CI/CD, even when using --warn-ci-cd
68+
- Crash when missing basic fields, KiCad 6+
69+
- Avoid warning about datasheet mismatch when creating a component from the
70+
PCB.
71+
- CLI:
72+
- When using a --variant and an specific target, it was generated for the
73+
first variant in the list, not the rest
74+
- Filters:
75+
- Applied only to the first copy of a KiKit panel with default `renameref`
76+
(#937)
77+
- Gerber Drill:
78+
- Avoid showing an error when KiCad 10 skips a drill file (See #928)
79+
- KiRi:
80+
- `kiri_server` path to the HTML
81+
- *SCH Print:
82+
- The list of targets now includes all schematic pages
83+
- Output when the `output` option was empty
84+
- DNP components when no variant is used and we set a title or replace
85+
images ('kibot_image_OUTPUT') (#943)
86+
- PCB2Blender Tools:
87+
- Crash for oblong drills
88+
- PCB Stats:
89+
- Missing targets (See #928)
90+
- PDFUnite:
91+
- Using just the first page when using the internal joiner (#950)
92+
- SCH/PCB Variant:
93+
- "Exclude from bom" flag wrongly exported
94+
- Report:
95+
- Now all SVG schematic pages are included, not just the first
96+
- VRML
97+
- Avoid WRL files for KiCad 10 (See #928)
98+
- Now we clear fields created by a variant, so they don't interfere in
99+
multiple variants generation.
100+
101+
## Changed
102+
- E/DRC and BoM: As we now have dark mode support the CSS is more complex and
103+
user defined CSSs might need some adjusts
104+
- Now when an output runs another outputs as dependencies the name of the
105+
created output is displayed.
106+
- When using `pcb_print` and including tables you no longer need to run the
107+
output that generates the CSV first, it gets generated on-the-fly
108+
- Report: the outputs that generates images no longer needs to be already
109+
executed, KiBot will run them
110+
- More common CI/CD warnings filtered:
111+
- W008 Unable to find KiCad configuration file
112+
- W058 Missing KiCad main config file
113+
- W058 Missing default system table
114+
- No more reports on PCB/SCH fields mismatch when the variants modified the
115+
field
116+
- Avoid more than 20 levels of nested outputs, this is an infinite loop.
117+
- Quick Start:
118+
- Use `force_stackup_colors` for `render_3d`
7119

8120
## [1.9.0] - 2026-05-12
9121
### Added
@@ -1728,7 +1840,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
17281840
- Gerber job generation
17291841

17301842

1731-
[Unreleased]: https://github.com/INTI-CMNB/KiBot/compare/v1.8.5...dev
1843+
[Unreleased]: https://github.com/INTI-CMNB/KiBot/compare/v1.9.1...dev
1844+
[1.9.1]: https://github.com/INTI-CMNB/KiBot/compare/v1.9.0...v1.9.1
1845+
[1.9.0]: https://github.com/INTI-CMNB/KiBot/compare/v1.8.5...v1.9.0
17321846
[1.8.5]: https://github.com/INTI-CMNB/KiBot/compare/v1.8.4...v1.8.5
17331847
[1.8.4]: https://github.com/INTI-CMNB/KiBot/compare/v1.8.3...v1.8.4
17341848
[1.8.3]: https://github.com/INTI-CMNB/KiBot/compare/v1.8.2...v1.8.3

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM ghcr.io/inti-cmnb/kicad9_auto_full:latest
1+
FROM ghcr.io/inti-cmnb/kicad10_auto_full:latest
22
LABEL AUTHOR Salvador E. Tropea <stropea@inti.gob.ar>
3-
LABEL Description="Export various files from KiCad projects (KiCad 9)"
3+
LABEL Description="Export various files from KiCad projects (KiCad 10)"
44

55
COPY entrypoint.sh /entrypoint.sh
66
RUN chmod +x /entrypoint.sh

Dockerfile_dk10

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM ghcr.io/inti-cmnb/kicad10_auto_full:dev
2+
LABEL AUTHOR="Salvador E. Tropea <stropea@inti.gob.ar>"
3+
LABEL Description="Export various files from KiCad projects (KiCad 10 + development)"
4+
5+
COPY entrypoint.sh /entrypoint.sh
6+
RUN chmod +x /entrypoint.sh
7+
8+
WORKDIR /mnt
9+
10+
ENTRYPOINT [ "/entrypoint.sh" ]

Dockerfile_dk9

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM ghcr.io/inti-cmnb/kicad9_auto_full:dev
22
LABEL AUTHOR="Salvador E. Tropea <stropea@inti.gob.ar>"
3-
LABEL Description="Export various files from KiCad projects (KiCad 8 + development)"
3+
LABEL Description="Export various files from KiCad projects (KiCad 9 + development)"
44

55
COPY entrypoint.sh /entrypoint.sh
66
RUN chmod +x /entrypoint.sh

Dockerfile_k10

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM ghcr.io/inti-cmnb/kicad10_auto_full:latest
2+
LABEL AUTHOR Salvador E. Tropea <stropea@inti.gob.ar>
3+
LABEL Description="Export various files from KiCad projects (KiCad 10)"
4+
5+
COPY entrypoint.sh /entrypoint.sh
6+
RUN chmod +x /entrypoint.sh
7+
8+
WORKDIR /mnt
9+
10+
ENTRYPOINT [ "/entrypoint.sh" ]

Makefile

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -268,56 +268,66 @@ py_clean:
268268
# /Dockerfile.* must be updated
269269
update_gha:
270270
cp Dockerfile_k5 Dockerfile
271-
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 5 latest" Dockerfile
271+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 5 latest [skip ci]" Dockerfile
272272
git push
273273
git tag -f -a v2 -m "GitHub Action v2 for KiCad 5"
274274
git push origin -f --tags
275275
cp Dockerfile_dk5 Dockerfile
276-
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 5 development" Dockerfile
276+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 5 development [skip ci]" Dockerfile
277277
git push
278278
git tag -f -a v2_d -m "GitHub Action v2 for KiCad 5 (development)"
279279
git tag -f -a v2_dk5 -m "GitHub Action v2 for KiCad 5 (development)"
280280
git push origin -f --tags
281281
cp Dockerfile_dk6 Dockerfile
282-
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 6 development" Dockerfile
282+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 6 development [skip ci]" Dockerfile
283283
git push
284284
git tag -f -a v2_dk6 -m "GitHub Action v2 for KiCad 6 (development)"
285285
git push origin -f --tags
286286
cp Dockerfile_k6 Dockerfile
287-
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 6 latest" Dockerfile
287+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 6 latest [skip ci]" Dockerfile
288288
git push
289289
git tag -f -a v2_k6 -m "GitHub Action v2 for KiCad 6"
290290
git push origin -f --tags
291291
cp Dockerfile_dk7 Dockerfile
292-
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 7 development" Dockerfile
292+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 7 development [skip ci]" Dockerfile
293293
git push
294294
git tag -f -a v2_dk7 -m "GitHub Action v2 for KiCad 7 (development)"
295295
git push origin -f --tags
296296
cp Dockerfile_k7 Dockerfile
297-
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 7 latest" Dockerfile
297+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 7 latest [skip ci]" Dockerfile
298298
git push
299299
git tag -f -a v2_k7 -m "GitHub Action v2 for KiCad 7"
300300
git push origin -f --tags
301301
cp Dockerfile_dk8 Dockerfile
302-
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 8 development" Dockerfile
302+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 8 development [skip ci]" Dockerfile
303303
git push
304-
git tag -f -a v2_dk8 -m "GitHub Action v2 for KiCad 8 (development)"
304+
git tag -f -a v2_dk8 -m "GitHub Action v2 for KiCad 8 (development) [skip ci]"
305305
git push origin -f --tags
306306
cp Dockerfile_k8 Dockerfile
307-
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 8 latest" Dockerfile
307+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 8 latest [skip ci]" Dockerfile
308308
git push
309309
git tag -f -a v2_k8 -m "GitHub Action v2 for KiCad 8"
310310
git push origin -f --tags
311311
cp Dockerfile_dk9 Dockerfile
312-
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 9 development" Dockerfile
312+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 9 development [skip ci]" Dockerfile
313313
git push
314314
git tag -f -a v2_dk9 -m "GitHub Action v2 for KiCad 9 (development)"
315315
git push origin -f --tags
316316
cp Dockerfile_k9 Dockerfile
317-
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 9 latest" Dockerfile
317+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 9 latest [skip ci]" Dockerfile
318318
git push
319319
git tag -f -a v2_k9 -m "GitHub Action v2 for KiCad 9"
320320
git push origin -f --tags
321+
cp Dockerfile_dk10 Dockerfile
322+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 10 development [skip ci]" Dockerfile
323+
git push
324+
git tag -f -a v2_dk10 -m "GitHub Action v2 for KiCad 10 (development)"
325+
git push origin -f --tags
326+
cp Dockerfile_k10 Dockerfile
327+
git commit -m "[CI/CD] Updating Github Action v2 for KiCad 10 latest [skip ci]" Dockerfile
328+
git push
329+
git tag -f -a v2_k10 -m "GitHub Action v2 for KiCad 10"
330+
git push origin -f --tags
321331

322332

323333
i18n:

0 commit comments

Comments
 (0)