Mail Archives: geda-user/2016/07/06/14:28:04
On Wed, 6 Jul 2016, James Battat (jbattat AT wellesley DOT edu) [via geda-user AT delorie DOT com] wrote:
>
>> (btw, I'm adding better project file support in pcb-rnd mainly for this use case, see my mail from a few hours ago)
>
> Yes, it was your email that prompted my question!
Ahh, cool! Then the answer in terms of pcb-rnd and project files:
A. mostly the same, make a repo and put in svn externs (or something
similar in your favorite VCS). The only diff is that then create a project
file that references the sch and pcb files and configures gsch2pcb-rnd and
pcb-rnd to use the local libs (before the user and system configured
ones). This obviously doesn't solve gschem's side, as gschem doesn't
understand the project file (any scheme wizard volunteer?).
B. after a fruitful chat with dj on IRC, I see another potential option. I
can imagine a project file that lists some sort of URLs instead of paths
for the project and for the libs (but the settings part and metadata are
the same). The other party gets this file and runs an utility that
downloads/fetches/checks out all the referenced URLs into local files and
writes back the local paths to the project file. From this point on, we
are back at solution A, only we didn't let the VCS collect the parts, but
wrote a tool. Pro: multiple different methods of collecting can be
configured (wget from anywhere, wget from gedasymbols, cvs from
gedasymbols, svn checkut, git clone, etc.). Con: needs a downloader tool
- extra complexity for the user, extra work.
C. in theory all the existing tools could do what the downloader tool does
in B., e.g. pcb-rnd and gsch2pcb-rnd directly using the footprint lib url
found in the project file. I would hate this setup, teaching all tools to
so this task indeed sounds like too much integration. The only benefit
compared to B is that the complexity of the external downloader tool is
now burried, hidden and potentially duplicated in other tools - if that's
a benefit.
(These are not yet possible as I have not yet finished project file
support; at least A. will be possible within a week or two, then doing B
is very fast, if anyone needs it.)
- Raw text -