{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/skroutz/mistry/pulls/34","id":182095792,"html_url":"https://github.com/skroutz/mistry/pull/34","diff_url":"https://github.com/skroutz/mistry/pull/34.diff","patch_url":"https://github.com/skroutz/mistry/pull/34.patch","issue_url":"https://api.github.com/repos/skroutz/mistry/issues/34","number":34,"state":"open","locked":false,"title":"client: Pass --delete to rsync","user":{"login":"apostergiou","id":16028784,"avatar_url":"https://avatars0.githubusercontent.com/u/16028784?v=4","gravatar_id":"","url":"https://api.github.com/users/apostergiou","html_url":"https://github.com/apostergiou","followers_url":"https://api.github.com/users/apostergiou/followers","following_url":"https://api.github.com/users/apostergiou/following{/other_user}","gists_url":"https://api.github.com/users/apostergiou/gists{/gist_id}","starred_url":"https://api.github.com/users/apostergiou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apostergiou/subscriptions","organizations_url":"https://api.github.com/users/apostergiou/orgs","repos_url":"https://api.github.com/users/apostergiou/repos","events_url":"https://api.github.com/users/apostergiou/events{/privacy}","received_events_url":"https://api.github.com/users/apostergiou/received_events","type":"User","site_admin":false},"body":"With this change, we delete extraneous files from the destination dir.\r\n\r\nThe produced command is: \r\n```shell\r\nrsync --delete -rtlp apostergiou@localhost::mistry/simple/ready/c8d654f58623063cb55e0790890ad5aada1235be093ced09f7057e366b2de264/data/artifacts/* /tmp/foo\r\n\r\n# client request\r\n\r\n$ ./mistry-cli build --host localhost --port 8462 --project simple --group $RANDOM --target /tmp/foo --transport rsync -- --flavor=$RANDOM --x=$RANDOM\r\n```","created_at":"2018-04-17T08:57:18Z","updated_at":"2018-04-17T08:57:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"apostergiou","id":16028784,"avatar_url":"https://avatars0.githubusercontent.com/u/16028784?v=4","gravatar_id":"","url":"https://api.github.com/users/apostergiou","html_url":"https://github.com/apostergiou","followers_url":"https://api.github.com/users/apostergiou/followers","following_url":"https://api.github.com/users/apostergiou/following{/other_user}","gists_url":"https://api.github.com/users/apostergiou/gists{/gist_id}","starred_url":"https://api.github.com/users/apostergiou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apostergiou/subscriptions","organizations_url":"https://api.github.com/users/apostergiou/orgs","repos_url":"https://api.github.com/users/apostergiou/repos","events_url":"https://api.github.com/users/apostergiou/events{/privacy}","received_events_url":"https://api.github.com/users/apostergiou/received_events","type":"User","site_admin":false},"assignees":[{"login":"apostergiou","id":16028784,"avatar_url":"https://avatars0.githubusercontent.com/u/16028784?v=4","gravatar_id":"","url":"https://api.github.com/users/apostergiou","html_url":"https://github.com/apostergiou","followers_url":"https://api.github.com/users/apostergiou/followers","following_url":"https://api.github.com/users/apostergiou/following{/other_user}","gists_url":"https://api.github.com/users/apostergiou/gists{/gist_id}","starred_url":"https://api.github.com/users/apostergiou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apostergiou/subscriptions","organizations_url":"https://api.github.com/users/apostergiou/orgs","repos_url":"https://api.github.com/users/apostergiou/repos","events_url":"https://api.github.com/users/apostergiou/events{/privacy}","received_events_url":"https://api.github.com/users/apostergiou/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":899349629,"url":"https://api.github.com/repos/skroutz/mistry/labels/client","name":"client","color":"00d1bc","default":false},{"id":851504671,"url":"https://api.github.com/repos/skroutz/mistry/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/skroutz/mistry/pulls/34/commits","review_comments_url":"https://api.github.com/repos/skroutz/mistry/pulls/34/comments","review_comment_url":"https://api.github.com/repos/skroutz/mistry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/skroutz/mistry/issues/34/comments","statuses_url":"https://api.github.com/repos/skroutz/mistry/statuses/0603fb9edf740aac43dc444205d77f8de9e8ded8","head":{"label":"skroutz:rsync-delete-option","ref":"rsync-delete-option","sha":"0603fb9edf740aac43dc444205d77f8de9e8ded8","user":{"login":"skroutz","id":285550,"avatar_url":"https://avatars2.githubusercontent.com/u/285550?v=4","gravatar_id":"","url":"https://api.github.com/users/skroutz","html_url":"https://github.com/skroutz","followers_url":"https://api.github.com/users/skroutz/followers","following_url":"https://api.github.com/users/skroutz/following{/other_user}","gists_url":"https://api.github.com/users/skroutz/gists{/gist_id}","starred_url":"https://api.github.com/users/skroutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skroutz/subscriptions","organizations_url":"https://api.github.com/users/skroutz/orgs","repos_url":"https://api.github.com/users/skroutz/repos","events_url":"https://api.github.com/users/skroutz/events{/privacy}","received_events_url":"https://api.github.com/users/skroutz/received_events","type":"Organization","site_admin":false},"repo":{"id":123288096,"name":"mistry","full_name":"skroutz/mistry","owner":{"login":"skroutz","id":285550,"avatar_url":"https://avatars2.githubusercontent.com/u/285550?v=4","gravatar_id":"","url":"https://api.github.com/users/skroutz","html_url":"https://github.com/skroutz","followers_url":"https://api.github.com/users/skroutz/followers","following_url":"https://api.github.com/users/skroutz/following{/other_user}","gists_url":"https://api.github.com/users/skroutz/gists{/gist_id}","starred_url":"https://api.github.com/users/skroutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skroutz/subscriptions","organizations_url":"https://api.github.com/users/skroutz/orgs","repos_url":"https://api.github.com/users/skroutz/repos","events_url":"https://api.github.com/users/skroutz/events{/privacy}","received_events_url":"https://api.github.com/users/skroutz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/skroutz/mistry","description":"Builds things so you don't have to","fork":false,"url":"https://api.github.com/repos/skroutz/mistry","forks_url":"https://api.github.com/repos/skroutz/mistry/forks","keys_url":"https://api.github.com/repos/skroutz/mistry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skroutz/mistry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skroutz/mistry/teams","hooks_url":"https://api.github.com/repos/skroutz/mistry/hooks","issue_events_url":"https://api.github.com/repos/skroutz/mistry/issues/events{/number}","events_url":"https://api.github.com/repos/skroutz/mistry/events","assignees_url":"https://api.github.com/repos/skroutz/mistry/assignees{/user}","branches_url":"https://api.github.com/repos/skroutz/mistry/branches{/branch}","tags_url":"https://api.github.com/repos/skroutz/mistry/tags","blobs_url":"https://api.github.com/repos/skroutz/mistry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skroutz/mistry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skroutz/mistry/git/refs{/sha}","trees_url":"https://api.github.com/repos/skroutz/mistry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skroutz/mistry/statuses/{sha}","languages_url":"https://api.github.com/repos/skroutz/mistry/languages","stargazers_url":"https://api.github.com/repos/skroutz/mistry/stargazers","contributors_url":"https://api.github.com/repos/skroutz/mistry/contributors","subscribers_url":"https://api.github.com/repos/skroutz/mistry/subscribers","subscription_url":"https://api.github.com/repos/skroutz/mistry/subscription","commits_url":"https://api.github.com/repos/skroutz/mistry/commits{/sha}","git_commits_url":"https://api.github.com/repos/skroutz/mistry/git/commits{/sha}","comments_url":"https://api.github.com/repos/skroutz/mistry/comments{/number}","issue_comment_url":"https://api.github.com/repos/skroutz/mistry/issues/comments{/number}","contents_url":"https://api.github.com/repos/skroutz/mistry/contents/{+path}","compare_url":"https://api.github.com/repos/skroutz/mistry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skroutz/mistry/merges","archive_url":"https://api.github.com/repos/skroutz/mistry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skroutz/mistry/downloads","issues_url":"https://api.github.com/repos/skroutz/mistry/issues{/number}","pulls_url":"https://api.github.com/repos/skroutz/mistry/pulls{/number}","milestones_url":"https://api.github.com/repos/skroutz/mistry/milestones{/number}","notifications_url":"https://api.github.com/repos/skroutz/mistry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skroutz/mistry/labels{/name}","releases_url":"https://api.github.com/repos/skroutz/mistry/releases{/id}","deployments_url":"https://api.github.com/repos/skroutz/mistry/deployments","created_at":"2018-02-28T13:23:13Z","updated_at":"2018-04-16T15:59:58Z","pushed_at":"2018-04-17T08:54:49Z","git_url":"git://github.com/skroutz/mistry.git","ssh_url":"git@github.com:skroutz/mistry.git","clone_url":"https://github.com/skroutz/mistry.git","svn_url":"https://github.com/skroutz/mistry","homepage":"","size":233,"stargazers_count":9,"watchers_count":9,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":21,"watchers":9,"default_branch":"master"}},"base":{"label":"skroutz:master","ref":"master","sha":"9efd1dde28780ebaabe4139f0b582a742601b80a","user":{"login":"skroutz","id":285550,"avatar_url":"https://avatars2.githubusercontent.com/u/285550?v=4","gravatar_id":"","url":"https://api.github.com/users/skroutz","html_url":"https://github.com/skroutz","followers_url":"https://api.github.com/users/skroutz/followers","following_url":"https://api.github.com/users/skroutz/following{/other_user}","gists_url":"https://api.github.com/users/skroutz/gists{/gist_id}","starred_url":"https://api.github.com/users/skroutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skroutz/subscriptions","organizations_url":"https://api.github.com/users/skroutz/orgs","repos_url":"https://api.github.com/users/skroutz/repos","events_url":"https://api.github.com/users/skroutz/events{/privacy}","received_events_url":"https://api.github.com/users/skroutz/received_events","type":"Organization","site_admin":false},"repo":{"id":123288096,"name":"mistry","full_name":"skroutz/mistry","owner":{"login":"skroutz","id":285550,"avatar_url":"https://avatars2.githubusercontent.com/u/285550?v=4","gravatar_id":"","url":"https://api.github.com/users/skroutz","html_url":"https://github.com/skroutz","followers_url":"https://api.github.com/users/skroutz/followers","following_url":"https://api.github.com/users/skroutz/following{/other_user}","gists_url":"https://api.github.com/users/skroutz/gists{/gist_id}","starred_url":"https://api.github.com/users/skroutz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skroutz/subscriptions","organizations_url":"https://api.github.com/users/skroutz/orgs","repos_url":"https://api.github.com/users/skroutz/repos","events_url":"https://api.github.com/users/skroutz/events{/privacy}","received_events_url":"https://api.github.com/users/skroutz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/skroutz/mistry","description":"Builds things so you don't have to","fork":false,"url":"https://api.github.com/repos/skroutz/mistry","forks_url":"https://api.github.com/repos/skroutz/mistry/forks","keys_url":"https://api.github.com/repos/skroutz/mistry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/skroutz/mistry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/skroutz/mistry/teams","hooks_url":"https://api.github.com/repos/skroutz/mistry/hooks","issue_events_url":"https://api.github.com/repos/skroutz/mistry/issues/events{/number}","events_url":"https://api.github.com/repos/skroutz/mistry/events","assignees_url":"https://api.github.com/repos/skroutz/mistry/assignees{/user}","branches_url":"https://api.github.com/repos/skroutz/mistry/branches{/branch}","tags_url":"https://api.github.com/repos/skroutz/mistry/tags","blobs_url":"https://api.github.com/repos/skroutz/mistry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/skroutz/mistry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/skroutz/mistry/git/refs{/sha}","trees_url":"https://api.github.com/repos/skroutz/mistry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/skroutz/mistry/statuses/{sha}","languages_url":"https://api.github.com/repos/skroutz/mistry/languages","stargazers_url":"https://api.github.com/repos/skroutz/mistry/stargazers","contributors_url":"https://api.github.com/repos/skroutz/mistry/contributors","subscribers_url":"https://api.github.com/repos/skroutz/mistry/subscribers","subscription_url":"https://api.github.com/repos/skroutz/mistry/subscription","commits_url":"https://api.github.com/repos/skroutz/mistry/commits{/sha}","git_commits_url":"https://api.github.com/repos/skroutz/mistry/git/commits{/sha}","comments_url":"https://api.github.com/repos/skroutz/mistry/comments{/number}","issue_comment_url":"https://api.github.com/repos/skroutz/mistry/issues/comments{/number}","contents_url":"https://api.github.com/repos/skroutz/mistry/contents/{+path}","compare_url":"https://api.github.com/repos/skroutz/mistry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/skroutz/mistry/merges","archive_url":"https://api.github.com/repos/skroutz/mistry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/skroutz/mistry/downloads","issues_url":"https://api.github.com/repos/skroutz/mistry/issues{/number}","pulls_url":"https://api.github.com/repos/skroutz/mistry/pulls{/number}","milestones_url":"https://api.github.com/repos/skroutz/mistry/milestones{/number}","notifications_url":"https://api.github.com/repos/skroutz/mistry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/skroutz/mistry/labels{/name}","releases_url":"https://api.github.com/repos/skroutz/mistry/releases{/id}","deployments_url":"https://api.github.com/repos/skroutz/mistry/deployments","created_at":"2018-02-28T13:23:13Z","updated_at":"2018-04-16T15:59:58Z","pushed_at":"2018-04-17T08:54:49Z","git_url":"git://github.com/skroutz/mistry.git","ssh_url":"git@github.com:skroutz/mistry.git","clone_url":"https://github.com/skroutz/mistry.git","svn_url":"https://github.com/skroutz/mistry","homepage":"","size":233,"stargazers_count":9,"watchers_count":9,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":21,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":0,"open_issues":21,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/skroutz/mistry/pulls/34"},"html":{"href":"https://github.com/skroutz/mistry/pull/34"},"issue":{"href":"https://api.github.com/repos/skroutz/mistry/issues/34"},"comments":{"href":"https://api.github.com/repos/skroutz/mistry/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/skroutz/mistry/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/skroutz/mistry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/skroutz/mistry/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/skroutz/mistry/statuses/0603fb9edf740aac43dc444205d77f8de9e8ded8"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"apostergiou"}}