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

Re: [PATCH GSoC 2/3] git-instaweb: Configure it to work with a global server root and projects list

From
Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
Date
May 19, 2010, 08:58 UTC
Message-ID
<AANLkTimFrX6yE69ZNlZM11XJVNLS5rpbsdeNN984iNs7@mail.gmail.com>
In-Reply-To
<201005190105.59606.jnareb@gmail.com>
Show 13 quoted lines
>
> 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.

Show 5 quoted lines
> 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
Previous: Jakub NarebskiNext: Jakub Narebski
Message 8 of 12 in “[PATCHv2 GSoC 1/3] gitweb: Set default destination directory for installing gitweb in Makefile”
  1. Pavan Kumar SunkaraMay 15, 2010
  2. 2/3 git-instaweb: Configure it to work with a global server root and projects listPavan Kumar Sunkara, May 15, 2010
  3. Dévai TamásMay 16, 2010
  4. Pavan Kumar SunkaraMay 17, 2010
  5. Jakub NarebskiMay 18, 2010
  6. Pavan Kumar SunkaraMay 18, 2010
  7. Jakub NarebskiMay 18, 2010
  8. Pavan Kumar SunkaraMay 19, 2010
  9. Jakub NarebskiMay 19, 2010
  10. Eric WongMay 18, 2010
  11. 3/3 git-web--browse: Add support for google chromePavan Kumar Sunkara, May 15, 2010
  12. Erik Faye-LundMay 16, 2010

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.