www.delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2015/12/10/01:49:46

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=date:from:to:subject:message-id:in-reply-to:references:mime-version
:content-type:content-transfer-encoding;
bh=O9+IcloQrXI8bK0tlW9NjzYmoZddxyweyxbZLHItuvY=;
b=qPC3SDYpBNoFKvAST5yIbnpcKop68wYCdmoqsFEQT9VWU2saZAN4MWYZ0+Tx+eALo3
tBJSIGMoZELV4GND9wlqPZeoRVaQSI3B4q/JJ5SqtIe/ZNtjv2KAQXKf0nc2yjlsqFjD
f1oLk+W+czU5Yy+yXuiqx8VXtgky9pNc/yTC94vFVtCHNTduzwxLF/aDg/9K6pnuxi4o
8QQhQxD01Xocxfq5BMtIJVc585yrv2HSW/X3ioRn1vcodVojeSAZ3ii5vyhAX8R3Mdzc
BNrWrWjY1vVzFkjQAFpkumjX/OZy+0oWURpsqTuWzDTSW5Ce9VnZ2Nr/wNIi+TwcV9js
qO9A==
X-Received: by 10.194.133.100 with SMTP id pb4mr7627811wjb.133.1449730147954;
Wed, 09 Dec 2015 22:49:07 -0800 (PST)
Date: Thu, 10 Dec 2015 07:49:02 +0100
From: "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com>
To: geda-user AT delorie DOT com
Subject: Re: [geda-user] gsch2pcb after refdes-renum? (If implemented
syncronization detail)
Message-Id: <20151210074902.d7e4a6a01c00ec84fab29ceb@gmail.com>
In-Reply-To: <20151210011215.14229.qmail@stuge.se>
References: <20151208205451 DOT bb2478f8722e1a885822689d AT gmail DOT com>
<201512082019 DOT tB8KJOlP030874 AT envy DOT delorie DOT com>
<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>
X-Mailer: Sylpheed 3.5.0beta1 (GTK+ 2.24.25; x86_64-pc-linux-gnu)
Mime-Version: 1.0
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

On Thu, 10 Dec 2015 02:12:15 +0100
"Peter Stuge (peter AT stuge DOT se) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> wrote:

> DJ Delorie wrote:
> > Forward annotation of every other attribute works just fine.  It's
> > changing the refdes that's a problem, because gaf treats the refdes
> > specially.
> 
> Is there still a problem if the cyclic U1->U2->U3->U1 rename is
> guaranteed to be atomic?
> 
> As in, it's not three rename operations, but a single rename
> operation with three affected elements?
> 
> 
> //Peter

Yes it should be atomic without stuck in the middle and executed exactly once and then everything would be fine.

If updates are stored in a file, I think the *.cmd file there just have to be some way to detect it have already been executed once before and everything would be fine. Execute the changes twice and refdes may be totally screwed up.

I guess one solution would be an attribute in *.pcb file to count every update in pcb. To write back information into a separate file have the small problem *.pcb and the separate file must both be written as an atomic operation.

Nicklas Karlsson

- Raw text -


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