[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA-dev: Parts DB API: the story so far
On Sun, 2007-12-23 at 21:47 +0000, Levente wrote:
> Bernd Jendrissek <bernd.jendrissek@gmail.com> wrote:
> > On Dec 20, 2007 6:41 PM, DJ Delorie <dj@delorie.com> wrote:
> >> I think the workflow needs to be:
> >>
> >> * user picks generic symbol for initial schematics
> >>
> >> * user picks details that work for that generic symbol.
> >
> > Excuse me for tooting my own horn here, but has anyone tried my
> > slotting patch [1]? It allows you to place generic symbols and then
> > later specialize them by *linking* (not replacing!) them to a "heavy"
> > part symbol that contains all the interesting attributes. There's
> > also a mechanism to ensure that slots are compatible with the symbols
> > you put into them - basically just a check that any attributes that
> > exist in both the light and the heavy part, match.
>
> That is what I was looking for. I have lot of dos during the holyday, but I'll
> get back to it! Thank you for pointing that out!
>
> > I'll have to work on the "slot chooser" dialog to teach it to query
> > the component library for candidate "heavy" symbols that have
> > compatible slots, instead of looking only at components that are
> > already on the schematic.
> >
> > [1] http://repo.or.cz/w/geda-gaf/berndj.git
> > There's only abstract/opamp.sym and linear/lm324-slots.sym to serve as
> > examples though!
>
> Could you please point out how can I apply that patch?
The best way would be to:
git clone git://repo.or.cz/geda-gaf/berndj.git berndj
You'll get the git repo in the berndj directory. I'm not sure what the
incantation to grab the branch directly is, but this worked for me (Git
1.5.3.6)
cd berndj
git branch --track abstract-symbols origin/berndj/abstract-symbols
git checkout abstract-symbols
This creates a local branch tracking bernd's remote branch.
I can't remember, but I vaguely recall that with older git versions, you
have to explicitly add the remote branches you want. Let me know how you
get on with these suggestions for now.
Best wishes,
--
Peter Clifton
Electrical Engineering Division,
Engineering Department,
University of Cambridge,
9, JJ Thomson Avenue,
Cambridge
CB3 0FA
Tel: +44 (0)7729 980173 - (No signal in the lab!)
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev