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

Re: gitweb testing with non-apache web server

From
Junio C Hamano <junkio@cox.net>
Date
Aug 3, 2006, 19:41 UTC
Message-ID
<7virl9ppy7.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<eatfog$8er$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 11 quoted lines
> Junio C Hamano wrote:
>
>> Well, more importantly, why would we do something like this in the first 
>> place?
>> 
>> Wouldn't it be a lot better to just rip out PATH_INFO stuff,
>> especially since all pages the script generates use ?p=$project 
>> to pass that information around and never uses PATH_INFO?
>
> The PATH_INFO is here because it is easier to edit parameters by hand when
> the most important one, the project to examine, can be passed as PATH_INFO.
Huh?  I do not get that.

Suppose I am looking at my repository. I visit there from my Firefox and see this in the location bar:

	http://www.kernel.org/git/?p=git/git.git;a=summary

Now I would want to check if there are updates to gitk. So I click on the location bar, and edit it to:

	http://www.kernel.org/git/?p=gitk/gitk.git;a=summary
(that's two insertions of 'k').
Now with PATH_INFO, how exactly is this easier?
Previous: Jakub NarebskiNext: Martin Waitz
Message 8 of 18 in “gitweb testing with non-apache web server”
  1. Marc SingerAug 3, 2006
  2. Jakub NarebskiAug 3, 2006
  3. Marc SingerAug 3, 2006
  4. Jakub NarebskiAug 3, 2006
  5. Marc SingerAug 3, 2006
  6. Junio C HamanoAug 3, 2006
  7. Jakub NarebskiAug 3, 2006
  8. Junio C HamanoAug 3, 2006
  9. Martin WaitzAug 3, 2006
  10. Sam VilainAug 3, 2006
  11. Blu CoraterAug 3, 2006
  12. Marc SingerAug 3, 2006
  13. Blu CoraterAug 3, 2006
  14. Marc SingerAug 3, 2006
  15. Francis DalyAug 3, 2006
  16. Marc SingerAug 4, 2006
  17. Francis DalyAug 4, 2006
  18. Marc SingerAug 4, 2006

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.