delorie.com/archives/browse.cgi | search |
DJ Delorie: ... > Yeah, but I really want to see an EDA package that integrates with the > internet :-) > > I mean, if I suggested the url git://github.com/example/library.git/ > half the people here would start begging me for it ;-) Having something on the net, I would suggest some form of caching - you don't want your schematics/pcb to be incomplete just because some server isn't up and running. And caching could be done by yourself or be triggered by button in the gui. Currently, I think it's just as easy to do the update myself, especially if you have more than a few repos. to mirror. Something like the script below could help: #!/bin/sh msg() { echo echo '############################' echo "$@" echo } Update() { dir=$1 shift if [ -d $dir ] then cd $dir for i in * do ( if test -d $i -a $i != Old then cd $i msg $dir/$i $@ fi ) done fi } Update /Net/git git pull Update /Net/cvs cvs -q update -dP Update /Net/svn svn up Update /Net/hg hg pull -u ... /// And also sym/fp's on the net poses the problem of what to do when the net file is changed. Perhaps one solution would be to include functions to copy said sym/fp to the working dir. Regards, /Karl Hammar ----------------------------------------------------------------------- Aspö Data Lilla Aspö 148 S-742 94 Östhammar Sweden +46 173 140 57
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |