fritzing / fritzing-parts

Electronic components for use in the Fritzing app (aka the parts library)
http://fritzing.org/parts
Other
506 stars 360 forks source link

unusedsvgs shows a lot of unused svg files #233

Open KjellMorgenstern opened 4 years ago

KjellMorgenstern commented 4 years ago

This might either be an issue with the script, the wrong way to call it, or a real error.

python3 unusedsvgs.py -f ~/git/fritzing-parts/ -s ~/git/fritzing-parts/

The script outputs a lot of files

...
unused pcb/Aisler Logo copper1.svg
unused pcb/Fritzing icon copper1.svg
unused pcb/sparkfun-led_led5mm_pcb.svg
unused pcb/sparkfun-led_led5mm-kit_pcb.svg
unused pcb/aisler_cloud_logo_part.svg
unused pcb/so36w_pcb.svg
unused pcb/sparkfun-connectors_rj45-8_pcb.svg
unused pcb/Taiway-100-SP-X-T1-X-X-B1_SPDT_miniature_toggle_switch_mounting_hole_pcb.svg
unused pcb/so32w_pcb.svg
unused pcb/SMD_SO16-W.svg
unused pcb/pcb-arduino-mini-usb.svg
...

At least check if those are false positives.

KjellMorgenstern commented 3 years ago

Number of unused svg files found is 2318 . I checked a few but could not find where they are used.