X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Wed, 14 Sep 2016 12:14:52 +0200 (CEST) From: Roland Lutz To: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" Subject: Re: [geda-user] Attribute namespaces (was: Can an attribute be attached to text for later inclusion in gnetlist backend?) In-Reply-To: <20160913183206.GA21178@localhost.localdomain> Message-ID: References: <20160823053301 DOT 865f671a1b40b5a422e59ce7 AT gmail DOT com> <20160824185818 DOT GD14293 AT localhost DOT localdomain> <20160831221409 DOT GA2585 AT localhost DOT localdomain> <20160906213426 DOT GA10224 AT localhost DOT localdomain> <20160913183206 DOT GA21178 AT localhost DOT localdomain> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 Precedence: bulk What makes using common "spice", "bom", and "pcb" namespaces attractive to me is that they are not defined by technical implementation details ("What's the name of the backend I use?") but by a meaningful category ("What's that attribute used for?") which is intuitively obvious to the user. On Tue, 13 Sep 2016, Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > Agreed, if the backends are compatible. I mean, e.g., that John Doty's > spice backend is not compatible with spice-sdb, IIUC. Otherwise we have > either to ensure they're compatible or to use separate namespaces. I'm not so sure about that. The spice-sdb and spice-noqsi backends aren't separate "problem domains" in the way SPICE simulation and PCB layout are; most people will probably pick one or the other and stick to it, at least within one project. So the attributes can't conflict. This could in theory be an issue with different PCB layout software, too, or even with one PCB layout software and different footprint libraries. What if someone wants to layout a schematic both in Osmond and pcb-rnd to see which software fits them best? It would be possible to address this by adding optional "flavor" specifiers to the namespace, as in pcb[osmond]:footprint= pcb[pcb-rnd]:footprint= However, I believe this is over-engineering a rare problem, and in reality the user would just have two different schematics, just like they would now.