Re: problem cloning via http since v1.6.6-rc0
- From
Tay Ray Chuan <rctay89@gmail.com>
- Date
- Jan 21, 2010, 04:01 UTC
- Message-ID
- <be6fef0d1001202001h4c794166y4bcf01b42f3ea1bb@mail.gmail.com>
- In-Reply-To
- <20100121023310.GB18213@onerussian.com>
Hi,
On Thu, Jan 21, 2010 at 10:33 AM, Yaroslav Halchenko <debian@onerussian.com> wrote:
Show 10 quoted lines
> * Trying 217.196.43.134... * Connected to git.debian.org (217.196.43.134) port 80 (#0) >> GET /git/pkg-exppsy/pymvpa.git/info/refs?service=git-upload-pack HTTP/1.1 > User-Agent: git/1.6.6.267.g5b159 > Host: git.debian.org > Accept: */* > Pragma: no-cache > > * The requested URL returned error: 404 > * Closing connection #0 > fatal: http://git.debian.org/git/pkg-exppsy/pymvpa.git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server?
I don't think git's at fault here, as we're getting a 404 Not Found. Could you check that the repository (the one the url points to, after taking into any url rewriting) is a bare one, ie. has structure
pkg-exppsy/
|-pymvpa.git
|-objects/
|-info/
|-refs/
|-...rather than the non-bare
pkg-exppsy/
|-pymvpa.git
|-.git
|-objects/
|-info/
|-refs/
|-...?
> as for smart vs DAV -- don't see any smart alias handling in apache > configuration (I have/had no clue about some smart http in git, just looked at > apache template and saw smart aliases -- is there smth else to check within > webserver config?)
If that's the case, I don't think it's related to your problem. (Btw, "smart" refers to the http protocol that git can use to sync your repo, via a CGI program on the server, instead of WebDAV. See git-http-backend(1) for details.)
-- Cheers, Ray Chuan