X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f Date: Wed, 9 Sep 2015 13:45:47 -0400 Message-Id: <201509091745.t89Hjlab021347@envy.delorie.com> From: DJ Delorie To: geda-user AT delorie DOT com In-reply-to: (message from John Doty on Wed, 9 Sep 2015 07:49:09 -0600) Subject: Re: [geda-user] Desired changes (was:"New experimental netlist features") References: <55E8773B DOT 9000902 AT jump-ing DOT de> <55E8831A DOT 8050307 AT jump-ing DOT de> <55E891FA DOT 2010509 AT jump-ing DOT de> <201509032030 DOT t83KU1Yq017045 AT envy DOT delorie DOT com> <55E97A3E DOT 2070402 AT jump-ing DOT de> <69B8B3F4-A6E4-43E9-9055-C63A5D6A3707 AT noqsi DOT com> <43CA04C5-47B7-4DA4-8005-3A2D4E9D0E47 AT noqsi DOT com> <20150908162514 DOT 43142577ec15e48c50950a18 AT gmail DOT com> <20150908182504 DOT 196a11571c68bc63ef8e4c27 AT gmail DOT com> <11875D68-7D82-48AB-8850-C5C3BCCF64EC AT noqsi DOT com> <201509081853 DOT t88IrAak001304 AT envy DOT delorie DOT com> <307FD65! ! 5-69A7-4486-B466-B5FB92CBB1C2 AT noqsi DOT com> <201509082033 DOT t88KXsFZ005209 AT envy DOT delorie DOT com> 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 > > This is not an argument for integrated tools, just an argument that > > using a toolkit so you don't have to anticipate user's needs means you > > might end up not building a robust enough toolkit. We took a shortcut > > in gschem because it met one person's needs, and it's causing problems > > now. > > What do you mean? I mean hardcoding "our library is a directory" in gschem was shortsighted. We need to take that out and replace it with something more flexible. > > We need to be willing to tweak the toolkit model if needed, if > > we see that it's not as usable as it could be. > > The high road to tweaking a toolkit is often to add new tools. The first step in this case is changing the exsting tools so that a new tool can be added. We need to replace the "library is a directory" code in the existing tools with something that lets us add a "this tool provides our library". > Perhaps, although the advantage of using directories as packages is > that they are transparent and accessible to other tools and even > simple shell commands. I'm not saying that libraries can't be local directories. I'm saying that we need a way to enable more than just local directories. Consider a library plugin that says "pull symbols from gedasymbols" - obviously, gedasymbols is not a local directory, it's a web site. The user gets to choose between the convenience of local text files and the convenience of pulling from elsewhere as needed. Similarly for a corporate SQL database, or a remote connection to Digikey's API. At the moment, we don't give them that choice. > > (in my blue-sky, the interface between apps and the CDM was a remote > > query, where you send "what you have" and it sends back what > > alternatives remain, or sends you the component info you selected) > > Are you proposing putting this knowledge in the tool? No, the knowledge would be in the data. The tool merely passes the request to a source-specific handler that interprets the request in terms of the data available. I didn't put a lot of thought into that part, because I wanted to leave it up to the backend developers of the tool to decide how to represent their data to the user.