Seite 1 von 1

Problem beim Auschecken von buildsystem-cs per https

Verfasst: Dienstag 16. Oktober 2012, 16:41
von schufti
da ich mit meiner Build-Maschine hinter einem Firewall/Proxy sitze und nur http(s) Zugriff nach aussen habe, muß ich auf gitoriuous per https zugreifen, was bisher auch gut funktionierte.

Momentan bekomme ich dabei leider einen Fehler, von dem ich nicht weiß ob er durch den https Zugriff verursacht oder generell vorhanden ist ....

Code: Alles auswählen

git clone https://git.gitorious.org/neutrino-hd/buildsystem-cs.git seife
Cloning into seife'...
warning: remote HEAD refers to nonexistent ref, unable to checkout.

Re: Problem beim Auschecken von buildsystem-cs per https

Verfasst: Mittwoch 17. Oktober 2012, 10:01
von seife

Code: Alles auswählen

seife@susi:/dev/shm> git clone https://git.gitorious.org/neutrino-hd/buildsystem-cs.git seife
Cloning into 'seife'...
seife@susi:/dev/shm> ls seife
ls: cannot access seife: No such file or directory
Ich vermute, da musst du mal beim Gitorious support nachfragen.

Re: Problem beim Auschecken von buildsystem-cs per https

Verfasst: Donnerstag 18. Oktober 2012, 09:11
von schufti
ok, ich dachte da gibt es ev. so eine clean, sync & rebuild index funktion o.ä. die man als admin anstossen kann....

interessanter weise geht ein pull über http ja problemlos.

Re: Problem beim Auschecken von buildsystem-cs per https

Verfasst: Donnerstag 18. Oktober 2012, 11:39
von schufti
On Thu, Oct 18, 2012 at 12:45:08AM -0700, schufti wrote:
> Hi,
> some time in the past I must have been able to clone repos via https since
> my dev. machine is behind a natting firewall-proxy allowing http(s) access
> only. And up to now I didn't experience any problem pulling from these
> repos. But recently I had to clone a repo to a new machine and suddenly I
> was presented with the following message:
>
> git clone https://git.gitorious.org/neutrino-hd/b ... tem-cs.git seife
> > Cloning into 'seife'...
> > warning: remote HEAD refers to nonexistent ref, unable to checkout.

The issue here is that our Git-over-HTTP service uses the "dumb" HTTP
protocol; which pulls down commits one by one. The first thing that
this service does is to try to locate the HEAD of the repository;
which should point to a valid ref (branch). It looks like the HEAD
reference on this repository points to a non-existing ref.

The owner of the repository should be able to change which branch HEAD
points to in the repository using the Gitorious UI.


--

Cheers,
- Marius

Re: Problem beim Auschecken von buildsystem-cs per https

Verfasst: Donnerstag 18. Oktober 2012, 13:19
von seife
HEAD zeigt auf master, und es gibt nur einen Branch, deswegen glaube ich nicht, dass ich da noch was tun kann.
Ich habe aber gerade etwas gepushed, vielleicht triggert das ja auf dem Server irgendwas was das fixt.

Re: Problem beim Auschecken von buildsystem-cs per https

Verfasst: Donnerstag 18. Oktober 2012, 19:15
von schufti
nein, leider ......

ich melde das mal weiter.