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

Re: gitweb - bare repos integration - owner info in description file

From
Petr Baudis <pasky@suse.cz>
Date
Nov 3, 2009, 20:22 UTC
Message-ID
<20091103202211.GA17748@machine.or.cz>
In-Reply-To
<76c5b8580910121448q67edd935wb189c8a6f9af2f2e@mail.gmail.com>
On Mon, Oct 12, 2009 at 05:48:14PM -0400, Eugene Sajine wrote:
Show 24 quoted lines
> Hi,
> 
> Somebody from development camp recently complained here that there is
> no many end users "chiming" about issues in the mailing list. Well,
> don't tell i didn't try;)
> 
> First I tried to use gitweb.url, gitweb.description and gitweb.owner
> files and none of them worked... gitweb is unable to pickup the info
> from those files.
> 
> Although it successfully interactively picks up info from description
> and cloneurl files. I didn't find a substitution for gitweb.owner...
> 
> I might be sent to RTFM again, but i would like to bring an attention
> to the fact that setting up bare repo with these simplest parameters
> as well as setting up gitweb is a USABILITY NIGHTMARE for beginners. I
> would even say more: while gitweb is very flexible and powerful, all
> its flexibility and power is hidden behind unusable management
> interface, which IMHO requires a lot of improvements . Rebuilding to
> configure? Perl look-and-feel for configuration variables? I think
> this is not the way to configure web applications no matter how smart
> and flexible application should be. There are some problems with XML,
> I don't care. Let's use simple property file. 1 property file! and let
> gitweb read it. don;t like this solution, propose yours..

I think you got confused by perhaps unclear gitweb/README wording. There is a single property file, it's called "config" and _that's_ where you set the gitweb configuration variables, in its gitweb section.

Try running
	git config gitweb.owner "Eugene Sajine"
	git config gitweb.description tralala

within the repository (and optionally marveling at the config file again afterwards). Is this what you are after?

Perhaps the gitweb/README file doesn't make it clear enough that these are gitweb configuration variables, not stand-alone files, and maybe it should provide an example on how to set them. I'm sure that if you will submit a patch for gitweb/README clarifying this, it will be welcome.

Kind regards,
-- 
				Petr "Pasky" Baudis
A lot of people have my books on their bookshelves.
That's the problem, they need to read them. -- Don Knuth
Previous: Miklos VajnaNext: Eugene Sajine
Message 10 of 11 in “gitweb - bare repos integration - owner info in description file”
  1. Eugene SajineOct 9, 2009
  2. Jakub NarebskiOct 9, 2009
  3. Eugene SajineOct 9, 2009
  4. Jakub NarebskiOct 10, 2009
  5. Eugene SajineOct 11, 2009
  6. Jakub NarebskiOct 11, 2009
  7. Johannes SchindelinOct 12, 2009
  8. Eugene SajineOct 12, 2009
  9. Miklos VajnaOct 12, 2009
  10. Petr BaudisNov 3, 2009
  11. Eugene SajineNov 4, 2009

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.