[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GUB with local git-repo?
From: |
Knut Petersen |
Subject: |
Re: GUB with local git-repo? |
Date: |
Fri, 14 Jun 2019 00:31:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
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
- Re: GUB with local git-repo?, (continued)
- Re: GUB with local git-repo?, Thomas Morley, 2019/06/11
- Re: GUB with local git-repo?, Thomas Morley, 2019/06/11
- Re: GUB with local git-repo?, David Kastrup, 2019/06/11
- Re: GUB with local git-repo?, Thomas Morley, 2019/06/11
- Re: GUB with local git-repo?, Thomas Morley, 2019/06/11
- Message not available
- Re: GUB with local git-repo?, Thomas Morley, 2019/06/11
Re: GUB with local git-repo?,
Knut Petersen <=
- Re: GUB with local git-repo?, Thomas Morley, 2019/06/16
- Re: GUB with local git-repo?, Knut Petersen, 2019/06/16
- Re: GUB with local git-repo?, Thomas Morley, 2019/06/18
- Re: GUB with local git-repo?, Knut Petersen, 2019/06/18
- Re: GUB with local git-repo?, Thomas Morley, 2019/06/20
- Re: GUB with local git-repo?, Thomas Morley, 2019/06/20
- Re: GUB with local git-repo?, Knut Petersen, 2019/06/24