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

[PATCH 0/3] t: fix tests with NO_GITWEB=YesPlease

From
Patrick Steinhardt <ps@pks.im>
Date
Dec 27, 2024, 12:10 UTC
Message-ID
<20241227-b4-pks-meson-wo-gitweb-v1-0-14ca8515bb3b@pks.im>
Hi,

this small patch series fixes an issue in case tests are executed for a Git distribution built with NO_GITWEB=YesPlease. The issue exists for a long time already, but I discovered it due to an issue with Meson where we accidentally didn't build gitweb when its availability is being auto-discovered.

Thanks!
Patrick
---
Patrick Steinhardt (3):
      GIT-BUILD-OPTIONS: sort variables alphabetically
      GIT-BUILD-OPTIONS: wire up NO_GITWEB option
      meson: enable auto-discovered "gitweb"
 GIT-BUILD-OPTIONS.in                | 71 +++++++++++++++++++------------------
 Makefile                            | 71 +++++++++++++++++++------------------
 contrib/buildsystems/CMakeLists.txt | 71 +++++++++++++++++++------------------
 meson.build                         | 63 ++++++++++++++++----------------
 t/lib-gitweb.sh                     |  5 +++
 t/test-lib.sh                       |  1 +
 6 files changed, 147 insertions(+), 135 deletions(-)

--- base-commit: 76cf4f61c87855ebf0784b88aaf737d6b09f504b change-id: 20241227-b4-pks-meson-wo-gitweb-b0e27379dcc6

Next: Patrick Steinhardt
Message 1 of 4 in “t: fix tests with NO_GITWEB=YesPlease”
  1. 0/3 t: fix tests with NO_GITWEB=YesPleasePatrick Steinhardt, Dec 27, 2024
  2. 2/3 GIT-BUILD-OPTIONS: wire up NO_GITWEB optionPatrick Steinhardt, Dec 27, 2024
  3. 1/3 GIT-BUILD-OPTIONS: sort variables alphabeticallyPatrick Steinhardt, Dec 27, 2024
  4. 3/3 meson: enable auto-discovered "gitweb"Patrick Steinhardt, Dec 27, 2024

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.