I’m using Kicad 6 on a Linux machine. This posting is more like a remark/hint (that might be helpful) than a question.
In order to have sym-lib-table
automatically “synced” with the state of the local git repository, I replaced the sym-lib-table
(and fp-lib-table
) by symlinks to the respective files in my local copy of the git repository.
However, when I create a new (global) library from within the symbol editor, it is (by default) supposed that it is stored at ~/.local/share/kicad/6.0/symbols
¹. In the case of a symlink sym-lib-table, this results in change of sym-lib-table in the respository which would put the repository in the “changed” state, and as such prohibit merges. This is sort of an undesired side-effect of using symlinks.
Only after copying the library to the repository location (and after modifying sym-link-table
with usage of ${KICAD6_SYMBOL_DIR}
, this use case makes sense. Now I can create my own branch which additionally contains my library/libraries as well as sym-lib-table which would merge automatically when I update (rebase) my branch to a more recent upstream state.
My conclusion: under the assumption of using a symlink to sym-lib-table the usage of .local/...
storage makes no sense at all.
__
Ref 1: Of course, the solution is simple: to mind that the dialog “New Library” shows this default path, which must be changed by a path to the local git repository prior to hitting the save button.