diff options
| author | picca <picca@web> | 2017-09-14 12:24:50 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2017-09-14 12:24:50 +0000 |
| commit | e8a5d4dfef9757db139d2888af324042d056a12e (patch) | |
| tree | 9e10f70c7305a1ff33a525cc7655cbec011edbdf /doc | |
| parent | bfe53a1bf347777b566b5cccb251689d9487f1c6 (diff) | |
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/forum/how_to_boostrap_the_initial_git_repo.mdwn | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/doc/forum/how_to_boostrap_the_initial_git_repo.mdwn b/doc/forum/how_to_boostrap_the_initial_git_repo.mdwn new file mode 100644 index 00000000..4493ccfe --- /dev/null +++ b/doc/forum/how_to_boostrap_the_initial_git_repo.mdwn @@ -0,0 +1,43 @@ +Hello Joey, + +here the onfiguration of my propellor repro. + + [remote "origin"] + url = git+ssh://git.debian.org/git/users/picca/propellor + fetch = +refs/heads/*:refs/remotes/origin/* + +I use this central repository to manage a bunch of computers. +The problem I is that all these computer do have acces only from this url + + [remote "origin"] + url = https://anonscm.debian.org/git/users/picca/propellor.git + fetch = +refs/heads/*:refs/remotes/origin/* + +So I can use the deploy branch trick. + +BUT + +since I have clone of the first repository (in order to push via ssh) on all of these computer (let call them locals), I need to add +the deploy branch on all of them. + +So I tryed to add this directly in the propellor configuration. + + & PropellorRepo.hasOriginUrl "https://anonscm.debian.org/git/users/picca/propellor.git" + +But when I do the spin for the first time from the locals, the url put in the /usr/local/propellor/.git/config files +is the one from the locals cloned repository which is the ssh adress and not the https one. + +So the propellor spin stop with a timeout because it tryes to git fetch with the wrong url. + + +My question is is it normal ? + + +PS: I also tryed to add + + & bootstrappedFrom (GitRepoUrl "https://anonscm.debian.org/git/users/picca/propellor.git") + +but the result was the same. + + +Cheers |
