{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/olympia/pulls/comments/42430345","id":42430345,"diff_hunk":"@@ -1,5 +1,9 @@\n FROM mozillamarketplace/centos-mysql-mkt:0.2\n \n+# Copy the most recent git HEAD information so that we can debug\n+# the state of the docker image better\n+COPY .git/logs/HEAD /git-rev.txt","path":"Dockerfile","position":5,"original_position":5,"commit_id":"b677c1c62de0f243593c93ed5682975d85b98e37","original_commit_id":"b677c1c62de0f243593c93ed5682975d85b98e37","user":{"login":"kumar303","id":55398,"avatar_url":"https://avatars.githubusercontent.com/u/55398?v=3","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"body":"for me this file has a ton of revisions. Could it be something more like `RUN git log --pretty=oneline -1 ...` ?","created_at":"2015-10-19T21:47:05Z","updated_at":"2015-10-19T21:47:05Z","html_url":"https://github.com/mozilla/olympia/pull/823#discussion_r42430345","pull_request_url":"https://api.github.com/repos/mozilla/olympia/pulls/823","_links":{"self":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/comments/42430345"},"html":{"href":"https://github.com/mozilla/olympia/pull/823#discussion_r42430345"},"pull_request":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/823"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/olympia/pulls/823","id":48129559,"html_url":"https://github.com/mozilla/olympia/pull/823","diff_url":"https://github.com/mozilla/olympia/pull/823.diff","patch_url":"https://github.com/mozilla/olympia/pull/823.patch","issue_url":"https://api.github.com/repos/mozilla/olympia/issues/823","number":823,"state":"open","locked":false,"title":"Inject git information into container to see what revision the container is based on.","user":{"login":"EnTeQuAk","id":139033,"avatar_url":"https://avatars.githubusercontent.com/u/139033?v=3","gravatar_id":"","url":"https://api.github.com/users/EnTeQuAk","html_url":"https://github.com/EnTeQuAk","followers_url":"https://api.github.com/users/EnTeQuAk/followers","following_url":"https://api.github.com/users/EnTeQuAk/following{/other_user}","gists_url":"https://api.github.com/users/EnTeQuAk/gists{/gist_id}","starred_url":"https://api.github.com/users/EnTeQuAk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnTeQuAk/subscriptions","organizations_url":"https://api.github.com/users/EnTeQuAk/orgs","repos_url":"https://api.github.com/users/EnTeQuAk/repos","events_url":"https://api.github.com/users/EnTeQuAk/events{/privacy}","received_events_url":"https://api.github.com/users/EnTeQuAk/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-19T21:33:37Z","updated_at":"2015-10-19T21:47:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c210c9118f445e8ac2a7ab52daa9065277d5c862","assignee":{"login":"kumar303","id":55398,"avatar_url":"https://avatars.githubusercontent.com/u/55398?v=3","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/olympia/pulls/823/commits","review_comments_url":"https://api.github.com/repos/mozilla/olympia/pulls/823/comments","review_comment_url":"https://api.github.com/repos/mozilla/olympia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/olympia/issues/823/comments","statuses_url":"https://api.github.com/repos/mozilla/olympia/statuses/b677c1c62de0f243593c93ed5682975d85b98e37","head":{"label":"EnTeQuAk:feature/inject-git-rev-to-docker","ref":"feature/inject-git-rev-to-docker","sha":"b677c1c62de0f243593c93ed5682975d85b98e37","user":{"login":"EnTeQuAk","id":139033,"avatar_url":"https://avatars.githubusercontent.com/u/139033?v=3","gravatar_id":"","url":"https://api.github.com/users/EnTeQuAk","html_url":"https://github.com/EnTeQuAk","followers_url":"https://api.github.com/users/EnTeQuAk/followers","following_url":"https://api.github.com/users/EnTeQuAk/following{/other_user}","gists_url":"https://api.github.com/users/EnTeQuAk/gists{/gist_id}","starred_url":"https://api.github.com/users/EnTeQuAk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnTeQuAk/subscriptions","organizations_url":"https://api.github.com/users/EnTeQuAk/orgs","repos_url":"https://api.github.com/users/EnTeQuAk/repos","events_url":"https://api.github.com/users/EnTeQuAk/events{/privacy}","received_events_url":"https://api.github.com/users/EnTeQuAk/received_events","type":"User","site_admin":false},"repo":{"id":44558843,"name":"olympia","full_name":"EnTeQuAk/olympia","owner":{"login":"EnTeQuAk","id":139033,"avatar_url":"https://avatars.githubusercontent.com/u/139033?v=3","gravatar_id":"","url":"https://api.github.com/users/EnTeQuAk","html_url":"https://github.com/EnTeQuAk","followers_url":"https://api.github.com/users/EnTeQuAk/followers","following_url":"https://api.github.com/users/EnTeQuAk/following{/other_user}","gists_url":"https://api.github.com/users/EnTeQuAk/gists{/gist_id}","starred_url":"https://api.github.com/users/EnTeQuAk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnTeQuAk/subscriptions","organizations_url":"https://api.github.com/users/EnTeQuAk/orgs","repos_url":"https://api.github.com/users/EnTeQuAk/repos","events_url":"https://api.github.com/users/EnTeQuAk/events{/privacy}","received_events_url":"https://api.github.com/users/EnTeQuAk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EnTeQuAk/olympia","description":"addons.mozilla.org, reloaded.","fork":true,"url":"https://api.github.com/repos/EnTeQuAk/olympia","forks_url":"https://api.github.com/repos/EnTeQuAk/olympia/forks","keys_url":"https://api.github.com/repos/EnTeQuAk/olympia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EnTeQuAk/olympia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EnTeQuAk/olympia/teams","hooks_url":"https://api.github.com/repos/EnTeQuAk/olympia/hooks","issue_events_url":"https://api.github.com/repos/EnTeQuAk/olympia/issues/events{/number}","events_url":"https://api.github.com/repos/EnTeQuAk/olympia/events","assignees_url":"https://api.github.com/repos/EnTeQuAk/olympia/assignees{/user}","branches_url":"https://api.github.com/repos/EnTeQuAk/olympia/branches{/branch}","tags_url":"https://api.github.com/repos/EnTeQuAk/olympia/tags","blobs_url":"https://api.github.com/repos/EnTeQuAk/olympia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EnTeQuAk/olympia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EnTeQuAk/olympia/git/refs{/sha}","trees_url":"https://api.github.com/repos/EnTeQuAk/olympia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EnTeQuAk/olympia/statuses/{sha}","languages_url":"https://api.github.com/repos/EnTeQuAk/olympia/languages","stargazers_url":"https://api.github.com/repos/EnTeQuAk/olympia/stargazers","contributors_url":"https://api.github.com/repos/EnTeQuAk/olympia/contributors","subscribers_url":"https://api.github.com/repos/EnTeQuAk/olympia/subscribers","subscription_url":"https://api.github.com/repos/EnTeQuAk/olympia/subscription","commits_url":"https://api.github.com/repos/EnTeQuAk/olympia/commits{/sha}","git_commits_url":"https://api.github.com/repos/EnTeQuAk/olympia/git/commits{/sha}","comments_url":"https://api.github.com/repos/EnTeQuAk/olympia/comments{/number}","issue_comment_url":"https://api.github.com/repos/EnTeQuAk/olympia/issues/comments{/number}","contents_url":"https://api.github.com/repos/EnTeQuAk/olympia/contents/{+path}","compare_url":"https://api.github.com/repos/EnTeQuAk/olympia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EnTeQuAk/olympia/merges","archive_url":"https://api.github.com/repos/EnTeQuAk/olympia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EnTeQuAk/olympia/downloads","issues_url":"https://api.github.com/repos/EnTeQuAk/olympia/issues{/number}","pulls_url":"https://api.github.com/repos/EnTeQuAk/olympia/pulls{/number}","milestones_url":"https://api.github.com/repos/EnTeQuAk/olympia/milestones{/number}","notifications_url":"https://api.github.com/repos/EnTeQuAk/olympia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EnTeQuAk/olympia/labels{/name}","releases_url":"https://api.github.com/repos/EnTeQuAk/olympia/releases{/id}","created_at":"2015-10-19T19:35:19Z","updated_at":"2015-10-19T19:36:00Z","pushed_at":"2015-10-19T21:33:18Z","git_url":"git://github.com/EnTeQuAk/olympia.git","ssh_url":"git@github.com:EnTeQuAk/olympia.git","clone_url":"https://github.com/EnTeQuAk/olympia.git","svn_url":"https://github.com/EnTeQuAk/olympia","homepage":"https://addons.mozilla.org/","size":484566,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"mozilla:master","ref":"master","sha":"992af7a30f92418b83d38907e8fb65b4efb8c608","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":16416867,"name":"olympia","full_name":"mozilla/olympia","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/olympia","description":"addons.mozilla.org, reloaded.","fork":false,"url":"https://api.github.com/repos/mozilla/olympia","forks_url":"https://api.github.com/repos/mozilla/olympia/forks","keys_url":"https://api.github.com/repos/mozilla/olympia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/olympia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/olympia/teams","hooks_url":"https://api.github.com/repos/mozilla/olympia/hooks","issue_events_url":"https://api.github.com/repos/mozilla/olympia/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/olympia/events","assignees_url":"https://api.github.com/repos/mozilla/olympia/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/olympia/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/olympia/tags","blobs_url":"https://api.github.com/repos/mozilla/olympia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/olympia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/olympia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/olympia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/olympia/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/olympia/languages","stargazers_url":"https://api.github.com/repos/mozilla/olympia/stargazers","contributors_url":"https://api.github.com/repos/mozilla/olympia/contributors","subscribers_url":"https://api.github.com/repos/mozilla/olympia/subscribers","subscription_url":"https://api.github.com/repos/mozilla/olympia/subscription","commits_url":"https://api.github.com/repos/mozilla/olympia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/olympia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/olympia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/olympia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/olympia/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/olympia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/olympia/merges","archive_url":"https://api.github.com/repos/mozilla/olympia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/olympia/downloads","issues_url":"https://api.github.com/repos/mozilla/olympia/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/olympia/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/olympia/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/olympia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/olympia/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/olympia/releases{/id}","created_at":"2014-01-31T18:44:15Z","updated_at":"2015-10-17T09:43:14Z","pushed_at":"2015-10-19T21:33:45Z","git_url":"git://github.com/mozilla/olympia.git","ssh_url":"git@github.com:mozilla/olympia.git","clone_url":"https://github.com/mozilla/olympia.git","svn_url":"https://github.com/mozilla/olympia","homepage":"https://addons.mozilla.org/","size":484566,"stargazers_count":57,"watchers_count":57,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":114,"mirror_url":null,"open_issues_count":14,"forks":114,"open_issues":14,"watchers":57,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/823"},"html":{"href":"https://github.com/mozilla/olympia/pull/823"},"issue":{"href":"https://api.github.com/repos/mozilla/olympia/issues/823"},"comments":{"href":"https://api.github.com/repos/mozilla/olympia/issues/823/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/823/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/olympia/pulls/823/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/olympia/statuses/b677c1c62de0f243593c93ed5682975d85b98e37"}}}}