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

Re: [PATCH 2/2] gitweb: Add support for per project git URLs

From
Jakub Narebski <jnareb@gmail.com>
Date
Aug 17, 2006, 09:31 UTC
Message-ID
<ec1cvg$823$1@sea.gmane.org>
In-Reply-To
<7vveos2z3y.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 27 quoted lines
> Jakub Narebski <jnareb@gmail.com> writes:
> 
>> It is now possible for project to have individual clone/fetch URLs.
>> They are provided in new file 'cloneurl' added below project's
>> $GIT_DIR directory.
>>
>> If there is no cloneurl file, concatenation of git base URLs with
>> project name is used.
>>
>> This is merge of Jakub Narebski and David Rientjes
>>   gitweb: Show project's git URL on summary page
>> with Aneesh Kumar
>>   gitweb: Add support for cloneurl.
>>   gitweb: Support multiple clone urls
>> patches.
>>
>> Signed-off-by: Jakub Narebski <jnareb@gmail.com>
>> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
> 
> I'll take this for now, but we might want to consider moving
> 'description' and 'cloneurl' information to the config file to
> prevent cluttering.
> 
>         gitweb.description
>         gitweb.giturl
> 
> The URL is not for cloning only, but also for fetch/pull, right?

As of now reading text file is faster than invoking git-repo-config... although reimplementing _reading_ part of git-repo-config in Perl should be easy...

cloneurl name is leftover from Aneesh Kumar patch. 
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Junio C Hamano
Message 10 of 10 in “gitweb: Show project's git URL on summary page”
  1. gitweb: Show project's git URL on summary pageJakub Narebski, Aug 15, 2006
  2. David RientjesAug 15, 2006
  3. Jakub NarebskiAug 15, 2006
  4. gitweb: Show project's git URL on summary pageJakub Narebski, Aug 15, 2006
  5. David RientjesAug 15, 2006
  6. Aneesh Kumar K.VAug 16, 2006
  7. Jakub NarebskiAug 16, 2006
  8. 2/2 gitweb: Add support for per project git URLsJakub Narebski, Aug 16, 2006
  9. Junio C HamanoAug 16, 2006
  10. Jakub NarebskiAug 17, 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.