Skip to content

Commit 924c4eb

Browse files
committed
[Changed] Filtered KiBot warnings are informed in the debug output
See #817
1 parent bb8754a commit 924c4eb

3 files changed

Lines changed: 32 additions & 21 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1717
- User.N layer numbering. I.e. pcb_print issues with their numbering (#808)
1818
- KiCost: `kicost_config` not working (#815)
1919

20+
### Changed
21+
- Filtered KiBot warnings are informed in the debug output (See #817)
22+
2023

2124
## [1.8.4] - 2025-04-03
2225
### Added

docs/source/Changelog.rst

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ Fixed
3636
(#808)
3737
- KiCost: ``kicost_config`` not working (#815)
3838

39+
Changed
40+
~~~~~~~
41+
42+
- Filtered KiBot warnings are informed in the debug output (See #817)
43+
3944
[1.8.4] - 2025-04-03
4045
--------------------
4146

@@ -266,6 +271,8 @@ Fixed
266271
- ``sketch_pads_on_fab_layers`` not inherited from parent when using
267272
layer names (See #777)
268273

274+
.. _changed-1:
275+
269276
Changed
270277
~~~~~~~
271278

@@ -343,7 +350,7 @@ Fixed
343350
- Expansion of internal field names. KiCad expands “VALUE”, not
344351
“Value”, which is what you see in the GUI
345352

346-
.. _changed-1:
353+
.. _changed-2:
347354

348355
Changed
349356
~~~~~~~
@@ -495,7 +502,7 @@ Fixed:
495502
fills, that could generate huge lines in the generated PCB, not
496503
supported by KiCad. (#660)
497504

498-
.. _changed-2:
505+
.. _changed-3:
499506

500507
Changed:
501508
~~~~~~~~
@@ -626,7 +633,7 @@ Fixed
626633
- Expansion of variables in fields could fail if the KiCad config
627634
wasn’t initialized
628635

629-
.. _changed-3:
636+
.. _changed-4:
630637

631638
Changed
632639
~~~~~~~
@@ -656,7 +663,7 @@ Added
656663
- Navigate results: A header and navigation bar (#582)
657664
- BoM: support for SVG format in the logos (#383)
658665

659-
.. _changed-4:
666+
.. _changed-5:
660667

661668
Changed
662669
~~~~~~~
@@ -853,7 +860,7 @@ Added
853860
- Added a new mode where we can control the added/removed colors
854861
(#551)
855862

856-
.. _changed-5:
863+
.. _changed-6:
857864

858865
Changed
859866
~~~~~~~
@@ -1078,7 +1085,7 @@ Added
10781085
- ``quote_all``: forces quotes to all values in the CSV output. (See
10791086
#456)
10801087

1081-
.. _changed-6:
1088+
.. _changed-7:
10821089

10831090
Changed
10841091
~~~~~~~
@@ -1258,7 +1265,7 @@ Fixed
12581265

12591266
- ref_y coordinate not used. (#419)
12601267

1261-
.. _changed-7:
1268+
.. _changed-8:
12621269

12631270
Changed:
12641271
~~~~~~~~
@@ -1513,7 +1520,7 @@ Added
15131520

15141521
- Option to control the *SVG precision* (units scale)
15151522

1516-
.. _changed-8:
1523+
.. _changed-9:
15171524

15181525
Changed
15191526
~~~~~~~
@@ -1658,7 +1665,7 @@ Fixed
16581665
- Position: Components wrongly separated by side when the side column
16591666
wasn’t the last column (#313)
16601667

1661-
.. _changed-9:
1668+
.. _changed-10:
16621669

16631670
Changed
16641671
~~~~~~~
@@ -1761,7 +1768,7 @@ Fixed
17611768
when VAR isn’t defined. The old code tried to make it an absolute
17621769
path.
17631770

1764-
.. _changed-10:
1771+
.. _changed-11:
17651772

17661773
Changed
17671774
~~~~~~~
@@ -1824,7 +1831,7 @@ Fixed
18241831
orientation.
18251832
- svg_pcb_print: page orientation for portrait.
18261833

1827-
.. _changed-11:
1834+
.. _changed-12:
18281835

18291836
Changed
18301837
~~~~~~~
@@ -1984,7 +1991,7 @@ Added
19841991
- Support for ``--subst-models`` option for KiCad 6’s kicad2step.
19851992
(#137)
19861993

1987-
.. _changed-12:
1994+
.. _changed-13:
19881995

19891996
Changed
19901997
~~~~~~~
@@ -2075,7 +2082,7 @@ Added
20752082
- Basic KiCost support (**experimental**).
20762083
- Basic internal BoM and KiCost integration (**experimental**).
20772084

2078-
.. _changed-13:
2085+
.. _changed-14:
20792086

20802087
Changed
20812088
~~~~~~~
@@ -2187,7 +2194,7 @@ Added
21872194
- KiAuto time-out control.
21882195
- Now you can import outputs from another config file.
21892196

2190-
.. _changed-14:
2197+
.. _changed-15:
21912198

21922199
Changed
21932200
~~~~~~~
@@ -2234,7 +2241,7 @@ Added
22342241
- A filter to rotate footprints in the position file (#28).
22352242
- The step output now can download missing 3D models.
22362243

2237-
.. _changed-15:
2244+
.. _changed-16:
22382245

22392246
Changed
22402247
~~~~~~~
@@ -2347,7 +2354,7 @@ Fixed
23472354
[0.6.2] - 2020-08-25
23482355
--------------------
23492356

2350-
.. _changed-16:
2357+
.. _changed-17:
23512358

23522359
Changed
23532360
~~~~~~~
@@ -2380,7 +2387,7 @@ Added
23802387

23812388
- More robust behavior on GUI dependent commands.
23822389

2383-
.. _changed-17:
2390+
.. _changed-18:
23842391

23852392
Changed
23862393
~~~~~~~
@@ -2432,7 +2439,7 @@ Added
24322439
- ``error_number`` -> ``number``
24332440
- ``regexp`` -> ``regex``
24342441

2435-
.. _changed-18:
2442+
.. _changed-19:
24362443

24372444
Changed
24382445
~~~~~~~
@@ -2452,7 +2459,7 @@ Changed
24522459
[0.5.0] - 2020-07-11
24532460
--------------------
24542461

2455-
.. _changed-19:
2462+
.. _changed-20:
24562463

24572464
Changed
24582465
~~~~~~~
@@ -2558,7 +2565,7 @@ Added
25582565
- Better debug information when a BoM fails to be generated.
25592566
- Support for compressed YAML files.
25602567

2561-
.. _changed-20:
2568+
.. _changed-21:
25622569

25632570
Changed
25642571
~~~~~~~
@@ -2600,7 +2607,7 @@ Fixed
26002607
[0.2.4] - 2020-05-19
26012608
--------------------
26022609

2603-
.. _changed-21:
2610+
.. _changed-22:
26042611

26052612
Changed
26062613
~~~~~~~

kibot/log.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def warning(self, msg, *args, **kwargs):
120120
for f in filters:
121121
if (f.number == number or f.error == id) and f._regex.search(buf):
122122
MyLogger.n_filtered += 1
123+
self.debug('Filtered warning: '+buf, **kwargs)
123124
return
124125
MyLogger.warn_cnt += 1
125126
MyLogger.warn_hash[buf] = 1

0 commit comments

Comments
 (0)