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

Re: [PATCH] gitweb: fill in gitweb configuration by Makefile

From
LTLuben Tuikov <ltuikov@yahoo.com>
Date
Jul 31, 2006, 16:59 UTC
Message-ID
<20060731165904.78929.qmail@web31815.mail.mud.yahoo.com>
In-Reply-To
<20060731072200.GE16364@admingilde.org>
--- Martin Waitz <tali@admingilde.org> wrote:
Show 17 quoted lines
> > This way, I can just copy gitweb.cgi into my web-server directory
> > and voila it works, since the variable definition file would
> > always be there.  This way:
> >   - no need to run make to build "gitweb.cgi" or "gitweb.pl" whatever
> >     you call it,
> 
> ok, but you have to call make anyway to build the rest of GIT,
> so this shouldn't be a big problem.
> 
> >   - no need to pollute your tree with site defined variables,
> 
> this is achieved by my patch, too.
> 
> >   - simple copy (cp) would install a working version, instead of
> >     the current cp + patch with local settings method.
> 
> this is achieved by my patch, too.

That's true, but the difference is that one needs to keep a per-site-installation tree which keeps the configuration of gitweb for that site (installation).

Since you're working on this, can you come up with an alternative way? At this point I don't care either way, but _if_ there is an alternative way, I'd rather we considered it. (Possibly using a symbol table file ("package") to only keep those variables?)

The bash-sed editing is kind of, you have to admit, hackish.
   Luben
Previous: Johannes SchindelinNext: Jon Loeliger
Message 11 of 13 in “gitweb: fill in gitweb configuration by Makefile”
  1. gitweb: fill in gitweb configuration by MakefileMartin Waitz, Jul 30, 2006
  2. Junio C HamanoJul 31, 2006
  3. Martin WaitzJul 31, 2006
  4. Jakub NarebskiJul 31, 2006
  5. Martin WaitzAug 1, 2006
  6. Luben TuikovJul 31, 2006
  7. Luben TuikovJul 31, 2006
  8. Junio C HamanoJul 31, 2006
  9. Martin WaitzJul 31, 2006
  10. Johannes SchindelinJul 31, 2006
  11. Luben TuikovJul 31, 2006
  12. Jon LoeligerJul 31, 2006
  13. Jakub NarebskiJul 31, 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.