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

Re: [PATCH] Show URL in the "Getting <foo> list" http-fetch messages

From
NHNick Hengeveld <nickh@reactrix.com>
Date
Nov 14, 2005, 19:02 UTC
Message-ID
<20051114190225.GA3793@reactrix.com>
In-Reply-To
<20051112172201.GF4051@reactrix.com>
On Sat, Nov 12, 2005 at 09:22:02AM -0800, Nick Hengeveld wrote:
Show 5 quoted lines
> This should not be an issue with index requests because they are only
> initiated from fetch().  The previous patch to load alternates on demand
> added alternate handling to process_curl_messages() so that a 404 for an
> object can be handled immediately rather than waiting for the fetch()
> call for that object to notice.

Seems like it might make sense to handle pack downloads immediately when an object is unavailable rather than waiting for the fetch() call. It could prevent attempts to download any other objects inside that pack, although queued requests that activate while a pack is downloading would have to wait to see whether the download is successful. If such an object also exists loose it would prevent a redundant download and if not it would at least prevent an unnecessary check and 404.

Thoughts?
-- 
For a successful technology, reality must take precedence over public
relations, for nature cannot be fooled.
Previous: Nick HengeveldNext: Junio C Hamano
Message 5 of 6 in “Show URL in the "Getting <foo> list" http-fetch messages”
  1. Show URL in the "Getting <foo> list" http-fetch messagesPetr Baudis, Nov 12, 2005
  2. Petr BaudisNov 12, 2005
  3. Junio C HamanoNov 12, 2005
  4. Nick HengeveldNov 12, 2005
  5. Nick HengeveldNov 14, 2005
  6. Junio C HamanoNov 14, 2005

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.