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

Re: [PATCH v4 0/5] urlmatch: allow wildcard-based matches

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 30, 2017, 22:00 UTC
Message-ID
<xmqqy3xstdh9.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<cover.1485512626.git.patrick.steinhardt@elego.de>
Patrick Steinhardt <patrick.steinhardt@elego.de> writes:
Show 7 quoted lines
>  - I realized that with my patches, "ranking" of URLs was broken.
>    Previously, we've always taken the longest matching URL. As
>    previously, only the user and path could actually differ, only
>    these two components were used for the comparison. I've
>    changed this now to also include the host part so that URLs
>    with a longer host will take precedence. This resulted in a
>    the patch 4.
Good thinking.  I was wondering about this, too.
Thanks.  Will read it through and replace.
Previous: Patrick SteinhardtNext: Junio C Hamano
Message 7 of 9 in “urlmatch: allow wildcard-based matches”
  1. 0/5 urlmatch: allow wildcard-based matchesPatrick Steinhardt, Jan 27, 2017
  2. 1/5 mailmap: add Patrick Steinhardt's work addressPatrick Steinhardt, Jan 27, 2017
  3. 2/5 urlmatch: enable normalization of URLs with globsPatrick Steinhardt, Jan 27, 2017
  4. 4/5 urlmatch: include host and port in urlmatch lengthPatrick Steinhardt, Jan 27, 2017
  5. 3/5 urlmatch: split host and port fields in `struct url_info`Patrick Steinhardt, Jan 27, 2017
  6. 5/5 urlmatch: allow globbing for the URL host partPatrick Steinhardt, Jan 27, 2017
  7. Junio C HamanoJan 30, 2017
  8. Junio C HamanoJan 30, 2017
  9. Patrick SteinhardtJan 31, 2017

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.