Oui j'ai supprimé les éléments car en doublons uniquement pour des références. Alors bien sur je comprend que cela fait gagné beaucoup de temps donc un dépôt contrib est la bonne solution.
Je ferais un PR sur le nouveau dépôts si je supprime d'autre éléments.
joshua, can I have a look to create svg in the element
and further customize the element
to a graphic and a data lib?
I would therefore remove the elements from the repo
splits the repo into the source code and elements
but this idea still needs some time..
draft: convert script
# make submodule qelectrotech-elements of the qelectrotech-source
git clone https://github.com/De-Backer/qelectrotech-source-mirror.git qelectrotech-elements
cd qelectrotech-elements
# remove all (git and file's) except elements dir
# note! see: https://git-scm.com/docs/git-filter-branch
git filter-branch --prune-empty --subdirectory-filter elements/ -- master
git remote add https://github.com/De-Backer/qelectrotech-elements.git
git push qelectrotech-elements master
cd .
to create a submodule for the elements I'm still in doubt, why: "git filter-branch" is a git history rewrite tool
see: https://github.com/De-Backer/qelectrote … its/master
for the result
instead of 1 repo with elements I want to extend this to multiple repo's
eg: https://docs.librepcb.org/#gettingstart … ries-local
a repo then contains elements and manufacturers data eg:
data elements
- uuid
- svg =>line... (svg file)
- dynamic_text
* orientation
* X
* Y
* uuid
- terminal
* orientation
* X
* Y
* uuid
data manufacturers
- uuid element
* uuid manufacturer
° names
° elementInformations
° uuid dynamic_text
> data
° uuid terminal
> naam
* uuid manufacturer
° names
° elementInformations
° uuid dynamic_text
> data
° uuid terminal
> naam
update
if you store the "uuid manufacturer" in the schematic
then you can link everything
or:
data elements
- uuid
- svg =>line...(svg file)
data manufacturers
- uuid manufacturer
*uuid element
° names
° elementInformations
° dynamic_text
> uuid
> orientation
> X
> Y
> data
° terminal
> uuid
> orientation
> X
> Y
> naam
- uuid manufacturer
*uuid element
° names
° elementInformations
° dynamic_text
> uuid
> orientation
> X
> Y
> data
° terminal
> uuid
> orientation
> X
> Y
> naam