You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Displays some debug messages that I don't think are relevant to the end user. Why the code assumes the script is running from a repo clone?
I think these messages should be displayed only when debugging (BTW I don't think the verbosity can be controlled from the CLI).
My main current problem is that when I try to find the iBoM version I must filter these messages. They could also be printed to stderr, along with other messages created by KiCad, but most people will get confused anyways.
Code doesn't assume it, it just tries to get more exact version info with the commit sha for debug purposes.
Print statements can be reworded to indicate this is just informational or removed altogether.
I think they should be removed, after all this isn't an error, just the code running normally as installed from the KiCad package manager. Do you want a PR removing them (I think commenting them is the best, so you can uncomment them for debug).
The following code:
InteractiveHtmlBom/InteractiveHtmlBom/version.py
Lines 20 to 22 in 49f6412
Displays some debug messages that I don't think are relevant to the end user. Why the code assumes the script is running from a repo clone?
I think these messages should be displayed only when debugging (BTW I don't think the verbosity can be controlled from the CLI).
My main current problem is that when I try to find the iBoM version I must filter these messages. They could also be printed to stderr, along with other messages created by KiCad, but most people will get confused anyways.
What do you think about this @qu1ck ?
The text was updated successfully, but these errors were encountered: