Hi Peter, On Thu, 2008-10-02 at 21:19 +0100, Peter Clifton wrote: > On Thu, 2008-10-02 at 21:44 +0200, Bert Timmerman wrote: > > Hi Peter, > > > > FWIW, another git-clone of pcb lives here: > > > > http://github.com/bert/pcb/tree/master > > > > Updated by crond every hour. > > > > Just my EUR 0.02 > > > > I can send you the crontab script if you want it. > > That would be cool. I've used git-cvsimport before, but its been a while > now. >
The script crontab uses is: #!/bin/bash export CVSROOT=:pserver:[EMAIL PROTECTED]:/cvsroot/pcb cd /to/where/the/git/repo/lives/on/your/local/disk # echo "Importing/updating from pcb.sourceforge.net" git-cvsimport -v -d :pserver:[EMAIL PROTECTED]:/cvsroot/pcb pcb # echo "Pushing all to the github.com repo" git push --all exit 0 </script> I added empty lines in between for clarity. In crontab I use the line: 10 * * * * /home/bert/cronjobs/update_pcb_AT_github.com_repo.cron So the above script is ran on the 10th minute of every hour. Things I'm not sure about/know how to do are: - get the names of the contributers in a proper form (cvs --> git) - append my own stuff without frustrating git-cvsimport, as this issue is mentioned in: man git-cvsimport > Github looks rather cool. Very web 2.0 - not sure if that is a good > thing or not ;), but there are some interesting graphs available. > I would love to have this functionality on gplgeda.org :) > I simply could not manage the various features I'm working on / local > modifications / unrelated bug fixes I come across.. without GIT, for > gEDA or PCB. > Me too :) > My current workflow is to pull the tracking repository, base a stgit > branch on top of it, and fetch / rebase to keep track of development. > > When I'm ready to push, I use git-format-patch, then apply those to my > "write" version of the CVS checkout, and checkin one by one. (I guess > there is probably some automated way, but I like the manual checking). > > Then I poke Peter B to update his tracking repository, rebase. The > patches now applied in cvs turn into empty patches. I then "stg clean" > to delete those empty patches. > I let crond/crontab poke a script :) Kind regards, Bert Timmerman. _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
