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

[PATCH 0/8] Miscelanous gitweb improvements from 'Gitweb caching v5' by J.H.

From
Jakub Narebski <jnareb@gmail.com>
Date
Jan 30, 2010, 22:30 UTC
Message-ID
<1264890645-28310-1-git-send-email-jnareb@gmail.com>
This series of patches consist of improved and reordered, and rebased early
parts (1-7) of "[PATCH 0/9] Gitweb caching v5" thread by John 'Warthog9'
Hawley.  Those patches are also available from
  git://git.kernel.org/pub/scm/git/warthog9/gitweb.git gitweb-ml-v5

I have added signoff where it was missing, and changed all authorship of patches by J.H. to use @kernel.org email address.

Pull request:
~~~~~~~~~~~~~
The following changes since commit 3a985c27fe8bb9ed2fa9580a27c4b4dd7c7192ea:
  Junio C Hamano (1):
        Update draft release notes to 1.7.0
are available in the git repository at:
  git://repo.or.cz/git/jnareb-git.git gitweb/gitweb-ml-v5
Table of contents:
~~~~~~~~~~~~~~~~~~
 [PATCH 1/8] gitweb: Make running t9501 test with '--debug' reliable and usable
 [PATCH 2/8] gitweb: Load checking
 [PATCH 3/8] gitweb: Makefile improvements
 [PATCH 4/8] gitweb: Check that $site_header etc. are defined before using them
 [PATCH 5/8] gitweb: add a get function to compliment print_local_time
 [PATCH 6/8] gitweb: add a get function to compliment print_sort_th
 [PATCH 7/8] gitweb: Add optional extra parameter to die_error, for extended explanation
 [PATCH 8/8] gitweb: Add an option to force version match

First patch in series is my addition, made to be able to run t9501 test in 'debug' mode without it screwing terminal due to dumping (binary!) snapshot to it. All patches in series passes t9500, t9501 and t9502; it allowed to find bugs in their implementation.

I have reordered patches so those that are less controversial and more ready to be applied come first, and those that are a bit controversial and perhaps less ready later (and also later those patches that introduce new feature without any user for it).

The patches 5 and 6 "add a get function" introduce new format_* functions which do not have yet any user in gitweb.

Patch 7 "optional extra parameter to die_error" is used only in patch 8, but it would be I think good feature to have anyway.

In patch 8 the $git_versions_must_match variable is again set to 0 (off) by
default; Pasky's complaint in
  Message-ID: <20100124215924.GA9553@machine.or.cz>
  http://permalink.gmane.org/gmane.comp.version-control.git/137922
made me notice (see my reply to it) that it could be very hard to explain
how to setup gitweb to turn this feature off, in some rare cases.  So it is
again off, and with more detailed explanation of an error.
Note that like 'Gitweb caching v5' thread this series is missing
  gitweb: Optionally add "git" links in project list page
that was present in 'Gitweb caching v2' and 'Miscelanous gitweb
improvements from J.H.' threads.
Diffstat:
~~~~~~~~~
 Makefile                                 |   65 +++------------
 gitweb/Makefile                          |  129 ++++++++++++++++++++++++++++++
 gitweb/README                            |   12 +++-
 gitweb/gitweb.perl                       |  121 ++++++++++++++++++++++++----
 t/gitweb-lib.sh                          |    2 +
 t/t9501-gitweb-standalone-http-status.sh |   57 ++++++++++++-
 6 files changed, 309 insertions(+), 77 deletions(-)
 create mode 100644 gitweb/Makefile
-- 
Jakub Narebski
Poland
Next: Jakub Narebski
Message 1 of 14 in “Miscelanous gitweb improvements from 'Gitweb caching v5' by J.H.”
  1. 0/8 Miscelanous gitweb improvements from 'Gitweb caching v5' by J.H.Jakub Narebski, Jan 30, 2010
  2. 1/8 gitweb: Make running t9501 test with '--debug' reliable and usableJakub Narebski, Jan 30, 2010
  3. 2/8 gitweb: Load checkingJakub Narebski, Jan 30, 2010
  4. 3/8 gitweb: Makefile improvementsJakub Narebski, Jan 30, 2010
  5. 4/8 gitweb: Check that $site_header etc. are defined before using themJakub Narebski, Jan 30, 2010
  6. 5/8 gitweb: add a get function to compliment print_local_timeJakub Narebski, Jan 30, 2010
  7. Junio C HamanoJan 31, 2010
  8. 6/8 gitweb: add a get function to compliment print_sort_thJakub Narebski, Jan 30, 2010
  9. 7/8 gitweb: Add optional extra parameter to die_error, for extended explanationJakub Narebski, Jan 30, 2010
  10. 8/8 gitweb: Add an option to force version matchJakub Narebski, Jan 30, 2010
  11. J.H.Feb 2, 2010
  12. Jakub NarebskiFeb 2, 2010
  13. Junio C HamanoFeb 2, 2010
  14. Junio C HamanoFeb 2, 2010

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.