git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Does smart-http need git-daemon-export-ok?

From
TTarmigan <tarmigan+git@gmail.com>
Date
Dec 26, 2009, 16:21 UTC
Message-ID
<905315640912260821k2fb149b3je69dbea5463afaa3@mail.gmail.com>
Hi all,

Should the git-http-backend check something like git-daemon-export-ok before serving a repository? It would have been better to discuss this a month or two ago, but it's probably not too late since smart-http is still so new in released versions.

I think it's very similar to git-daemon which requires that to be set, and I think the same arguments could be made for the same kind of check. There are already parallels for the upload-pack and receive-pack services between the two.

Just as git-daemon may be invoked with --export-all, for git-http-backend we could have an environmental variable to export all repositories.

Thoughts?

Thanks, Tarmigan

Next: Junio C Hamano
Message 1 of 14 in “Does smart-http need git-daemon-export-ok?”
  1. TarmiganDec 26, 2009
  2. Junio C HamanoDec 26, 2009
  3. 1/2 Smart-http: Add tests and documentation for export-okTarmigan Casebolt, Dec 26, 2009
  4. 2/2 Smart-http: check if repository is OK to export before serving itTarmigan Casebolt, Dec 26, 2009
  5. Shawn O. PearceDec 27, 2009
  6. TarmiganDec 28, 2009
  7. Smart-http: check if repository is OK to export before serving itTarmigan Casebolt, Dec 28, 2009
  8. Shawn O. PearceDec 28, 2009
  9. TarmiganDec 28, 2009
  10. Shawn O. PearceDec 28, 2009
  11. Smart-http: check if repository is OK to export before serving itTarmigan Casebolt, Dec 28, 2009
  12. Junio C HamanoDec 29, 2009
  13. Shawn O. PearceDec 29, 2009
  14. Shawn O. PearceDec 27, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.