Hi Harm!

Is it possible to point GUB to a private branch of my local git-repository?

It definitely is possible. Use git as a daemon on localhost.

If yes, how would the command been spelled?

Assumptions:

 * gub is installed in ~/gub
 * there isn't a directory ~/srv
 * the git executable is /usr/bin/git
 * there is a local lilypond repository ~/lily with a branch tmptest
 * your system should be protected by a firewall that blocks git protocol 
access.

If you want to use gub to build your local branch tmptest, run something like:


   cd ~
   mkdir srv
   ln -s ../lily srv/lilypond.git

   /usr/bin/git daemon --export-all --reuseaddr --base-path=/home/gub/srv/ 
/home/gub/srv &

   cd gub
   make LILYPOND_REPO_URL=git://localhost/lilypond.git LILYPOND_BRANCH=tmptest 
lilypond

You might want to kill the git daemon after building lilypond. Or you might 
want systemd to start the git daemon whenever the machine boots. Adapt to your 
needs.

Knut

_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to