git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
To: Jakub Narebski <jnareb@gmail.com>
Cc: git@vger.kernel.org, Eric Wong <normalperson@yhbt.net>
Subject: Re: [PATCH GSoC 2/3] git-instaweb: Configure it to work with a global  server root and projects list
Date: Wed, 19 May 2010 14:28:54 +0530	[thread overview]
Message-ID: <AANLkTimFrX6yE69ZNlZM11XJVNLS5rpbsdeNN984iNs7@mail.gmail.com> (raw)
In-Reply-To: <201005190105.59606.jnareb@gmail.com>

>
> Well, I can understand that.
>
> There are two options how to resolve this issue without adding yet
> another script (although on the other hand git-web-gui / git-client
> could share code with git-instaweb just like git-difftool and
> git-mergetool do).
>
> First is to leave git-instaweb similar to how it is now, with pid file,
> server config file, gitweb config file, etc. in $GIT_DIR/gitweb, but
> if it is invoked outside any git repository, start it in "repository
> administration" mode, i.e. on the page that allows one to create new
> repository or clone repository.

But this solution requires starting of many apache servers on many
ports which is quite complicated and even messier.

> The alternate solution would be to follow the idea implemented in this
> patch, namely per-user pid file, gitweb config file, server config file
> etc. and the *list of projects* file in $HOME/.gitweb (or whenever
> XDG / FHS / LSB says it should be named), _but_ add an easy way to add
> a new project (a new repositoey) to list.

The feature *Adding repository to client* in my project proposal will
take care of this.

>  Perhaps even make
> 'git instaweb', when run from inside git repository, add automatically
> current repository to list (unless it is present there already), and
> perhaps open 'summary' page for said repository.

Yeah, we can do that but I think I will do it in another commit.

> But independently on which solution would be chosen, it should take place
> in a separate commit,

So, I will implement the second solution but in seperate commit. First
I will take care of this patch :)

Thanks
- Pavan

  reply	other threads:[~2010-05-19  9:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-15 19:58 [PATCHv2 GSoC 1/3] gitweb: Set default destination directory for installing gitweb in Makefile Pavan Kumar Sunkara
2010-05-15 19:58 ` [PATCH GSoC 2/3] git-instaweb: Configure it to work with a global server root and projects list Pavan Kumar Sunkara
2010-05-16  0:16   ` Dévai Tamás
2010-05-17 20:22     ` Pavan Kumar Sunkara
2010-05-18 13:33   ` Jakub Narebski
2010-05-18 18:56     ` Pavan Kumar Sunkara
2010-05-18 23:05       ` Jakub Narebski
2010-05-19  8:58         ` Pavan Kumar Sunkara [this message]
2010-05-19 16:48           ` Jakub Narebski
2010-05-18 22:54     ` Eric Wong
2010-05-15 19:58 ` [PATCH 3/3] git-web--browse: Add support for google chrome Pavan Kumar Sunkara
2010-05-16 21:01   ` Erik Faye-Lund

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimFrX6yE69ZNlZM11XJVNLS5rpbsdeNN984iNs7@mail.gmail.com \
    --to=pavan.sss1991@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=jnareb@gmail.com \
    --cc=normalperson@yhbt.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).