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

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

From
Jakub Narebski <jnareb@gmail.com>
Date
Oct 11, 2009, 10:39 UTC
Message-ID
<200910111239.15403.jnareb@gmail.com>
In-Reply-To
<76c5b8580910101845h43a607f0sd4184da302a19963@mail.gmail.com>
On Sun, 11 Oct 2009, Eugene Sajine wrote:
Show 16 quoted lines
> >
> > The project description, project owner and (clone) url are used by
> > gitweb only, so I don't see why git-clone has to feature-creep to
> > set them.
> 
> Well my logic is simple. Gitweb is a part of git bundle. If you don't
> want to use gitweb you're free to use git clone as you want. I don't
> see  why not to provide some usability features to it. For me it is
> quite obvious that it will be more comfortable to setup gitweb if this
> would be in  place. Instead of putting info in few different places
> manually, why not to give people a possibilty to do that using one
> command?
> 
> This is usability feature, but i feel that for me as a person who will
> support big ceantral bare repo hosting server, this would save huge
> time and efforts...
And this would be best left for a custom script creating repositories
and their git hosting related configuration.  Such script of necessity
would have to be site-specific, or at least contain site-specific 
configuration, like:
 * whether to use gitweb.owner or filesystem uid + GECOS is enough
 * whether to use gitweb.description or description file
 * whether to use gitweb.url, cloneurl file, or let gitweb autogenerate
   clone / fetch URL from base URL
 * gitosis / gitlite configuration, if needed, or setup of public keys
   for SSH authentication
 * project README.html file, if used
etc. 
git-clone is not a dumping ground (also, code speak louder than words).

I even think it might be mistake to have default 'description' file in templates...

-- 
Jakub Narebski
Poland
Previous: Eugene SajineNext: Johannes Schindelin
Message 6 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.