Mail Archives: geda-user/2013/09/09/01:32:50
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
DJ Delorie writes:
>> The geda.conf files are in a standard file format for which there are
>> many parsers available
>
> Er, not what I meant. I mean, a "library" could have symbols,
> footprints, and models in it, and gnetlist/pcb/etc would resolve
> conflicting names by searching the symbols' libraries before other
> libraries. So if you have two "TO220" symbols in two different
> libraries, you get the one from the "same" library when a symbol
> requests it.
>
> I'm thinking of Kai's library, which is already set up for this.
Okay --- so you want there to be an API method to request a resource X
that's located in the same library as another resource Y. I can do
this. Probably the way that it will work is that if the place Y is
found changes, then you'll get notified that X has changed too, and if
the new location of Y doesn't have a corresponding X then X will become
unresolved. You could then put in application-specific logic to DTRT
and look up a default version of X, I assume.
>> > Also, it would be cool if the library "path" included cloud support,
>> > like http:// and git:// paths.
>>=20
>> It would be cool, but I feel like that might be better implemented via
>> helper daemons that just keep an on-disk library up-to-date. You
>> wouldn't need any synchronisation with gschem; the library system would
>> monitor the filesystem and DTRT when updates occurred (i.e. prompt the
>> user, probably).
>
> I really don't want something as big as, say, the Digikey database, on
> my hard drive ;-)
>
> But consider being able to search gedasymbols.org live, and
> dynamically pull symbols from it... :-)
>
It's probably something we could support in the future --- there's
nothing in the proposed user interface/configuration file arrangements
that would prevent it --- but I don't consider it a high priority right
now, especially given that 99% of the use cases could be covered by
running a separate program that populates a directory (even as a gschem
subprocess). I *will* bear in mind the possibility of adding additional
library providers as I design the API spec though.
Peter
=2D-=20
Dr Peter Brett <peter AT peter-b DOT co DOT uk>
--=-=-=
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
iEYEARECAAYFAlItXUkACgkQZ7Gbq7g7vpr2cwCgg+Z9Q+oNADb+nY3qbJL7wYcg
y6cAn1VlK0sd6O+sqSZKwQQ18fhneifL
=1yvM
-----END PGP SIGNATURE-----
--=-=-=--
- Raw text -