[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA: Addition in new DRC backend



Carlos Nieves Onega <cnieves@iespana.es> writes:

   (Example: gnetlist --include config)

this is fine if configuration is expressed in one file.  here is another
idea: why not add "--load FILE" support?  short form would be "-l FILE".
this allows easy layering of configuration information from the command
line, something like:

  gnetlist -l site.config -l project.config -l part.config ...

"--load" options would be processed left to right.

the alternative is for your configuration reading process to reimplement
some kind of recursive "include" facilities -- not recommended because
now you have to deal w/ operating system quirks wrt filenames, relative
paths, etc.  (i'm working w/ vms at the moment and, believe me, these
issues are a royal PITA -- friends don't let friends write "include".)

thi