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

Re: [PATCH 0/2] Move push logic to transport.c

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Mar 9, 2009, 17:11 UTC
Message-ID
<alpine.DEB.1.00.0903091809330.6358@intel-tinevez-2-302>
In-Reply-To
<alpine.LNX.1.00.0903091230430.19665@iabervon.org>
Hi,
On Mon, 9 Mar 2009, Daniel Barkalow wrote:
Show 36 quoted lines
> On Mon, 9 Mar 2009, Johannes Schindelin wrote:
> 
> > On Mon, 9 Mar 2009, Daniel Barkalow wrote:
> > 
> > > On Mon, 9 Mar 2009, Johannes Schindelin wrote:
> > > 
> > > > On Sun, 8 Mar 2009, Daniel Barkalow wrote:
> > > > 
> > > > > It doesn't convert http-push or the rsync transports, largely 
> > > > > because I don't have test setups for rsync or webdav to make sure 
> > > > > that they're still working.
> > > > 
> > > > $ ls t/*http-push*
> > > > t/t5540-http-push.sh
> > > > 
> > > > $ git grep -n test.*rsync t/
> > > > t/t5510-fetch.sh:195:test_expect_success 'fetch via rsync' '
> > > > t/t5510-fetch.sh:206:test_expect_success 'push via rsync' '
> > > > t/t5510-fetch.sh:217:test_expect_success 'push via rsync' '
> > > > 
> > > > It should be just a matter of installing an apache and rsync.
> > > 
> > > And configuring them suitably, yes. That's the part I haven't previously 
> > > done.
> > 
> > If you have to configure apache (or rsync) for the test to run properly, 
> > we have a serious bug in our test suite.  Please share the output in that 
> > case.
> 
> rsync: failed to connect to 127.0.0.1: Connection refused (111)
> rsync error: error in socket IO (code 10) at clientserver.c(104) [receiver=2.6.9]
> fatal: Could not run rsync to get refs
> 
> I mean, I won't need to do anything really special in the configuration, 
> but I do need to have rsyncd running giving access to that directory 
> without any funny mapping on localhost.

That is my mistake, I guess. I tried to be lazy and not change transport.c so that it groks "rsync:$(pwd)" style paths.

Sorry, Dscho

Previous: Daniel BarkalowNext: Daniel Barkalow
Message 7 of 11 in “Move push logic to transport.c”
  1. 0/2 Move push logic to transport.cDaniel Barkalow, Mar 9, 2009
  2. Johannes SchindelinMar 9, 2009
  3. Jeff KingMar 9, 2009
  4. Daniel BarkalowMar 9, 2009
  5. Johannes SchindelinMar 9, 2009
  6. Daniel BarkalowMar 9, 2009
  7. Johannes SchindelinMar 9, 2009
  8. Daniel BarkalowMar 9, 2009
  9. Johannes SchindelinMar 9, 2009
  10. Daniel BarkalowMar 9, 2009
  11. rsync transport: allow local paths, and fix testsJohannes Schindelin, Mar 9, 2009

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.