OpenVZ Forum


Home » Mailing lists » Users » openvz git repo http broken for 2.6.24 - info/refs missing
openvz git repo http broken for 2.6.24 - info/refs missing [message #27103] Thu, 07 February 2008 13:38 Go to next message
Josip Rodin is currently offline  Josip Rodin
Messages: 14
Registered: November 2007
Junior Member
From: openvz.org
Hi,

% git clone http://git.openvz.org/pub/linux-2.6.24-openvz linux-2.6.24
Initialized empty Git repository in /usr/src/linux-2.6.24/.git/
Cannot get remote repository information.
Perhaps git-update-server-info needs to be run there?

This happens because the file
http://git.openvz.org/pub/linux-2.6.24-openvz/info/refs
is missing. It's not missing for any of the other repositories,
so it appears to be a genuine problem.

Please fix it. TIA.

-- 
     2. That which causes joy or happiness.
Re: openvz git repo http broken for 2.6.24 - info/refs missing [message #27144 is a reply to message #27103] Mon, 11 February 2008 09:16 Go to previous messageGo to next message
Alexey Dobriyan is currently offline  Alexey Dobriyan
Messages: 195
Registered: August 2006
Senior Member
From: openvz.org
> git clone http://git.openvz.org/pub/linux-2.6.24-openvz linux-2.6.24
> Initialized empty Git repository in /usr/src/linux-2.6.24/.git/
> Cannot get remote repository information.
> Perhaps git-update-server-info needs to be run there?

> This happens because the file
> http://git.openvz.org/pub/linux-2.6.24-openvz/info/refs
> is missing. It's not missing for any of the other repositories,
> so it appears to be a genuine problem.
>
> Please fix it. TIA.

Can't you use native git protocol? That way you won't have to redownload
whole archive every time someone does git-repack on git.openvz.org

To switch to git protocol without redownloading change "http" to "git"
in .git/config -- it seems to work.
Re: openvz git repo http broken for 2.6.24 - info/refs missing [message #27145 is a reply to message #27103] Mon, 11 February 2008 09:27 Go to previous messageGo to next message
Pavel Emelianov is currently offline  Pavel Emelianov
Messages: 1149
Registered: September 2006
Senior Member
From: openvz.org
Josip Rodin wrote:
> Hi,
> 
> % git clone http://git.openvz.org/pub/linux-2.6.24-openvz linux-2.6.24
> Initialized empty Git repository in /usr/src/linux-2.6.24/.git/
> Cannot get remote repository information.
> Perhaps git-update-server-info needs to be run there?
> 
> This happens because the file
> http://git.openvz.org/pub/linux-2.6.24-openvz/info/refs
> is missing. It's not missing for any of the other repositories,
> so it appears to be a genuine problem.
> 
> Please fix it. TIA.
> 

Do not use http for cloning, it will suffer not only from
the refs file missing, but from anything it doesn't like. E.g.
tight beancounters limit (we hold git repo inside VE), slow
connection, etc. Use git protocol instead.

Thanks,
Pavel
Re: openvz git repo http broken for 2.6.24 - info/refs missing [message #27148 is a reply to message #27144] Mon, 11 February 2008 11:15 Go to previous messageGo to next message
Josip Rodin is currently offline  Josip Rodin
Messages: 14
Registered: November 2007
Junior Member
From: openvz.org
On Mon, Feb 11, 2008 at 12:16:56PM +0300, Alexey Dobriyan wrote:
> > git clone http://git.openvz.org/pub/linux-2.6.24-openvz linux-2.6.24
> > Initialized empty Git repository in /usr/src/linux-2.6.24/.git/
> > Cannot get remote repository information.
> > Perhaps git-update-server-info needs to be run there?
> 
> > This happens because the file
> > http://git.openvz.org/pub/linux-2.6.24-openvz/info/refs
> > is missing. It's not missing for any of the other repositories,
> > so it appears to be a genuine problem.
> >
> > Please fix it. TIA.
> 
> Can't you use native git protocol? That way you won't have to redownload
> whole archive every time someone does git-repack on git.openvz.org
> 
> To switch to git protocol without redownloading change "http" to "git"
> in .git/config -- it seems to work.

Oh, I did use that later, but I still reported the lack of HTTP - because
I'd also like to use it in a place where it's a pain to let through another
protocol through the firewall (and 80/tcp is already there).

-- 
     2. That which causes joy or happiness.
Re: Re: openvz git repo http broken for 2.6.24 - info/refs missing [message #27153 is a reply to message #27148] Mon, 11 February 2008 12:13 Go to previous message
Alexey Dobriyan is currently offline  Alexey Dobriyan
Messages: 195
Registered: August 2006
Senior Member
From: openvz.org
On Mon, Feb 11, 2008 at 12:15:31PM +0100, Josip Rodin wrote:
> On Mon, Feb 11, 2008 at 12:16:56PM +0300, Alexey Dobriyan wrote:
> > > git clone http://git.openvz.org/pub/linux-2.6.24-openvz linux-2.6.24
> > > Initialized empty Git repository in /usr/src/linux-2.6.24/.git/
> > > Cannot get remote repository information.
> > > Perhaps git-update-server-info needs to be run there?
> > 
> > > This happens because the file
> > > http://git.openvz.org/pub/linux-2.6.24-openvz/info/refs
> > > is missing. It's not missing for any of the other repositories,
> > > so it appears to be a genuine problem.
> > >
> > > Please fix it. TIA.
> > 
> > Can't you use native git protocol? That way you won't have to redownload
> > whole archive every time someone does git-repack on git.openvz.org
> > 
> > To switch to git protocol without redownloading change "http" to "git"
> > in .git/config -- it seems to work.
> 
> Oh, I did use that later, but I still reported the lack of HTTP - because
> I'd also like to use it in a place where it's a pain to let through another
> protocol through the firewall (and 80/tcp is already there).

http should work fine now.
Previous Topic: problems wit 2.6.24 from git
Next Topic: AW: problems wit 2.6.24 from git
Goto Forum:
  


Current Time: Sat Nov 17 19:40:10 GMT 2018