{"action":"created","comment":{"url":"https://api.github.com/repos/pstadler/flightplan/pulls/comments/50814519","id":50814519,"diff_hunk":"@@ -109,7 +109,7 @@ Shell.prototype.transfer = function(files, remoteDir, options) {\n                               (remote.username ? remote.username + '@' : ''),\n                               remote.host, remoteDir);\n \n-    var command = util.format('rsync --files-from %s %s --rsh=\"ssh -p%s%s\" ./ %s',\n+    var command = util.format('cat %s | xargs -n 50 -J % rsync %s --rsh=\"ssh -p%s%s\" % %s',","path":"lib/transport/shell.js","position":5,"original_position":5,"commit_id":"361c309ec7de8ef7c5be2594a8ce3d71e7ec10e5","original_commit_id":"361c309ec7de8ef7c5be2594a8ce3d71e7ec10e5","user":{"login":"pstadler","id":600097,"avatar_url":"https://avatars.githubusercontent.com/u/600097?v=3","gravatar_id":"","url":"https://api.github.com/users/pstadler","html_url":"https://github.com/pstadler","followers_url":"https://api.github.com/users/pstadler/followers","following_url":"https://api.github.com/users/pstadler/following{/other_user}","gists_url":"https://api.github.com/users/pstadler/gists{/gist_id}","starred_url":"https://api.github.com/users/pstadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pstadler/subscriptions","organizations_url":"https://api.github.com/users/pstadler/orgs","repos_url":"https://api.github.com/users/pstadler/repos","events_url":"https://api.github.com/users/pstadler/events{/privacy}","received_events_url":"https://api.github.com/users/pstadler/received_events","type":"User","site_admin":false},"body":"1. man xargs: \"The current default value for number is 5000\"\r\n2. Please use %% (https://nodejs.org/api/util.html#util_util_format_format)\r\n3. Can you verify this?\r\n4. This is a requirement.\r\n\r\nI think your changes break the current functionality where I can specify an array of files (in different or same directories) and the whole tree is rebuilt inside the remote's target directory.","created_at":"2016-01-26T09:59:14Z","updated_at":"2016-01-26T09:59:14Z","html_url":"https://github.com/pstadler/flightplan/pull/116#discussion_r50814519","pull_request_url":"https://api.github.com/repos/pstadler/flightplan/pulls/116","_links":{"self":{"href":"https://api.github.com/repos/pstadler/flightplan/pulls/comments/50814519"},"html":{"href":"https://github.com/pstadler/flightplan/pull/116#discussion_r50814519"},"pull_request":{"href":"https://api.github.com/repos/pstadler/flightplan/pulls/116"}}},"pull_request":{"url":"https://api.github.com/repos/pstadler/flightplan/pulls/116","id":57042400,"html_url":"https://github.com/pstadler/flightplan/pull/116","diff_url":"https://github.com/pstadler/flightplan/pull/116.diff","patch_url":"https://github.com/pstadler/flightplan/pull/116.patch","issue_url":"https://api.github.com/repos/pstadler/flightplan/issues/116","number":116,"state":"open","locked":false,"title":"Issue #97 fix. Absolute path in transfer","user":{"login":"StyleT","id":1125900,"avatar_url":"https://avatars.githubusercontent.com/u/1125900?v=3","gravatar_id":"","url":"https://api.github.com/users/StyleT","html_url":"https://github.com/StyleT","followers_url":"https://api.github.com/users/StyleT/followers","following_url":"https://api.github.com/users/StyleT/following{/other_user}","gists_url":"https://api.github.com/users/StyleT/gists{/gist_id}","starred_url":"https://api.github.com/users/StyleT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StyleT/subscriptions","organizations_url":"https://api.github.com/users/StyleT/orgs","repos_url":"https://api.github.com/users/StyleT/repos","events_url":"https://api.github.com/users/StyleT/events{/privacy}","received_events_url":"https://api.github.com/users/StyleT/received_events","type":"User","site_admin":false},"body":"Fix for Issue #97. Now we can use absolute path in `transport.transfer`","created_at":"2016-01-25T08:50:02Z","updated_at":"2016-01-26T09:59:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"678bdd1e978aa9052a99c09fc9839b93c34252cb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pstadler/flightplan/pulls/116/commits","review_comments_url":"https://api.github.com/repos/pstadler/flightplan/pulls/116/comments","review_comment_url":"https://api.github.com/repos/pstadler/flightplan/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pstadler/flightplan/issues/116/comments","statuses_url":"https://api.github.com/repos/pstadler/flightplan/statuses/361c309ec7de8ef7c5be2594a8ce3d71e7ec10e5","head":{"label":"StyleT:issue_97_absolute_path_for_transfer","ref":"issue_97_absolute_path_for_transfer","sha":"361c309ec7de8ef7c5be2594a8ce3d71e7ec10e5","user":{"login":"StyleT","id":1125900,"avatar_url":"https://avatars.githubusercontent.com/u/1125900?v=3","gravatar_id":"","url":"https://api.github.com/users/StyleT","html_url":"https://github.com/StyleT","followers_url":"https://api.github.com/users/StyleT/followers","following_url":"https://api.github.com/users/StyleT/following{/other_user}","gists_url":"https://api.github.com/users/StyleT/gists{/gist_id}","starred_url":"https://api.github.com/users/StyleT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StyleT/subscriptions","organizations_url":"https://api.github.com/users/StyleT/orgs","repos_url":"https://api.github.com/users/StyleT/repos","events_url":"https://api.github.com/users/StyleT/events{/privacy}","received_events_url":"https://api.github.com/users/StyleT/received_events","type":"User","site_admin":false},"repo":{"id":50336769,"name":"flightplan","full_name":"StyleT/flightplan","owner":{"login":"StyleT","id":1125900,"avatar_url":"https://avatars.githubusercontent.com/u/1125900?v=3","gravatar_id":"","url":"https://api.github.com/users/StyleT","html_url":"https://github.com/StyleT","followers_url":"https://api.github.com/users/StyleT/followers","following_url":"https://api.github.com/users/StyleT/following{/other_user}","gists_url":"https://api.github.com/users/StyleT/gists{/gist_id}","starred_url":"https://api.github.com/users/StyleT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StyleT/subscriptions","organizations_url":"https://api.github.com/users/StyleT/orgs","repos_url":"https://api.github.com/users/StyleT/repos","events_url":"https://api.github.com/users/StyleT/events{/privacy}","received_events_url":"https://api.github.com/users/StyleT/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/StyleT/flightplan","description":"Node.js library for streamlining application deployment or systems administration tasks.","fork":true,"url":"https://api.github.com/repos/StyleT/flightplan","forks_url":"https://api.github.com/repos/StyleT/flightplan/forks","keys_url":"https://api.github.com/repos/StyleT/flightplan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/StyleT/flightplan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/StyleT/flightplan/teams","hooks_url":"https://api.github.com/repos/StyleT/flightplan/hooks","issue_events_url":"https://api.github.com/repos/StyleT/flightplan/issues/events{/number}","events_url":"https://api.github.com/repos/StyleT/flightplan/events","assignees_url":"https://api.github.com/repos/StyleT/flightplan/assignees{/user}","branches_url":"https://api.github.com/repos/StyleT/flightplan/branches{/branch}","tags_url":"https://api.github.com/repos/StyleT/flightplan/tags","blobs_url":"https://api.github.com/repos/StyleT/flightplan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/StyleT/flightplan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/StyleT/flightplan/git/refs{/sha}","trees_url":"https://api.github.com/repos/StyleT/flightplan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/StyleT/flightplan/statuses/{sha}","languages_url":"https://api.github.com/repos/StyleT/flightplan/languages","stargazers_url":"https://api.github.com/repos/StyleT/flightplan/stargazers","contributors_url":"https://api.github.com/repos/StyleT/flightplan/contributors","subscribers_url":"https://api.github.com/repos/StyleT/flightplan/subscribers","subscription_url":"https://api.github.com/repos/StyleT/flightplan/subscription","commits_url":"https://api.github.com/repos/StyleT/flightplan/commits{/sha}","git_commits_url":"https://api.github.com/repos/StyleT/flightplan/git/commits{/sha}","comments_url":"https://api.github.com/repos/StyleT/flightplan/comments{/number}","issue_comment_url":"https://api.github.com/repos/StyleT/flightplan/issues/comments{/number}","contents_url":"https://api.github.com/repos/StyleT/flightplan/contents/{+path}","compare_url":"https://api.github.com/repos/StyleT/flightplan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/StyleT/flightplan/merges","archive_url":"https://api.github.com/repos/StyleT/flightplan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/StyleT/flightplan/downloads","issues_url":"https://api.github.com/repos/StyleT/flightplan/issues{/number}","pulls_url":"https://api.github.com/repos/StyleT/flightplan/pulls{/number}","milestones_url":"https://api.github.com/repos/StyleT/flightplan/milestones{/number}","notifications_url":"https://api.github.com/repos/StyleT/flightplan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/StyleT/flightplan/labels{/name}","releases_url":"https://api.github.com/repos/StyleT/flightplan/releases{/id}","deployments_url":"https://api.github.com/repos/StyleT/flightplan/deployments","created_at":"2016-01-25T08:27:16Z","updated_at":"2016-01-25T08:27:17Z","pushed_at":"2016-01-25T08:58:48Z","git_url":"git://github.com/StyleT/flightplan.git","ssh_url":"git@github.com:StyleT/flightplan.git","clone_url":"https://github.com/StyleT/flightplan.git","svn_url":"https://github.com/StyleT/flightplan","homepage":"https://www.npmjs.com/package/flightplan","size":266,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"pstadler:master","ref":"master","sha":"842a0bc84e7bdd33ff352d238262a6ebb0ea6317","user":{"login":"pstadler","id":600097,"avatar_url":"https://avatars.githubusercontent.com/u/600097?v=3","gravatar_id":"","url":"https://api.github.com/users/pstadler","html_url":"https://github.com/pstadler","followers_url":"https://api.github.com/users/pstadler/followers","following_url":"https://api.github.com/users/pstadler/following{/other_user}","gists_url":"https://api.github.com/users/pstadler/gists{/gist_id}","starred_url":"https://api.github.com/users/pstadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pstadler/subscriptions","organizations_url":"https://api.github.com/users/pstadler/orgs","repos_url":"https://api.github.com/users/pstadler/repos","events_url":"https://api.github.com/users/pstadler/events{/privacy}","received_events_url":"https://api.github.com/users/pstadler/received_events","type":"User","site_admin":false},"repo":{"id":16621454,"name":"flightplan","full_name":"pstadler/flightplan","owner":{"login":"pstadler","id":600097,"avatar_url":"https://avatars.githubusercontent.com/u/600097?v=3","gravatar_id":"","url":"https://api.github.com/users/pstadler","html_url":"https://github.com/pstadler","followers_url":"https://api.github.com/users/pstadler/followers","following_url":"https://api.github.com/users/pstadler/following{/other_user}","gists_url":"https://api.github.com/users/pstadler/gists{/gist_id}","starred_url":"https://api.github.com/users/pstadler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pstadler/subscriptions","organizations_url":"https://api.github.com/users/pstadler/orgs","repos_url":"https://api.github.com/users/pstadler/repos","events_url":"https://api.github.com/users/pstadler/events{/privacy}","received_events_url":"https://api.github.com/users/pstadler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pstadler/flightplan","description":"Node.js library for streamlining application deployment or systems administration tasks.","fork":false,"url":"https://api.github.com/repos/pstadler/flightplan","forks_url":"https://api.github.com/repos/pstadler/flightplan/forks","keys_url":"https://api.github.com/repos/pstadler/flightplan/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pstadler/flightplan/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pstadler/flightplan/teams","hooks_url":"https://api.github.com/repos/pstadler/flightplan/hooks","issue_events_url":"https://api.github.com/repos/pstadler/flightplan/issues/events{/number}","events_url":"https://api.github.com/repos/pstadler/flightplan/events","assignees_url":"https://api.github.com/repos/pstadler/flightplan/assignees{/user}","branches_url":"https://api.github.com/repos/pstadler/flightplan/branches{/branch}","tags_url":"https://api.github.com/repos/pstadler/flightplan/tags","blobs_url":"https://api.github.com/repos/pstadler/flightplan/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pstadler/flightplan/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pstadler/flightplan/git/refs{/sha}","trees_url":"https://api.github.com/repos/pstadler/flightplan/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pstadler/flightplan/statuses/{sha}","languages_url":"https://api.github.com/repos/pstadler/flightplan/languages","stargazers_url":"https://api.github.com/repos/pstadler/flightplan/stargazers","contributors_url":"https://api.github.com/repos/pstadler/flightplan/contributors","subscribers_url":"https://api.github.com/repos/pstadler/flightplan/subscribers","subscription_url":"https://api.github.com/repos/pstadler/flightplan/subscription","commits_url":"https://api.github.com/repos/pstadler/flightplan/commits{/sha}","git_commits_url":"https://api.github.com/repos/pstadler/flightplan/git/commits{/sha}","comments_url":"https://api.github.com/repos/pstadler/flightplan/comments{/number}","issue_comment_url":"https://api.github.com/repos/pstadler/flightplan/issues/comments{/number}","contents_url":"https://api.github.com/repos/pstadler/flightplan/contents/{+path}","compare_url":"https://api.github.com/repos/pstadler/flightplan/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pstadler/flightplan/merges","archive_url":"https://api.github.com/repos/pstadler/flightplan/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pstadler/flightplan/downloads","issues_url":"https://api.github.com/repos/pstadler/flightplan/issues{/number}","pulls_url":"https://api.github.com/repos/pstadler/flightplan/pulls{/number}","milestones_url":"https://api.github.com/repos/pstadler/flightplan/milestones{/number}","notifications_url":"https://api.github.com/repos/pstadler/flightplan/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pstadler/flightplan/labels{/name}","releases_url":"https://api.github.com/repos/pstadler/flightplan/releases{/id}","deployments_url":"https://api.github.com/repos/pstadler/flightplan/deployments","created_at":"2014-02-07T17:09:02Z","updated_at":"2016-01-24T19:52:58Z","pushed_at":"2016-01-25T08:58:49Z","git_url":"git://github.com/pstadler/flightplan.git","ssh_url":"git@github.com:pstadler/flightplan.git","clone_url":"https://github.com/pstadler/flightplan.git","svn_url":"https://github.com/pstadler/flightplan","homepage":"https://www.npmjs.com/package/flightplan","size":295,"stargazers_count":1213,"watchers_count":1213,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":10,"forks":66,"open_issues":10,"watchers":1213,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pstadler/flightplan/pulls/116"},"html":{"href":"https://github.com/pstadler/flightplan/pull/116"},"issue":{"href":"https://api.github.com/repos/pstadler/flightplan/issues/116"},"comments":{"href":"https://api.github.com/repos/pstadler/flightplan/issues/116/comments"},"review_comments":{"href":"https://api.github.com/repos/pstadler/flightplan/pulls/116/comments"},"review_comment":{"href":"https://api.github.com/repos/pstadler/flightplan/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pstadler/flightplan/pulls/116/commits"},"statuses":{"href":"https://api.github.com/repos/pstadler/flightplan/statuses/361c309ec7de8ef7c5be2594a8ce3d71e7ec10e5"}}}}