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

Re: [PATCH] git-cvsserver runs hooks/post-receive

From
Johannes Sixt <j.sixt@viscovery.net>
Date
Nov 30, 2007, 13:24 UTC
Message-ID
<47500F0B.10300@viscovery.net>
In-Reply-To
<BDA3CE08-FFA4-4D84-A2FC-5810AAA6EEAB@MIT.EDU>
Michael Witten schrieb:
Show 21 quoted lines
> On 30 Nov 2007, at 7:03:15 AM, Johannes Schindelin wrote:
>> On Thu, 29 Nov 2007, Michael Witten wrote:
>>> How about turning git-cvsserver into a true middleman, so that it
>>> constructs a 'temporary git working tree' and then does a real git-push
>>> into the final git repository.
>>
>> That would yield a horrible performance.
>>
>> Would be opposed, if a regular cvsserver user,
> 
> How come?
> 
> git-cvsserver it seems already does just that!
> The difference is that it puts objects in place
> by hand, requiring the code to mirror hook calls
> anyway.
> 
> I'm simply proposing that the code be reworked,
> so that cvs commits actually become git pushes,
> so that all future changes to the pushing mechanism
> are automatically handled.

But in order push something, you must first have the commit in a repository. How would git-cvsserver do that? For example, by putting objects in place by hand. You gain nothing, except that it would push instead of call the hooks directly.

-- Hannes
Previous: Johannes SchindelinNext: Michael Witten
Message 7 of 11 in “git-cvsserver runs hooks/post-receive”
  1. git-cvsserver runs hooks/post-receiveMichael Witten, Nov 23, 2007
  2. Junio C HamanoNov 29, 2007
  3. Michael WittenNov 30, 2007
  4. Johannes SchindelinNov 30, 2007
  5. Michael WittenNov 30, 2007
  6. Johannes SchindelinNov 30, 2007
  7. Johannes SixtNov 30, 2007
  8. Michael WittenDec 1, 2007
  9. Junio C HamanoDec 1, 2007
  10. Michael WittenDec 1, 2007
  11. Junio C HamanoDec 1, 2007

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.