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

Re: Last mile to 1.0?

From
Junio C Hamano <junkio@cox.net>
Date
Jul 18, 2005, 05:44 UTC
Message-ID
<7vackkekif.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.62.0507161815100.15383@qynat.qvtvafvgr.pbz>
David Lang <david.lang@digitalinsight.com> writes:
Show 8 quoted lines
> a very common one will be prople who want to setup a cron job to
> update their local tree nightly, in this case having a pre-generated
> pack file with each day's updates will save a significant amount of
> processing power.
>
> would it make sense to have it do something along the lines of sending
> the day;s pack file plus a small number of individual object (even if
> the pack file will partially duplicate object the puller already has)

I think that would be a reasonable thing to do. The server for anonymous puller, git-daemon, may need some extending. As people criticised, git-upload-pack/git-fetch-pack protocol being not easily extensible, we would end up doing another protocol, though, that's OK.

Fortunately [*1*], git-daemon itself is written to be extensible if you are willing to introduce a totally new protocol driver, so if this on-demand pack generation turns out to be too much a resource hog, we have a reasonably easy way out.

[Footnote]

*1* We are fortunate but that is not by dumb luck. When he did daemon.c::execute(), Linus must have thought things through.

Previous: David LangNext: Alexey Nezhdanov
Message 5 of 19 in “Last mile to 1.0?”
  1. Junio C HamanoJul 16, 2005
  2. Eric W. BiedermanJul 16, 2005
  3. Junio C HamanoJul 17, 2005
  4. David LangJul 17, 2005
  5. Junio C HamanoJul 18, 2005
  6. Alexey NezhdanovJul 18, 2005
  7. Junio C HamanoJul 18, 2005
  8. Alexey NezhdanovJul 18, 2005
  9. Junio C HamanoJul 18, 2005
  10. Ryan AndersonJul 23, 2005
  11. Gene HeskettJul 23, 2005
  12. 0/6 A bit better dumb server supportJunio C Hamano, Jul 24, 2005
  13. Ryan AndersonJul 23, 2005
  14. Gene HeskettJul 23, 2005
  15. Kevin SmithJul 23, 2005
  16. Junio C HamanoJul 23, 2005
  17. Alexey NezhdanovJul 24, 2005
  18. Petr BaudisJul 29, 2005
  19. Junio C HamanoJul 30, 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.