{"action":"created","comment":{"url":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/comments/64672401","id":64672401,"diff_hunk":"@@ -0,0 +1,25 @@\n+require 'deploy/repository'\n+require 'docker/dockerrun/tag'\n+require 'docker/dockerrun'\n+\n+module Docker\n+  class Repository < ::Deploy::Repository\n+    private\n+\n+    def tag_dockerrun!\n+      Dockerrun::Tag.new(@tag).call\n+    end\n+\n+    def version!\n+      super\n+      tag_dockerrun!\n+    end\n+\n+    def commit!\n+      puts \"Committing version.txt and #{Dockerrun::FILE_NAME}...\"\n+      unless system(\"git add public/version.txt #{Dockerrun::FILE_NAME}\") && system(\"git commit -m \\\"#{commit_message}\\\" \")","path":"lib/docker/repository.rb","position":20,"original_position":20,"commit_id":"38e4280ce94cf584323b0827b7638032d3e6960f","original_commit_id":"38e4280ce94cf584323b0827b7638032d3e6960f","user":{"login":"AlessandroBerardi","id":212956,"avatar_url":"https://avatars.githubusercontent.com/u/212956?v=3","gravatar_id":"","url":"https://api.github.com/users/AlessandroBerardi","html_url":"https://github.com/AlessandroBerardi","followers_url":"https://api.github.com/users/AlessandroBerardi/followers","following_url":"https://api.github.com/users/AlessandroBerardi/following{/other_user}","gists_url":"https://api.github.com/users/AlessandroBerardi/gists{/gist_id}","starred_url":"https://api.github.com/users/AlessandroBerardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlessandroBerardi/subscriptions","organizations_url":"https://api.github.com/users/AlessandroBerardi/orgs","repos_url":"https://api.github.com/users/AlessandroBerardi/repos","events_url":"https://api.github.com/users/AlessandroBerardi/events{/privacy}","received_events_url":"https://api.github.com/users/AlessandroBerardi/received_events","type":"User","site_admin":false},"body":"I suppose that ``commit_message`` is defined in ``::Deploy::Repository``","created_at":"2016-05-25T23:49:39Z","updated_at":"2016-05-25T23:49:39Z","html_url":"https://github.com/sealink/docker-eb-deploy/pull/3#discussion_r64672401","pull_request_url":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/comments/64672401"},"html":{"href":"https://github.com/sealink/docker-eb-deploy/pull/3#discussion_r64672401"},"pull_request":{"href":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/3","id":71345752,"html_url":"https://github.com/sealink/docker-eb-deploy/pull/3","diff_url":"https://github.com/sealink/docker-eb-deploy/pull/3.diff","patch_url":"https://github.com/sealink/docker-eb-deploy/pull/3.patch","issue_url":"https://api.github.com/repos/sealink/docker-eb-deploy/issues/3","number":3,"state":"open","locked":false,"title":"Tag and build with spec","user":{"login":"alvinypyim","id":10244707,"avatar_url":"https://avatars.githubusercontent.com/u/10244707?v=3","gravatar_id":"","url":"https://api.github.com/users/alvinypyim","html_url":"https://github.com/alvinypyim","followers_url":"https://api.github.com/users/alvinypyim/followers","following_url":"https://api.github.com/users/alvinypyim/following{/other_user}","gists_url":"https://api.github.com/users/alvinypyim/gists{/gist_id}","starred_url":"https://api.github.com/users/alvinypyim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvinypyim/subscriptions","organizations_url":"https://api.github.com/users/alvinypyim/orgs","repos_url":"https://api.github.com/users/alvinypyim/repos","events_url":"https://api.github.com/users/alvinypyim/events{/privacy}","received_events_url":"https://api.github.com/users/alvinypyim/received_events","type":"User","site_admin":false},"body":"# Why?\r\n\r\nThis PR is really fulfilling the things described in the [README.md](https://github.com/sealink/docker-eb-deploy/blob/master/README.md) file.","created_at":"2016-05-25T07:59:50Z","updated_at":"2016-05-25T23:49:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c6f46c93cde4af546685a785d10b1e8b1159773","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/3/commits","review_comments_url":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/3/comments","review_comment_url":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sealink/docker-eb-deploy/issues/3/comments","statuses_url":"https://api.github.com/repos/sealink/docker-eb-deploy/statuses/38e4280ce94cf584323b0827b7638032d3e6960f","head":{"label":"sealink:tag_and_build_with_spec","ref":"tag_and_build_with_spec","sha":"38e4280ce94cf584323b0827b7638032d3e6960f","user":{"login":"sealink","id":113649,"avatar_url":"https://avatars.githubusercontent.com/u/113649?v=3","gravatar_id":"","url":"https://api.github.com/users/sealink","html_url":"https://github.com/sealink","followers_url":"https://api.github.com/users/sealink/followers","following_url":"https://api.github.com/users/sealink/following{/other_user}","gists_url":"https://api.github.com/users/sealink/gists{/gist_id}","starred_url":"https://api.github.com/users/sealink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sealink/subscriptions","organizations_url":"https://api.github.com/users/sealink/orgs","repos_url":"https://api.github.com/users/sealink/repos","events_url":"https://api.github.com/users/sealink/events{/privacy}","received_events_url":"https://api.github.com/users/sealink/received_events","type":"Organization","site_admin":false},"repo":{"id":59269376,"name":"docker-eb-deploy","full_name":"sealink/docker-eb-deploy","owner":{"login":"sealink","id":113649,"avatar_url":"https://avatars.githubusercontent.com/u/113649?v=3","gravatar_id":"","url":"https://api.github.com/users/sealink","html_url":"https://github.com/sealink","followers_url":"https://api.github.com/users/sealink/followers","following_url":"https://api.github.com/users/sealink/following{/other_user}","gists_url":"https://api.github.com/users/sealink/gists{/gist_id}","starred_url":"https://api.github.com/users/sealink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sealink/subscriptions","organizations_url":"https://api.github.com/users/sealink/orgs","repos_url":"https://api.github.com/users/sealink/repos","events_url":"https://api.github.com/users/sealink/events{/privacy}","received_events_url":"https://api.github.com/users/sealink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sealink/docker-eb-deploy","description":"","fork":false,"url":"https://api.github.com/repos/sealink/docker-eb-deploy","forks_url":"https://api.github.com/repos/sealink/docker-eb-deploy/forks","keys_url":"https://api.github.com/repos/sealink/docker-eb-deploy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sealink/docker-eb-deploy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sealink/docker-eb-deploy/teams","hooks_url":"https://api.github.com/repos/sealink/docker-eb-deploy/hooks","issue_events_url":"https://api.github.com/repos/sealink/docker-eb-deploy/issues/events{/number}","events_url":"https://api.github.com/repos/sealink/docker-eb-deploy/events","assignees_url":"https://api.github.com/repos/sealink/docker-eb-deploy/assignees{/user}","branches_url":"https://api.github.com/repos/sealink/docker-eb-deploy/branches{/branch}","tags_url":"https://api.github.com/repos/sealink/docker-eb-deploy/tags","blobs_url":"https://api.github.com/repos/sealink/docker-eb-deploy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sealink/docker-eb-deploy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sealink/docker-eb-deploy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sealink/docker-eb-deploy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sealink/docker-eb-deploy/statuses/{sha}","languages_url":"https://api.github.com/repos/sealink/docker-eb-deploy/languages","stargazers_url":"https://api.github.com/repos/sealink/docker-eb-deploy/stargazers","contributors_url":"https://api.github.com/repos/sealink/docker-eb-deploy/contributors","subscribers_url":"https://api.github.com/repos/sealink/docker-eb-deploy/subscribers","subscription_url":"https://api.github.com/repos/sealink/docker-eb-deploy/subscription","commits_url":"https://api.github.com/repos/sealink/docker-eb-deploy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sealink/docker-eb-deploy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sealink/docker-eb-deploy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sealink/docker-eb-deploy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sealink/docker-eb-deploy/contents/{+path}","compare_url":"https://api.github.com/repos/sealink/docker-eb-deploy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sealink/docker-eb-deploy/merges","archive_url":"https://api.github.com/repos/sealink/docker-eb-deploy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sealink/docker-eb-deploy/downloads","issues_url":"https://api.github.com/repos/sealink/docker-eb-deploy/issues{/number}","pulls_url":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls{/number}","milestones_url":"https://api.github.com/repos/sealink/docker-eb-deploy/milestones{/number}","notifications_url":"https://api.github.com/repos/sealink/docker-eb-deploy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sealink/docker-eb-deploy/labels{/name}","releases_url":"https://api.github.com/repos/sealink/docker-eb-deploy/releases{/id}","deployments_url":"https://api.github.com/repos/sealink/docker-eb-deploy/deployments","created_at":"2016-05-20T06:07:44Z","updated_at":"2016-05-25T04:33:36Z","pushed_at":"2016-05-25T07:59:52Z","git_url":"git://github.com/sealink/docker-eb-deploy.git","ssh_url":"git@github.com:sealink/docker-eb-deploy.git","clone_url":"https://github.com/sealink/docker-eb-deploy.git","svn_url":"https://github.com/sealink/docker-eb-deploy","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"sealink:master","ref":"master","sha":"e88ef7b5581a94eb9cf724e62026041cc4f28587","user":{"login":"sealink","id":113649,"avatar_url":"https://avatars.githubusercontent.com/u/113649?v=3","gravatar_id":"","url":"https://api.github.com/users/sealink","html_url":"https://github.com/sealink","followers_url":"https://api.github.com/users/sealink/followers","following_url":"https://api.github.com/users/sealink/following{/other_user}","gists_url":"https://api.github.com/users/sealink/gists{/gist_id}","starred_url":"https://api.github.com/users/sealink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sealink/subscriptions","organizations_url":"https://api.github.com/users/sealink/orgs","repos_url":"https://api.github.com/users/sealink/repos","events_url":"https://api.github.com/users/sealink/events{/privacy}","received_events_url":"https://api.github.com/users/sealink/received_events","type":"Organization","site_admin":false},"repo":{"id":59269376,"name":"docker-eb-deploy","full_name":"sealink/docker-eb-deploy","owner":{"login":"sealink","id":113649,"avatar_url":"https://avatars.githubusercontent.com/u/113649?v=3","gravatar_id":"","url":"https://api.github.com/users/sealink","html_url":"https://github.com/sealink","followers_url":"https://api.github.com/users/sealink/followers","following_url":"https://api.github.com/users/sealink/following{/other_user}","gists_url":"https://api.github.com/users/sealink/gists{/gist_id}","starred_url":"https://api.github.com/users/sealink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sealink/subscriptions","organizations_url":"https://api.github.com/users/sealink/orgs","repos_url":"https://api.github.com/users/sealink/repos","events_url":"https://api.github.com/users/sealink/events{/privacy}","received_events_url":"https://api.github.com/users/sealink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sealink/docker-eb-deploy","description":"","fork":false,"url":"https://api.github.com/repos/sealink/docker-eb-deploy","forks_url":"https://api.github.com/repos/sealink/docker-eb-deploy/forks","keys_url":"https://api.github.com/repos/sealink/docker-eb-deploy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sealink/docker-eb-deploy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sealink/docker-eb-deploy/teams","hooks_url":"https://api.github.com/repos/sealink/docker-eb-deploy/hooks","issue_events_url":"https://api.github.com/repos/sealink/docker-eb-deploy/issues/events{/number}","events_url":"https://api.github.com/repos/sealink/docker-eb-deploy/events","assignees_url":"https://api.github.com/repos/sealink/docker-eb-deploy/assignees{/user}","branches_url":"https://api.github.com/repos/sealink/docker-eb-deploy/branches{/branch}","tags_url":"https://api.github.com/repos/sealink/docker-eb-deploy/tags","blobs_url":"https://api.github.com/repos/sealink/docker-eb-deploy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sealink/docker-eb-deploy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sealink/docker-eb-deploy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sealink/docker-eb-deploy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sealink/docker-eb-deploy/statuses/{sha}","languages_url":"https://api.github.com/repos/sealink/docker-eb-deploy/languages","stargazers_url":"https://api.github.com/repos/sealink/docker-eb-deploy/stargazers","contributors_url":"https://api.github.com/repos/sealink/docker-eb-deploy/contributors","subscribers_url":"https://api.github.com/repos/sealink/docker-eb-deploy/subscribers","subscription_url":"https://api.github.com/repos/sealink/docker-eb-deploy/subscription","commits_url":"https://api.github.com/repos/sealink/docker-eb-deploy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sealink/docker-eb-deploy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sealink/docker-eb-deploy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sealink/docker-eb-deploy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sealink/docker-eb-deploy/contents/{+path}","compare_url":"https://api.github.com/repos/sealink/docker-eb-deploy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sealink/docker-eb-deploy/merges","archive_url":"https://api.github.com/repos/sealink/docker-eb-deploy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sealink/docker-eb-deploy/downloads","issues_url":"https://api.github.com/repos/sealink/docker-eb-deploy/issues{/number}","pulls_url":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls{/number}","milestones_url":"https://api.github.com/repos/sealink/docker-eb-deploy/milestones{/number}","notifications_url":"https://api.github.com/repos/sealink/docker-eb-deploy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sealink/docker-eb-deploy/labels{/name}","releases_url":"https://api.github.com/repos/sealink/docker-eb-deploy/releases{/id}","deployments_url":"https://api.github.com/repos/sealink/docker-eb-deploy/deployments","created_at":"2016-05-20T06:07:44Z","updated_at":"2016-05-25T04:33:36Z","pushed_at":"2016-05-25T07:59:52Z","git_url":"git://github.com/sealink/docker-eb-deploy.git","ssh_url":"git@github.com:sealink/docker-eb-deploy.git","clone_url":"https://github.com/sealink/docker-eb-deploy.git","svn_url":"https://github.com/sealink/docker-eb-deploy","homepage":null,"size":15,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/3"},"html":{"href":"https://github.com/sealink/docker-eb-deploy/pull/3"},"issue":{"href":"https://api.github.com/repos/sealink/docker-eb-deploy/issues/3"},"comments":{"href":"https://api.github.com/repos/sealink/docker-eb-deploy/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sealink/docker-eb-deploy/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/sealink/docker-eb-deploy/statuses/38e4280ce94cf584323b0827b7638032d3e6960f"}}}}
{"actor":{"display_login":"AlessandroBerardi"}}