www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/09/21:37:12

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-TCPREMOTEIP: 76.173.13.15
X-Authenticated-UID: jpd AT noqsi DOT com
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
Subject: Re: [geda-user] gsch2pcb after refdes-renum? (If implemented syncronization detail)
X-Pgp-Agent: GPGMail 2.5.2
From: John Doty <jpd AT noqsi DOT com>
In-Reply-To: <20151210021533.18841.qmail@stuge.se>
Date: Wed, 9 Dec 2015 16:36:50 -1000
Message-Id: <787A76FB-C0AB-40D5-BECC-ED82CA4D33F4@noqsi.com>
References: <20151208222204 DOT 6566ebed300ca2683dd71bc8 AT gmail DOT com> <201512082139 DOT tB8LdLuL005789 AT envy DOT delorie DOT com> <20151208230637 DOT b8eb6c22230d5a3b977c3ca1 AT gmail DOT com> <201512082229 DOT tB8MTJBj010408 AT envy DOT delorie DOT com> <alpine DOT DEB DOT 2 DOT 00 DOT 1512090417270 DOT 9035 AT igor2priv> <555EDA31-984C-4978-AE21-F74907CDC993 AT noqsi DOT com> <20151209220625 DOT ba29467498daecf1bf7b2244 AT gmail DOT com> <201512092109 DOT tB9L9p8o022465 AT envy DOT delorie DOT com> <20151210011215 DOT 14229 DOT qmail AT stuge DOT se> <201512100128 DOT tBA1SjW8000759 AT envy DOT delorie DOT com> <20151210021533 DOT 18841 DOT qmail AT stuge DOT se>
To: geda-user AT delorie DOT com
X-Mailer: Apple Mail (2.1878.6)
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

--Apple-Mail=_9A90194A-7356-4D03-8283-D0C7F21805BA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Dec 9, 2015, at 4:15 PM, Peter Stuge (peter AT stuge DOT se) [via =
geda-user AT delorie DOT com] <geda-user AT delorie DOT com> wrote:

> DJ Delorie wrote:
>>> Is there still a problem if the cyclic U1->U2->U3->U1 rename is
>>> guaranteed to be atomic?
>>=20
>> You still have two problems: First, if you accidentally run the =
script
>> twice, you end up with the wrong refdeses.
>=20
> I actually think that's a feature. :) But I agree that it's important
> to be able to tell very easily what has and has not been done.
>=20
>=20
>> Second, you need to remember the refdes the part had *the last time
>> you sync'd*.  If the layout[*] still had U14 because you last sync'd
>> yesterday and you've renamed it five times today, you're out of luck.
>=20
> That's not so bad if the history of these renames is also available.
>=20
>=20
>> This whole identity-across-projects problem is hard, especially when
>> you consider how many ways "refdes as identity" is abused in gnetlist
>> (slots, mcus, heirarchy, whatever).
>=20
> It doesn't seem too hard to me, but it will require keeping new state.
>=20
> A new file format if you will.

It seems you want a completely different tool than gschem. A specialized =
tool with a rigorous, inflexible data model rather than the =93anything =
goes=94 of geda-gaf. Nothing wrong with that, but it would be a =
different thing. I might use it for simple jobs.

> I would use a Git bundle. The data model
> seems to fit the problem very well and libgit2 has comfortable APIs.
> That it also becomes possible to process this format using scriptable
> off-the-shelf tools in a shell is a nice complementary extra. :)
>=20
>=20
> //Peter
>=20

John Doty              Noqsi Aerospace, Ltd.
http://www.noqsi.com/
jpd AT noqsi DOT com



--Apple-Mail=_9A90194A-7356-4D03-8283-D0C7F21805BA
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJWaOVDAAoJEF1Aj/0UKykRptMP/03kHhg2Wm1apC7GliAXWwiM
MUOJN5WJdZgLOx+4M660K4PQoLqWi9jz+x5LXqOT3iboJmfLVt7sgTNUzCHAMjAz
Jdzv2mcI9ucXiqP1OherIzaIeNPBrz3hwu9Xo/bwqWFF1yM3DfO6Q79zBbwDOHeW
ZTaEF/uCiXBnrUOefYB3khVZGSCA9OXjQf1uuzE38TkUUwzvOoR8LlPU+9hmitH8
0rqG/PHs0CyUlbKf00qMUWIBvSyRH+EqVM0b1QaFsqBGUEV8xiDIpXrpsn0hand+
CJHH+lQ5ybmmz6BT7ZOaqkSPyc+I4n3rg7KsUgON4lD0ru2JxjyzBCgcsUbMj4vd
2a/lamoL0JgWIJ9cqVVu+7CN08kZPtpnMPQXUpOfaURgj/HyFtbwbVAPtL9oeYzM
C6hi0Le4rj/r4r76hqv6m6FkqaDTX9N/nBIG0HJ12q8ZC58knxuMAlAZZsI2qWev
VCvd98fGedD7utPvgAPOfUl0/x0RDYJX3bj48yW6D7Ru7LfS+G2RZKV7Zk9hIjiT
EuScvYJEOIshGgQGGgQVW/G8IBuaZ0t5V3dwk325fY7yUGH76pXT3VI19LKPst+S
kS8MwFdrBnAmeST+QgSCDHdAkqtOLL3MxiX/RaXJpAqXiuQXMtNla3EFNRRCnShA
iUQRipIefwvCxrl0GN2L
=zTcJ
-----END PGP SIGNATURE-----

--Apple-Mail=_9A90194A-7356-4D03-8283-D0C7F21805BA--

- Raw text -


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