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

Re: [PATCH] gitweb: configurable home link string

From
Jakub Narebski <jnareb@gmail.com>
Date
Aug 15, 2006, 16:15 UTC
Message-ID
<ebsrsn$tgq$1@sea.gmane.org>
In-Reply-To
<11555958491891-git-send-email-yashi@atmark-techno.com>
Yasushi SHOJI wrote:
Show 14 quoted lines
> I've always found difficult to figure out git URL for clone from
> gitweb URL because git:// and http:// are different on many site
> including kernel.org.
> 
> I've found this enhancement at http://dev.laptop.org/git when I was on
> git channel, and thought that it'd be nice if all public gitweb site
> show it's git URL on its page.
> 
> This patch allow us to change the home link string.  The current
> default is "projects" as we all see on gitweb now.
> 
> ie. kernel.org might set this variable to "git://git.kernel.org/pub/scm/"
> 
> Signed-off-by: Yasushi SHOJI <yashi@atmark-techno.com>
There is similar improvement in gitweb-xmms2, where the git clone/fetch
URL for an individual project is visible in the "summary" page for project,
see e.g.
  http://git.xmms.se/?p=gitweb-xmms2.git;a=summary
I plan on implementing such a feature, with an improvement that URL is not
displayed if $git_base_url (your $home_link_str) is not defined (e.g.
repository is not published)... or you can reimplement this feature.
 
http://git.xmms.se/?p=gitweb-xmms2.git;a=commit;h=8e327dfbdebedd0c5fc02fe606fd4675b43237d7
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Yasushi SHOJINext: Martin Waitz
Message 2 of 6 in “gitweb: configurable home link string”
  1. gitweb: configurable home link stringYasushi SHOJI, Aug 14, 2006
  2. Jakub NarebskiAug 15, 2006
  3. Martin WaitzAug 15, 2006
  4. Jakub NarebskiAug 15, 2006
  5. Carl WorthAug 15, 2006
  6. Martin WaitzAug 15, 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.