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

Re: [PATCH] gitweb.cgi: Customization

From
MLMatthias Lederhofer <matled@gmx.net>
Date
Aug 2, 2006, 19:40 UTC
Message-ID
<E1G8MZf-00022S-0v@moooo.ath.cx>
In-Reply-To
<7v8xm8xbaa.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> wrote:
> They all try to make customization can be done in one
> place, and the difference is mostly of taste, so I'd just pick
> one from Martin.

I hope it will be possible (see require suggestion from Jeff King) to specify the file also from the environment because then it is possible to develop on an uncostumized version of gitweb.perl. Now I noticed a problem: do not use the @@FOO@@ in double quotes because perl will spit a lot of warnings like "Possible unintended interpolation of @GIT_VERSION in string" Either we should use another delimiter or use single quotes (this is the way it is done in git-send-email.perl and git-svn.perl). I don't know how likely it is that characters that are interpreted different in double quotes are in filenames but I'd prefer single quotes just to be on the safe site. This disallows using '/etc/foo/$ENV{SITE_NAME}' as config file but one can just use '/etc/foo/bar' which requires '/etc/foo/$ENV{SITE_NAME}'.

Previous: Luben Tuikov
Message 22 of 22 in “gitweb.cgi: Customization”
  1. gitweb.cgi: CustomizationLuben Tuikov, Aug 1, 2006
  2. Junio C HamanoAug 1, 2006
  3. Luben TuikovAug 1, 2006
  4. Junio C HamanoAug 1, 2006
  5. Luben TuikovAug 2, 2006
  6. Martin LanghoffAug 2, 2006
  7. Junio C HamanoAug 2, 2006
  8. Martin LanghoffAug 2, 2006
  9. Matthias LederhoferAug 2, 2006
  10. Martin WaitzAug 3, 2006
  11. Jeff KingAug 3, 2006
  12. Matthias LederhoferAug 2, 2006
  13. Matthias LederhoferAug 2, 2006
  14. Martin LanghoffAug 2, 2006
  15. Matthias LederhoferAug 2, 2006
  16. Jon LoeligerAug 2, 2006
  17. Jeff KingAug 2, 2006
  18. Matthias LederhoferAug 2, 2006
  19. Jakub NarebskiAug 2, 2006
  20. Junio C HamanoAug 2, 2006
  21. Luben TuikovAug 2, 2006
  22. Matthias LederhoferAug 2, 2006

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.