delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2014/03/11/07:12:53

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type;
bh=T3dDba7TnKf1uZppPBu4WtkltiNVHAyabDHwk/ZRdsU=;
b=apzWmyvgksTBV9G/Wv3aMTVlic5xuYkF7N3kzBoGXUM4YK2Xyyp42bEJNqCl6KqY9X
Hb76KdDumuO3zKCnVGx05G9RBsp0Q98WTqbx45LBzWj3r516Q1LJzMjm4XIKiyE+uwzJ
Cz5DKf0b8eQn78SXEgDvEWJW7qFxc99JxyjzplSq4hRk3ZaDO1m8/Xxb7szVLEAGVpDB
mrt8LgxUQhH29I0UCNqw3EteloJFR7mb10OKaDnp9aFXe+DsBwf2xs1BM/NMjDCgchGZ
ozIWENLvcddUNWUgGSHSMnJC9sOXfTSS7PTiltp9wHHV6NqlXTuNafqV+gFDBTKur3xD
n5hQ==
X-Gm-Message-State: ALoCoQn2uUZB7qE+wL3VCmYng9Ls5PlzxFxYHymJh4XiaETjh5XEDAsH0bCzHzLI2Vs2mvnIi1hH
X-Received: by 10.180.105.65 with SMTP id gk1mr2662612wib.12.1394536358670;
Tue, 11 Mar 2014 04:12:38 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <CAG4ve9+-U3Gd+=bGookG__g7OQk-d2uF2btjvyUh89s_EkJr_g@mail.gmail.com>
References: <CAG4ve9LgHNoVZoGaGgF67tadJ_n=L6Uy1g=UPPrkM0fL6Rgufw AT mail DOT gmail DOT com>
<20140127234944 DOT 924148045B78 AT turkos DOT aspodata DOT se> <CAG4ve9+3jhFJ1Cr6CLUyLX_y02uigJECiUCwxjUWdP=heVocqg AT mail DOT gmail DOT com>
<20140128201110 DOT DF7D78045B78 AT turkos DOT aspodata DOT se> <20140129072550 DOT GA24560 AT localhost DOT localdomain>
<CAG4ve9+v9QxNRaPSFkmGfr6bKsv7km-Gt_gwXF7Eh4TX+AmNug AT mail DOT gmail DOT com>
<CAOP4iL2JBUdF93kZF-iQ9Rv+VTN3iXoT+6C4LoBi5qaMxof=sA AT mail DOT gmail DOT com>
<CAG4ve9+QsUf=nVXPe-f3VddGiqHn8sjZUJNkdu3QV1cOQDWiAg AT mail DOT gmail DOT com>
<86CABBE6-EE80-4347-B7AA-3F5A8DA4C658 AT noqsi DOT com> <CAG4ve9LX0mYk2a1zpfWJJC=OP5Weq9pt3PF7_Nqx5vX4wpR=Bg AT mail DOT gmail DOT com>
<1394402434 DOT 2151 DOT 28 DOT camel AT AMD64X2 DOT fritz DOT box> <20140309235005 DOT 783608020170 AT turkos DOT aspodata DOT se>
<531D222C DOT 8060101 AT ecosensory DOT com> <20140310103056 DOT E1B1D8020170 AT turkos DOT aspodata DOT se>
<CAGRhJMajnGHi8WembiDtBPV9V8E0hXOUgaDoWXHyQ-BMXNiMYg AT mail DOT gmail DOT com> <CAG4ve9+-U3Gd+=bGookG__g7OQk-d2uF2btjvyUh89s_EkJr_g AT mail DOT gmail DOT com>
From: Joshua Lansford <joshua DOT lansford AT laserlinc DOT com>
Date: Tue, 11 Mar 2014 07:12:17 -0400
Message-ID: <CAGRhJMbtRGq0P2aBu=HEuXV0=spoQVxFqTspsOKisTHY-+f1_Q@mail.gmail.com>
Subject: Re: [geda-user] identical symbol names
To: geda-user AT delorie DOT com
Reply-To: geda-user AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-user AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--f46d0442708c49082a04f452cca8
Content-Type: text/plain; charset=ISO-8859-1

>
>
>> my 2 cents.
>> Create an external perl, python, eh... fortran ... script which symlinks
>> all the symbols into the same directory with a new symbol name of
>>  "<date>.<username>.<orignalName>.sym"  This puts each contributor's in
>> their own user space, allows usage of new symbols without breaking old
>> schematics and doesn't require any code change in gschem.  You can then
>> filter by date or contributor in gschem.
>>
> If symbols (sources  of symlinks) will be changed? Schematics will be
> broken.
> Therefore need to write a script that will copy the characters in the
> current directory, as suggested by Karl.
> I made a similar script in C that copies are not in the current directory,
> but in the current file :)))
>
>
Yes.  I thought of that right after I hit send.  Instead of linking
individual files to the cvs checkout folder, link to unmodified versions of
the file from a previous run of the script. If such a copy does not exist,
don't create a link create a copy.  Similar to the way dirvish works.  The
idea is once you run the script, the time stamped files will never change.
 If you want an updated version then you need to grep replace on your
schematic to update the date stamp of the symbols.

>> Would people be satisfied with that ?
Can't link to the cvs folder due to the problem svetonomer mentioned.
~Joshua

--f46d0442708c49082a04f452cca8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddi=
ng-left:1ex">

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><div=
 class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(20=
4,204,204);padding-left:1ex">

<br><div dir=3D"ltr">my 2 cents.<div>
Create an external perl, python, eh... fortran ... script which symlinks al=
l the=A0symbols=A0into the same directory with a new symbol name of =A0&quo=
t;&lt;date&gt;.&lt;username&gt;.&lt;orignalName&gt;.sym&quot; =A0This puts =
each=A0contributor&#39;s=A0in their own user space, allows usage of new sym=
bols without breaking old schematics and doesn&#39;t require any code chang=
e in gschem. =A0You can then filter by date or=A0contributor=A0in gschem.<s=
pan></span></div>


</div></blockquote></div><div>If symbols (sources=A0 of symlinks) will be c=
hanged? Schematics will be broken.<br><span lang=3D"en"><span>Therefore nee=
d to</span> <span>write a</span> <span>script that will</span> <span>copy t=
he characters</span> <span>in</span> <span>the current directory</span><spa=
n>,</span> <span>as suggested by</span> <span>Karl.</span> <br>


<span>I made</span> <span>a similar script</span> <span>in C</span> <span>t=
hat copies</span> <span>are not</span> <span>in</span> <span>the current di=
rectory</span><span>, but in the</span><span> current file</span> <span>:)<=
/span></span>))<br>


</div><div>=A0</div></div></div></div></blockquote><div>Yes. =A0I thought o=
f that right after I hit send. =A0Instead of linking individual files to th=
e cvs checkout folder, link to unmodified versions of the file from a previ=
ous run of the script. If such a copy does not exist, don&#39;t create a li=
nk create a copy. =A0Similar to the way dirvish works. =A0The idea is once =
you run the script, the time stamped files will never change. =A0If you wan=
t an updated version then you need to grep replace on your schematic to upd=
ate the date stamp of the symbols.</div>

<div><br></div><div>&gt;&gt;=A0<span style=3D"font-family:arial,sans-serif;=
font-size:13px">Would people be satisfied with that ?</span></div><div>Can&=
#39;t link to the cvs folder due to the problem svetonomer mentioned.</div>

<div>~Joshua</div></div></div></div>

--f46d0442708c49082a04f452cca8--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019