[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Savannah-hackers-public] Configuration of bare Git repositories ove
From: |
EuAndreh |
Subject: |
Re: [Savannah-hackers-public] Configuration of bare Git repositories over Dumb HTTP protocol |
Date: |
Wed, 15 Sep 2021 13:41:46 -0300 |
Answer: there isn't any special treatment per se, only that Savannah's Git
server is honoring the clients query params, specifically the
"service=git-upload-pack" one.
$ curl -I https://git.savannah.gnu.org/git/guix.git/info/refs
HTTP/1.1 200 OK
Content-Type: text/plain
$ curl -I
https://git.savannah.gnu.org/git/guix.git/info/refs?service=git-upload-pack
HTTP/1.1 200 OK
Content-Type: application/x-git-upload-pack-advertisement
On a bare Git repository served exclusively via an HTTP server as static files,
the "service=git-upload-pack" query param gets ignored. The problem with this
is that while Git itself handles its "Dumb HTTP" protocol, libgit2 doesn't
implement it [0].
[0]: https://github.com/libgit2/libgit2/issues/4652#issuecomment-390903142
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Savannah-hackers-public] Configuration of bare Git repositories over Dumb HTTP protocol,
EuAndreh <=