Mail Archives: geda-user/2015/12/09/21:37:12
--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 -