KiCad / kicad-library

The schematic and 3D libraries for KiCad 4.0. Note that the footprint libraries are the *.pretty repos themselves. This is an orphaned repo, the news about the v5 libs, http://kicad.org/post/kicad-official-libraries/.
Other
746 stars 956 forks source link

fp-lib-tables out of date #1833

Closed diggit closed 6 years ago

diggit commented 6 years ago

Hi, I just noticed, that fp-lib-table* in template directory does not contain all FP libraries and some of them are no longer valid. (89 vs 114 entries) Is there some automated way how to update them or is it done manually?

diggit commented 6 years ago

I was not following all recent changes and there is new (for me) kicad-footprints repo. Will all individual .pretty repos be moved there?

SchrodingersGat commented 6 years ago

Most of the .pretty repos will be moved across. The only ones that are not going to be moved are the ones marked as deprecated (i.e. they have been previously been merged with other libs).

Here is the current state of what has been moved across: https://github.com/KiCad/kicad-footprints/blob/master/TODO.md

I need to write some scripting to ensure that the fp-lib-table and sym-lib-table files are kept up to date.

Can you show me which entries are currently incorrect?

diggit commented 6 years ago

Not existing repo records in fp-lib-tables are for:

Until all .pretty repos are merged to kicad-footprints, fp-lib-table should point to individual ones. Am I right?

I was thinking about some script and the only problem is how to get repository name from github...

poeschlr commented 6 years ago

The github plugin will no longer work once we have one big repo with all fp libs. This means in v5 the libs will be part of the installation or a separate package.

diggit commented 6 years ago

Then each FP library will need some file with description (or some rule, like 1st line is README.md is repo description). Otherwise, there is no way how to generate fp-lib-table by script.

SchrodingersGat commented 6 years ago

The new library will keep the fp-lib-table which will keep track of the libraries

SchrodingersGat commented 6 years ago

Closing this, the new repository is well under way and the sym-lib-table file is checked as part of each PR