dave @ [ arbiter :: (SunOS) ] ~ $ git clone git://github.com/bahamas10/node-manta-sync.git
Cloning into 'node-manta-sync'...
remote: Counting objects: 15, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 15 (delta 6), reused 14 (delta 5)
Receiving objects: 100% (15/15), 6.52 KiB, done.
Resolving deltas: 100% (6/6), done.
dave @ [ arbiter :: (SunOS) ] ~ $ cd node-manta-sync/
dave @ [ arbiter :: (SunOS) ] ~/node-manta-sync (git:master) $ npm install &>/dev/null; echo $?
0
dave @ [ arbiter :: (SunOS) ] ~/node-manta-sync (git:master) $ cd node_modules/manta/node_modules/ssh-agent/
dave @ [ arbiter :: (SunOS) ] ~/node-manta-sync/node_modules/manta/node_modules/ssh-agent (git:master) $ patch
diff --git a/lib/ssh_agent_client.js b/lib/ssh_agent_client.js
index 37f204d..e78847a 100644
--- a/lib/ssh_agent_client.js
+++ b/lib/ssh_agent_client.js
@@ -258,6 +258,7 @@ SSHAgentClient.prototype._request = function(getRequest,
assert.ok(callback && typeof(callback) === 'function');
var self = this;
+ console.log('net.createConnection called');
var socket = net.createConnection(this.sockFile);
socket.on('data', function(data) {
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/lib/ssh_agent_client.js b/lib/ssh_agent_client.js
|index 37f204d..e78847a 100644
|--- a/lib/ssh_agent_client.js
|+++ b/lib/ssh_agent_client.js
--------------------------
File to patch: lib/ssh_agent_client.js
patching file lib/ssh_agent_client.js
dave @ [ arbiter :: (SunOS) ] ~/node-manta-sync/node_modules/manta/node_modules/ssh-agent (git:master) $ cd -
/home/dave/node-manta-sync
dave @ [ arbiter :: (SunOS) ] ~/node-manta-sync (git:master) $ mkdir foo
dave @ [ arbiter :: (SunOS) ] ~/node-manta-sync (git:master) $ touch foo/{1..1000}.txt
dave @ [ arbiter :: (SunOS) ] ~/node-manta-sync (git:master) $ ./manta-sync.js --dry-run -c 1000 ./foo/ ~~/stor/foo 2>&1 | grep -c 'net\.createConnection called'
1001
With 1000 concurrent connections, 1001 connections are created to the ssh socket. this uses the latest node-manta
so the signing cache should be in place.
Just tested with the latest
node-manta
. I'm able toHEAD
all of the data just fine, butPUT
still seems to fail.