kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #10081
Re: project template cloning
On 04/25/2013 01:20 PM, Dick Hollenbeck wrote:
>>
>>
>> I think the vendor prefix is a good idea, so I think a file rename would be the best
>> option here. In that case, the ti-stellaris-boosterpack40_min template also would need
>> renaming.
>>
>> Thanks for all of the good work :)
>
>
> Henry,
>
> We are in agreement on the best fix. However the issue is not quite so easily resolved,
> because the schematic contains the name of the cache library and also the name of
> launchpad.lib
>
> So we have to be careful that the renaming only touches some names, and that those files
> that *contain* names, still point to valid names after the renaming process.
I am wondering about the renaming process and the integrity of the cache lib reference
within the *.sch.
Confusion is at hand:
1) Will the schematic load fine without the cache lib being accurate?
2) Or must the cache lib ref within the *.sch be removed for a template?
This is why testing is needed, and hopefully some guidelines will fall out of your findings.
Thanks so much. BTW, my confusion is a constant.
Dick
>
> $ grep launchpad *.sch
>
> will show what I mean.
>
> So this makes it more than 6 minutes, for 2 templates.
>
> $ bzr co lp:~kicad-lib-committers/kicad/library/
>
> # to rename:
> $ bzr mv src dst
>
> $ bzr diff > lib.patch
>
>
> If you want to do this, that would be helpful.
>
> verify that lib.patch is sensible by manually testing the templates, not only for
> renaming, but actual use. Sometimes a complaint is given when you go to load a schematic
> if it references a library it cannot find. I have seen that schematic libraries in the
> CWD are always found when referenced. So a little testing is what I am hoping for from
> you before you make the patch.
>
> I will commit your patch if you are unable to.
>
> Dick
>
>
>
References