git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* gitweb - bare repos integration - owner info in description file
@ 2009-10-09 20:50 Eugene Sajine
  2009-10-09 22:07 ` Jakub Narebski
  0 siblings, 1 reply; 11+ messages in thread
From: Eugene Sajine @ 2009-10-09 20:50 UTC (permalink / raw)
  To: git

Hi,

Here is another issue with gitweb integration which i think might be
considered as a feature proposal:

I have a central place where bare repos are. They're owned by the user
under which we are serving them, let's say “git”. So, gitweb is going
to show me

Repo1 owner git etc…

In order to show a real owner I have to rebuild gitweb.cgi, to tell it
to use the file for GITWEB_LIST and edit the file… In fact I think
gitweb shouldn’t carry this info, but bare repos should.

So my idea is:

Either provide a key to
$ git clone –bare –u “owner/email”

or take the user.email parameter from .gitconfig.

in both cases the info can go to description file of bare repo, so it
can look like:

$owner=owner@server.com

$description=”very long description”

Or in xml form…


Yes, description file might become a bit more complicated in its
layout. But, the benefits are obvious:

- No need to support multiple lists/files
- Bare repo carries all info about itself (together with –d feature I
described earlier).

I this circumstances gitweb’s GITWEB_LIST will be only filter (only
repo path is necessary to show/not show), and it seems that narrowed
functionality here is a good thing...

Your thoughts?

Thanks,
Eugene

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2009-11-04 23:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-09 20:50 gitweb - bare repos integration - owner info in description file Eugene Sajine
2009-10-09 22:07 ` Jakub Narebski
2009-10-09 22:32   ` Eugene Sajine
2009-10-10 18:45     ` Jakub Narebski
2009-10-11  1:45       ` Eugene Sajine
2009-10-11 10:39         ` Jakub Narebski
2009-10-12  0:04       ` Johannes Schindelin
2009-10-12 21:48         ` Eugene Sajine
2009-10-12 23:19           ` Miklos Vajna
2009-11-03 20:22           ` Petr Baudis
2009-11-04 23:48             ` Eugene Sajine

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).