GitHub PullRequestReviewCommentEvent at 2014-10-22 14:49:12
Repository: arquillian-spacelift-gradle-plugin
Actor: kpiwko
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/comments/19218047","id":19218047,"diff_hunk":"@@ -0,0 +1,83 @@\n+package org.arquillian.spacelift.gradle.git\n+\n+import java.io.File\n+import java.util.Collection;\n+import java.util.logging.Logger\n+\n+import org.arquillian.spacelift.execution.ExecutionException\n+import org.arquillian.spacelift.execution.Task\n+import org.arquillian.spacelift.execution.Tasks\n+import org.arquillian.spacelift.process.Command\n+import org.arquillian.spacelift.process.CommandBuilder\n+import org.arquillian.spacelift.process.ProcessResult\n+import org.arquillian.spacelift.process.impl.CommandTool\n+import org.arquillian.spacelift.tool.Tool;\n+\n+/**\n+ * By default it commits to \"origin master\". You can override this by {@link #remote(String) and {@link #branch(String)}.\n+ * methods.\n+ * \n+ * @author <a href=\"mailto:smikloso@redhat.com\">Stefan Miklosovic</a>\n+ * \n+ */\n+class GitPushTool extends Tool<File, File> {\n+\n+    private Logger logger = Logger.getLogger(GitPushTool.class.getName())\n+\n+    private String remote = \"origin\"\n+\n+    private String branch = \"master\"\n+\n+    @Override\n+    protected Collection<String> aliases() {\n+        [\"git_push\"]\n+    }\n+\n+    /**\n+     * By default set to \"origin\".\n+     * ","path":"src/main/groovy/org/arquillian/spacelift/gradle/git/GitPushTool.groovy","position":38,"original_position":38,"commit_id":"fbaa4f52f219f1ae5bef4307301657ed3fb1090f","original_commit_id":"fbaa4f52f219f1ae5bef4307301657ed3fb1090f","user":{"login":"kpiwko","id":355881,"avatar_url":"https://avatars.githubusercontent.com/u/355881?v=2","gravatar_id":"","url":"https://api.github.com/users/kpiwko","html_url":"https://github.com/kpiwko","followers_url":"https://api.github.com/users/kpiwko/followers","following_url":"https://api.github.com/users/kpiwko/following{/other_user}","gists_url":"https://api.github.com/users/kpiwko/gists{/gist_id}","starred_url":"https://api.github.com/users/kpiwko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpiwko/subscriptions","organizations_url":"https://api.github.com/users/kpiwko/orgs","repos_url":"https://api.github.com/users/kpiwko/repos","events_url":"https://api.github.com/users/kpiwko/events{/privacy}","received_events_url":"https://api.github.com/users/kpiwko/received_events","type":"User","site_admin":false},"body":"Same here, but I guess we are safe with default origin here ;-)","created_at":"2014-10-22T14:49:12Z","updated_at":"2014-10-22T14:49:12Z","html_url":"https://github.com/arquillian/arquillian-spacelift-gradle-plugin/pull/1#discussion_r19218047","pull_request_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/comments/19218047"},"html":{"href":"https://github.com/arquillian/arquillian-spacelift-gradle-plugin/pull/1#discussion_r19218047"},"pull_request":{"href":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/1","id":23084166,"html_url":"https://github.com/arquillian/arquillian-spacelift-gradle-plugin/pull/1","diff_url":"https://github.com/arquillian/arquillian-spacelift-gradle-plugin/pull/1.diff","patch_url":"https://github.com/arquillian/arquillian-spacelift-gradle-plugin/pull/1.patch","issue_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/issues/1","number":1,"state":"open","locked":false,"title":"added git tasks","user":{"login":"smiklosovic","id":588603,"avatar_url":"https://avatars.githubusercontent.com/u/588603?v=2","gravatar_id":"","url":"https://api.github.com/users/smiklosovic","html_url":"https://github.com/smiklosovic","followers_url":"https://api.github.com/users/smiklosovic/followers","following_url":"https://api.github.com/users/smiklosovic/following{/other_user}","gists_url":"https://api.github.com/users/smiklosovic/gists{/gist_id}","starred_url":"https://api.github.com/users/smiklosovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smiklosovic/subscriptions","organizations_url":"https://api.github.com/users/smiklosovic/orgs","repos_url":"https://api.github.com/users/smiklosovic/repos","events_url":"https://api.github.com/users/smiklosovic/events{/privacy}","received_events_url":"https://api.github.com/users/smiklosovic/received_events","type":"User","site_admin":false},"body":"@kpiwko ","created_at":"2014-10-21T13:11:25Z","updated_at":"2014-10-22T14:49:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"617bb5c41e85278725ab8384a1725e2382729d83","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/1/commits","review_comments_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/1/comments","review_comment_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/comments/{number}","comments_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/issues/1/comments","statuses_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/statuses/fbaa4f52f219f1ae5bef4307301657ed3fb1090f","head":{"label":"smiklosovic:git-tool","ref":"git-tool","sha":"fbaa4f52f219f1ae5bef4307301657ed3fb1090f","user":{"login":"smiklosovic","id":588603,"avatar_url":"https://avatars.githubusercontent.com/u/588603?v=2","gravatar_id":"","url":"https://api.github.com/users/smiklosovic","html_url":"https://github.com/smiklosovic","followers_url":"https://api.github.com/users/smiklosovic/followers","following_url":"https://api.github.com/users/smiklosovic/following{/other_user}","gists_url":"https://api.github.com/users/smiklosovic/gists{/gist_id}","starred_url":"https://api.github.com/users/smiklosovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smiklosovic/subscriptions","organizations_url":"https://api.github.com/users/smiklosovic/orgs","repos_url":"https://api.github.com/users/smiklosovic/repos","events_url":"https://api.github.com/users/smiklosovic/events{/privacy}","received_events_url":"https://api.github.com/users/smiklosovic/received_events","type":"User","site_admin":false},"repo":{"id":25470996,"name":"arquillian-spacelift-gradle-plugin","full_name":"smiklosovic/arquillian-spacelift-gradle-plugin","owner":{"login":"smiklosovic","id":588603,"avatar_url":"https://avatars.githubusercontent.com/u/588603?v=2","gravatar_id":"","url":"https://api.github.com/users/smiklosovic","html_url":"https://github.com/smiklosovic","followers_url":"https://api.github.com/users/smiklosovic/followers","following_url":"https://api.github.com/users/smiklosovic/following{/other_user}","gists_url":"https://api.github.com/users/smiklosovic/gists{/gist_id}","starred_url":"https://api.github.com/users/smiklosovic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smiklosovic/subscriptions","organizations_url":"https://api.github.com/users/smiklosovic/orgs","repos_url":"https://api.github.com/users/smiklosovic/repos","events_url":"https://api.github.com/users/smiklosovic/events{/privacy}","received_events_url":"https://api.github.com/users/smiklosovic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/smiklosovic/arquillian-spacelift-gradle-plugin","description":"Gradle plugin to define complex testing scenarios via Spacelift","fork":true,"url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin","forks_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/forks","keys_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/teams","hooks_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/hooks","issue_events_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/events","assignees_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/tags","blobs_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/languages","stargazers_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/stargazers","contributors_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/contributors","subscribers_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/subscribers","subscription_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/subscription","commits_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/merges","archive_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/downloads","issues_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/labels{/name}","releases_url":"https://api.github.com/repos/smiklosovic/arquillian-spacelift-gradle-plugin/releases{/id}","created_at":"2014-10-20T14:47:30Z","updated_at":"2014-10-20T07:24:02Z","pushed_at":"2014-10-22T13:27:56Z","git_url":"git://github.com/smiklosovic/arquillian-spacelift-gradle-plugin.git","ssh_url":"git@github.com:smiklosovic/arquillian-spacelift-gradle-plugin.git","clone_url":"https://github.com/smiklosovic/arquillian-spacelift-gradle-plugin.git","svn_url":"https://github.com/smiklosovic/arquillian-spacelift-gradle-plugin","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"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":"arquillian:master","ref":"master","sha":"1cb4d578b53fc3881778ae10bdd99190758c6f12","user":{"login":"arquillian","id":330981,"avatar_url":"https://avatars.githubusercontent.com/u/330981?v=2","gravatar_id":"","url":"https://api.github.com/users/arquillian","html_url":"https://github.com/arquillian","followers_url":"https://api.github.com/users/arquillian/followers","following_url":"https://api.github.com/users/arquillian/following{/other_user}","gists_url":"https://api.github.com/users/arquillian/gists{/gist_id}","starred_url":"https://api.github.com/users/arquillian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arquillian/subscriptions","organizations_url":"https://api.github.com/users/arquillian/orgs","repos_url":"https://api.github.com/users/arquillian/repos","events_url":"https://api.github.com/users/arquillian/events{/privacy}","received_events_url":"https://api.github.com/users/arquillian/received_events","type":"Organization","site_admin":false},"repo":{"id":25342533,"name":"arquillian-spacelift-gradle-plugin","full_name":"arquillian/arquillian-spacelift-gradle-plugin","owner":{"login":"arquillian","id":330981,"avatar_url":"https://avatars.githubusercontent.com/u/330981?v=2","gravatar_id":"","url":"https://api.github.com/users/arquillian","html_url":"https://github.com/arquillian","followers_url":"https://api.github.com/users/arquillian/followers","following_url":"https://api.github.com/users/arquillian/following{/other_user}","gists_url":"https://api.github.com/users/arquillian/gists{/gist_id}","starred_url":"https://api.github.com/users/arquillian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arquillian/subscriptions","organizations_url":"https://api.github.com/users/arquillian/orgs","repos_url":"https://api.github.com/users/arquillian/repos","events_url":"https://api.github.com/users/arquillian/events{/privacy}","received_events_url":"https://api.github.com/users/arquillian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/arquillian/arquillian-spacelift-gradle-plugin","description":"Gradle plugin to define complex testing scenarios via Spacelift","fork":false,"url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin","forks_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/forks","keys_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/teams","hooks_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/hooks","issue_events_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/events","assignees_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/tags","blobs_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/languages","stargazers_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/stargazers","contributors_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/contributors","subscribers_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/subscribers","subscription_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/subscription","commits_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/merges","archive_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/downloads","issues_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/labels{/name}","releases_url":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/releases{/id}","created_at":"2014-10-17T06:36:39Z","updated_at":"2014-10-20T07:24:02Z","pushed_at":"2014-10-17T07:33:51Z","git_url":"git://github.com/arquillian/arquillian-spacelift-gradle-plugin.git","ssh_url":"git@github.com:arquillian/arquillian-spacelift-gradle-plugin.git","clone_url":"https://github.com/arquillian/arquillian-spacelift-gradle-plugin.git","svn_url":"https://github.com/arquillian/arquillian-spacelift-gradle-plugin","homepage":null,"size":0,"stargazers_count":1,"watchers_count":1,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/1"},"html":{"href":"https://github.com/arquillian/arquillian-spacelift-gradle-plugin/pull/1"},"issue":{"href":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/issues/1"},"comments":{"href":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/arquillian/arquillian-spacelift-gradle-plugin/statuses/fbaa4f52f219f1ae5bef4307301657ed3fb1090f"}}}}