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

Re: Use mongoose to test smart-http unconditionally?

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 4, 2013, 22:53 UTC
Message-ID
<xmqq38m8jkiu.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20131204222522.GA16706@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 17 quoted lines
> The rollout would be:
>
>   1. add contrib/mongoose/*
>
>   2. add test-httpd which links against mongoose, built by default in the
>      Makefile
>
>   3. convert lib-httpd/apache.conf into mongoose config as necessary
>
>   4. convert lib-httpd.sh to run test-httpd instead of LIB_HTTPD_PATH
>
>   5. delete apache.conf, LIB_HTTPD_PATH and any other apache remnants
>
>   6. default GIT_TEST_HTTPD to yes
>
> Step 3 is the part where I would anticipate trouble (i.e., finding out
> that the new server does not do everything the tests expect).

If it involves making things not tested with apache, I'd actually be less supportive for the whole plan. I thought the primary objective was to encourage people who currently are _not_ running httpd tests by making a lightweight server available out of the box, robbing an excuse "my box does not have apache installed" from them.

As long as a server supports bog standard CGI interface, smart-http should work the same way with any such server. For that reason, it should be theoretically sufficient to test with one non-apache server (i.e. mongoose) for the purpose of making sure _our_ end of the set-up works, but still...

Previous: Jeff KingNext: Jeff King
Message 9 of 10 in “Use mongoose to test smart-http unconditionally?”
  1. Duy NguyenDec 4, 2013
  2. Shawn PearceDec 4, 2013
  3. Jeff KingDec 4, 2013
  4. Jonathan NiederDec 4, 2013
  5. Duy NguyenDec 5, 2013
  6. Jeff KingDec 5, 2013
  7. Junio C HamanoDec 4, 2013
  8. Jeff KingDec 4, 2013
  9. Junio C HamanoDec 4, 2013
  10. Jeff KingDec 5, 2013

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.