ftp.delorie.com/archives/browse.cgi | search |
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=X5eLMZLHil9RhZmA4PmKqyMrdNxeoQbiNwCqjtpj7HE=; | |
b=f040Om7nJ3vVYR9cZU5h1hvSc4Nw9tFcPMRPXW80C64+OVZz7n1/ZmzT9wVD8KcOVv | |
08lyfXGJcQST4RHRkKGxu+MKUVYn1tGQsh58h4u198/6XYjjy1vB4SEoufA/++3vqOWP | |
I7jcI/MyqHzhhzSYzCo2HHF0PrZ54mh4fccEp4xs39CmFEiCCsnktuT6YYVK42oCo4zA | |
/wIJKw/hmxzw6da1RO5LXQR8d4s2VQj3KwFS1YeMT2RXI/HeriB+iZcqoZAcJx24lQsi | |
PZmer22vQMaRVIJSzNpYjNG+jmgbO//viUPZ690RowOzCca66qggA4ErPa5PmXXVhPgF | |
SZyA== | |
X-Received: | by 10.194.243.201 with SMTP id xa9mr10729493wjc.122.1449730527420; |
Wed, 09 Dec 2015 22:55:27 -0800 (PST) | |
Date: | Thu, 10 Dec 2015 07:55:25 +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: | <20151210075525.5e4479e0d848d28747795ab8@gmail.com> |
In-Reply-To: | <201512100128.tBA1SjW8000759@envy.delorie.com> |
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> | |
<201512100128 DOT tBA1SjW8000759 AT envy DOT delorie DOT com> | |
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 Wed, 9 Dec 2015 20:28:45 -0500 DJ Delorie <dj AT delorie DOT com> wrote: > > > Is there still a problem if the cyclic U1->U2->U3->U1 rename is > > guaranteed to be atomic? > > You still have two problems: First, if you accidentally run the script > twice, you end up with the wrong refdeses. 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. > ... Yes it must be executed exactly once and it must be possible to figure which refdeses changed. Execute once would be possible with an update counter in *.pcb file or maybe store information in an intermediate file. If information for forward annotation is stored in a file it might be possibel to use this to figure out which refdes change, otherwise I guess gschem must store the information somewhere or send it by some signalling mechanism for example dbus. Nicklas Karlsson
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |