Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Oct 28, 2024
2 parents 5db11c9 + c72d3c4 commit dd0a8b7
Show file tree
Hide file tree
Showing 203 changed files with 51,650 additions and 1,749 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# This workflow will install Python dependencies, run tests and lint with a single version of Python.
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Regression tests
Expand All @@ -24,6 +24,7 @@ on:
- 'tools/dev_image_k6/Dockerfile'
repository_dispatch:
types: [run_tests]
workflow_dispatch:

jobs:
test:
Expand Down Expand Up @@ -162,7 +163,8 @@ jobs:
fail-fast: false

runs-on: ubuntu-latest
container: ghcr.io/inti-cmnb/kicad_auto_test:latest
# We use a modern container because the GUI needs a modern wxWidgets
container: ghcr.io/inti-cmnb/kicad_auto_test:ki8

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
REF=${{ github.ref }}
URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/tags/${REF##*/}"
StatusCode=$(curl -o discard -I -L -s -w "%{http_code}" -X GET -G $URL)
StatusCode=$(curl -o /dev/null -I -L -s -w "%{http_code}" -X GET -G $URL)
echo $StatusCode
if [[ "$StatusCode" == 200 ]]; then
echo "This is tagged release!"
Expand Down Expand Up @@ -76,7 +76,7 @@ jobs:
- name: Debug
run: |
ls -la
ls -la package
ls -la ${{needs.build.outputs.DEB_NAME}}
- name: Release
uses: docker://antonyurchenko/git-release:latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ tags
ojo/
.cache
.cache_3d
log
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "kibot/PcbDraw/resources/footprints"]
path = kibot/resources/pcbdraw/footprints
url = https://github.com/yaqwsx/PcbDraw-Lib.git
[submodule "docs/extra/KiBot-media"]
path = docs/extra/KiBot-media
url = https://github.com/set-soft/KiBot-media.git
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,52 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).


## [1.8.2] - 2024-10-28
### Added
- Experimental GUI
- Preflights:
- Draw Fancy Stackup: which includes the type of vias used (#699)
- Include Table: used to include CSV tables generated by bom/position
outputs (#702)
- Globals:
- `dnp_cross_top_layer` and `dnp_cross_bottom_layer`: to control the layer
where footprints are crossed. (#700 and #622)
- SVG: `use_aux_axis_as_origin` option (#681)
- Report: thickness units (#685)
- PCB Print:
- Worksheet: undocumented font face and color now can be used (See #695)
- Panelize:
- `copy_vias_on_mask` option to workaround KiCad's bug 18991 (See #703 and
#704)

### Fixed
- BoM: Sub-PCBs not applied (#697)
- Copy Files: problems when using from compress and using worksheets.
- Export Project: problems when downloading KiCad models and trying to compress
the result.
- PcbDraw: problems with 0 ohms THT resistors (#689)
- PCB Print:
- Allow specifying `repeat_for_layer` with empty `repeat_layers`.
This was the old behavior (i.e. 1.7.0) (#671)
- Problems with drill marks on KiCad 8.0.4+, which prints them in every
single layer (even technical ones) (#696)
- When trying to force a WKS and the project didn't define a WKS.
The "gui" strategy failed to use the specified WKS
- Draw stackup:
- Segmentation Fault on KiCad 8 when creating a new group
- Units not applied when creating a new group
- Expansion of internal field names. KiCad expands "VALUE", not "Value", which
is what you see in the GUI

### Changed
- Quick Start:
- Diff/KiRi: Avoid creating when we don't have at least 2 to compare
- PCB Print:
- Avoid `colored_pads` and `colored_vias` side effects (#682)
- BoM:
- Avoid leaking DIGIKEY_CLIENT_ID and DIGIKEY_CLIENT_SECRET in logs


## [1.8.1] - 2024-09-25
### Fixed
- Blender Export:
Expand Down
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ include MANIFEST.in
include LICENSE
include README.md
include kibot/resources/config_templates/*.yaml
include kibot/resources/images/*.svg
include kibot/resources/images/*.ico
include kibot/resources/images/*.png
include kibot/resources/images/*.svg
include kibot/resources/kicad_colors/*.json
include kibot/resources/kicad_layouts/*.kicad_wks
include kibot/resources/kicanvas/*.svg
Expand All @@ -19,6 +20,7 @@ include kibot/resources/parsers/*.lark
include kibot/resources/pcbdraw/styles/*.json
include kibot/resources/pcbdraw/templates/*.handlebars
include kibot/resources/report_templates/*.txt
include kibot/resources/tools/*
include kibot/blender_scripts/*.py
recursive-include kibot/resources/pcbdraw/footprints/ *.svg LICENCE *.md *.py *.pl *.png
recursive-include kibot/resources/pcbdraw/present/ *.css *.html *.json *.js
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -294,4 +294,7 @@ update_gha:
git push origin -f --tags


.PHONY: deb deb_clean lint test test_local gen_ref doc py_build pypi_upload py_clean
i18n:
cd kibot ; ../tools/geni18n.py

.PHONY: deb deb_clean lint test test_local gen_ref doc py_build pypi_upload py_clean i18n
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# KiBot (formerly KiPlot)

![KiBot Logo](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/kibot_740x400_logo.png)
![KiBot Logo](https://raw.githubusercontent.com/INTI-CMNB/KiBot/dev/docs/images/kibot_740x400_logo.png)

[![Python application](https://img.shields.io/github/actions/workflow/status/INTI-CMNB/KiBot/pythonapp.yml?branch=master&style=plastic&logo=github)](https://github.com/INTI-CMNB/KiBot/actions)
[![Coverage Status](https://img.shields.io/coveralls/github/INTI-CMNB/KiBot?style=plastic&logo=coveralls&branch=master)](https://coveralls.io/github/INTI-CMNB/KiBot?branch=dev)
Expand All @@ -19,3 +19,14 @@ If you are looking for the last features and fixes visit the [dev branch](https:

If you want to see an example of what KiBot can generate visit this
[project](https://inti-cmnb.github.io/kibot_variants_arduprog_site/Browse/t1-navigate.html)

If this is the first time you read about KiBot, and you prefer to be
introduced listening to a podcast, you can try the following
(english audio, english and spanish subtitles available):

[![General podcast](https://img.youtube.com/vi/6eYtJ9xiS1U/0.jpg)](https://www.youtube.com/watch?v=6eYtJ9xiS1U)


Here is another podcast, more centered on the CI/CD side:

[![CI/CD podcast](https://img.youtube.com/vi/BgSvupdpGvo/0.jpg)](https://www.youtube.com/watch?v=BgSvupdpGvo)
38 changes: 38 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,41 @@
kibot (1.8.2-1) stable; urgency=medium

* Added experimental GUI
* New preflights:
- Draw Fancy Stackup: which includes the type of vias used
- Include Table: used to include CSV tables generated by bom/position
outputs
* New global options: `dnp_cross_top_layer` and `dnp_cross_bottom_layer` to
control the layer where footprints are crossed.
* New SVG option: `use_aux_axis_as_origin` option
* Added thickness units to the report templates
* Added support for undocumented font face and color features in the
worksheet for the PCB Print.
* New Panelize option: `copy_vias_on_mask` to workaround KiCad's bug 18991
* Fixed Sub-PCBs not applied for BoM
* Fixed Copy Files problems when using from compress and worksheets.
* Fixed Export Project: problems when downloading KiCad models and trying to
compress the result.
* Fixed PcbDraw: problems with 0 ohms THT resistors.
* Fixed on PCB Print:
- Allow specifying `repeat_for_layer` with empty `repeat_layers`.
- Problems with drill marks on KiCad 8.0.4+, which prints them in every
single layer (even technical ones)
- When trying to force a WKS and the project didn't define a WKS.
The "gui" strategy failed to use the specified WKS
* Fixed on Draw stackup:
- Segmentation Fault on KiCad 8 when creating a new group
- Units not applied when creating a new group
* Fixed in the expansion of internal field names. KiCad expands "VALUE",
not "Value"
* Changed in Quick Start's Diff/KiRi: Avoid creating when we don't have at
least 2 to compare
* Changed PCB Print: Avoid `colored_pads` and `colored_vias` side effects
* Changed in BoM: Avoid leaking DIGIKEY_CLIENT_ID and DIGIKEY_CLIENT_SECRET
in logs

-- Salvador Eduardo Tropea <[email protected]> Mon, 28 Oct 2024 09:42:20 -0300

kibot (1.8.1-1) stable; urgency=medium

* Bug fix release
Expand Down
5 changes: 4 additions & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BUILDDIR = build
SPHINXTARGETS = html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf latexpdfja text man texinfo info gettext changes xml pseudoxml linkcheck doctest coverage clean


all: html samples/generic_plot.kibot.yaml ../kibot/resources/report_templates/report_full_svg.txt ../src/kibot-check
all: html samples/generic_plot.kibot.yaml ../kibot/resources/report_templates/report_full_svg.txt ../src/kibot-check ../tests/GUI/stats

../src/kibot-check: ../src/kibot-check.in replace_tags.pl ../kibot/out_*.py ../kibot/pre_*.py ../kibot/var_*.py ../kibot/registrable.py ../kibot/misc.py ../kibot/config_reader.py ../kibot/dep_downloader.py
cat ../src/kibot-check.in | perl replace_tags.pl > ../src/kibot-check
Expand Down Expand Up @@ -55,6 +55,9 @@ source/Changelog.rst: ../CHANGELOG.md
cat changelog_pre.rst tmp.rst > $@
rm tmp.rst

../tests/GUI/outputs ../tests/GUI/filters ../tests/GUI/preflights ../tests/GUI/variants ../tests/GUI/stats: ../kibot/fil_*.py ../kibot/out_*.py ../kibot/pre_*.py ../kibot/var_*.py ../kibot/config_reader.py
../src/kibot -b ../tests/board_samples/kicad_8/light_control.kicad_pcb --internal-check -d ../tests/GUI > ../tests/GUI/stats

help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

Expand Down
1 change: 1 addition & 0 deletions docs/extra/KiBot-media
Submodule KiBot-media added at 1f8075
Binary file added docs/images/kibot_370x200c.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/kibot_740x400_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/images/kibot_740x400_logo.xcf
Binary file not shown.
Loading

0 comments on commit dd0a8b7

Please sign in to comment.