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

Re: [PATCH] gitweb: make HTML links out of http/https URLs in changelogs

From
Petr Baudis <pasky@suse.cz>
Date
Nov 22, 2006, 20:56 UTC
Message-ID
<20061122205652.GL7201@pasky.or.cz>
In-Reply-To
<45641195.2000804@openvz.org>
On Wed, Nov 22, 2006 at 10:00:05AM CET, Kir Kolyshkin wrote:
Show 12 quoted lines
> Petr Baudis wrote:
> >On Tue, Nov 21, 2006 at 11:02:36PM CET, Kir Kolyshkin wrote:
> >  
> >>Slightly tested on http://git.openvz.org/. Applicable to git-1.4.4.
> >>    
> >
> >...but in git's gitweb view it will make this <a
> >href="http://git.openvz.org/.">http://git.openvz.org/.</a>. :-)
> Not a problem actually since "." means "current directory", so it will 
> work fine (and I have checked that) :)
> Sure there is a room for improvement for this regex -- and I am 
> collecting those.

But "http://git.openvz.org/index.html." might not work so fine, nor "http://git.openvz.org/,"...

Bad URLs matchers which don't snip unlikely (!= invalid!) characters from the end of the URL are my pet peeve. ;-)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
The meaning of Stonehenge in Traflamadorian, when viewed from above, is:
"Replacement part being rushed with all possible speed."
Previous: Kir Kolyshkin
Message 6 of 6 in “gitweb: make HTML links out of http/https URLs in changelogs”
  1. gitweb: make HTML links out of http/https URLs in changelogsKir Kolyshkin, Nov 21, 2006
  2. Jakub NarebskiNov 21, 2006
  3. Randal L. SchwartzNov 21, 2006
  4. Petr BaudisNov 22, 2006
  5. Kir KolyshkinNov 22, 2006
  6. Petr BaudisNov 22, 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.