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

Re: [PATCH v1] git-instaweb: Add Python builtin http.server support

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 24, 2019, 20:52 UTC
Message-ID
<xmqqpnslhj79.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20190124161331.25945-1-arti.zirk@gmail.com>
Arti Zirk <arti.zirk@gmail.com> writes:
Show 5 quoted lines
> With this patch it is possible to launch git-instaweb by using
> Python 3 http.server CGI handler via `-d python` option.
>
> git-instaweb generates a small wrapper around the http.server
> (in GIT_DIR/gitweb/) ...

I know this follows an existing pattern (psgi and webrick also writes nontrivial amount of code inside GIT_DIR/gitweb), but can we somehow clean it up so that we can do instaweb out of a repository without writing so much into it first, before adding yet another one to make the situation even worse, I wonder?

For now I'll queue this so that we won't lose sight of the topic, but I am not exactly enthused.

Previous: Arti ZirkNext: brian m. carlson
Message 2 of 11 in “git-instaweb: Add Python builtin http.server support”
  1. git-instaweb: Add Python builtin http.server supportArti Zirk, Jan 24, 2019
  2. Junio C HamanoJan 24, 2019
  3. brian m. carlsonJan 25, 2019
  4. Junio C HamanoJan 25, 2019
  5. Arti ZirkJan 25, 2019
  6. brian m. carlsonJan 25, 2019
  7. Junio C HamanoJan 28, 2019
  8. git-instaweb: Add Python builtin http.server supportArti Zirk, Jan 28, 2019
  9. brian m. carlsonJan 28, 2019
  10. Arti ZirkJan 28, 2019
  11. Junio C HamanoJan 28, 2019

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.