{"action":"created","comment":{"url":"https://api.github.com/repos/openshift/source-to-image/pulls/comments/36742899","id":36742899,"diff_hunk":"@@ -62,6 +62,9 @@ type Config struct {\n \t// variables.\n \tEnvironmentFile string\n \n+\t// BuildNamespace provides the namespace under which the labels will be generated.\n+\tBuildNamespaceLabel string","path":"pkg/api/types.go","position":5,"original_position":5,"commit_id":"8fbe851670299e70999db8f034241c02ed28daf4","original_commit_id":"8fbe851670299e70999db8f034241c02ed28daf4","user":{"login":"rhcarvalho","id":88819,"avatar_url":"https://avatars.githubusercontent.com/u/88819?v=3","gravatar_id":"","url":"https://api.github.com/users/rhcarvalho","html_url":"https://github.com/rhcarvalho","followers_url":"https://api.github.com/users/rhcarvalho/followers","following_url":"https://api.github.com/users/rhcarvalho/following{/other_user}","gists_url":"https://api.github.com/users/rhcarvalho/gists{/gist_id}","starred_url":"https://api.github.com/users/rhcarvalho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhcarvalho/subscriptions","organizations_url":"https://api.github.com/users/rhcarvalho/orgs","repos_url":"https://api.github.com/users/rhcarvalho/repos","events_url":"https://api.github.com/users/rhcarvalho/events{/privacy}","received_events_url":"https://api.github.com/users/rhcarvalho/received_events","type":"User","site_admin":false},"body":"Hey, the value of that field is the namespace of the label, not the label of the namespace, therefore should be `NamespaceLabel`.","created_at":"2015-08-11T13:18:44Z","updated_at":"2015-08-11T13:18:44Z","html_url":"https://github.com/openshift/source-to-image/pull/255#discussion_r36742899","pull_request_url":"https://api.github.com/repos/openshift/source-to-image/pulls/255","_links":{"self":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/comments/36742899"},"html":{"href":"https://github.com/openshift/source-to-image/pull/255#discussion_r36742899"},"pull_request":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/255"}}},"pull_request":{"url":"https://api.github.com/repos/openshift/source-to-image/pulls/255","id":42029623,"html_url":"https://github.com/openshift/source-to-image/pull/255","diff_url":"https://github.com/openshift/source-to-image/pull/255.diff","patch_url":"https://github.com/openshift/source-to-image/pull/255.patch","issue_url":"https://api.github.com/repos/openshift/source-to-image/issues/255","number":255,"state":"open","locked":false,"title":"Adding build labels","user":{"login":"jhadvig","id":1668218,"avatar_url":"https://avatars.githubusercontent.com/u/1668218?v=3","gravatar_id":"","url":"https://api.github.com/users/jhadvig","html_url":"https://github.com/jhadvig","followers_url":"https://api.github.com/users/jhadvig/followers","following_url":"https://api.github.com/users/jhadvig/following{/other_user}","gists_url":"https://api.github.com/users/jhadvig/gists{/gist_id}","starred_url":"https://api.github.com/users/jhadvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhadvig/subscriptions","organizations_url":"https://api.github.com/users/jhadvig/orgs","repos_url":"https://api.github.com/users/jhadvig/repos","events_url":"https://api.github.com/users/jhadvig/events{/privacy}","received_events_url":"https://api.github.com/users/jhadvig/received_events","type":"User","site_admin":false},"body":"Adding labels that contain information about the build source.\r\n@bparees @soltysh PTAL\r\n\r\nThis is the first part of the 'Adding build labels' effort.\r\n\r\nHere is the second part: https://github.com/openshift/origin/pull/4079\r\n","created_at":"2015-08-10T15:03:13Z","updated_at":"2015-08-11T13:18:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"465e1db9dec604d80c0ff3a8d08a01203af49599","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openshift/source-to-image/pulls/255/commits","review_comments_url":"https://api.github.com/repos/openshift/source-to-image/pulls/255/comments","review_comment_url":"https://api.github.com/repos/openshift/source-to-image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openshift/source-to-image/issues/255/comments","statuses_url":"https://api.github.com/repos/openshift/source-to-image/statuses/8fbe851670299e70999db8f034241c02ed28daf4","head":{"label":"jhadvig:build-labels","ref":"build-labels","sha":"8fbe851670299e70999db8f034241c02ed28daf4","user":{"login":"jhadvig","id":1668218,"avatar_url":"https://avatars.githubusercontent.com/u/1668218?v=3","gravatar_id":"","url":"https://api.github.com/users/jhadvig","html_url":"https://github.com/jhadvig","followers_url":"https://api.github.com/users/jhadvig/followers","following_url":"https://api.github.com/users/jhadvig/following{/other_user}","gists_url":"https://api.github.com/users/jhadvig/gists{/gist_id}","starred_url":"https://api.github.com/users/jhadvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhadvig/subscriptions","organizations_url":"https://api.github.com/users/jhadvig/orgs","repos_url":"https://api.github.com/users/jhadvig/repos","events_url":"https://api.github.com/users/jhadvig/events{/privacy}","received_events_url":"https://api.github.com/users/jhadvig/received_events","type":"User","site_admin":false},"repo":{"id":31252963,"name":"source-to-image","full_name":"jhadvig/source-to-image","owner":{"login":"jhadvig","id":1668218,"avatar_url":"https://avatars.githubusercontent.com/u/1668218?v=3","gravatar_id":"","url":"https://api.github.com/users/jhadvig","html_url":"https://github.com/jhadvig","followers_url":"https://api.github.com/users/jhadvig/followers","following_url":"https://api.github.com/users/jhadvig/following{/other_user}","gists_url":"https://api.github.com/users/jhadvig/gists{/gist_id}","starred_url":"https://api.github.com/users/jhadvig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhadvig/subscriptions","organizations_url":"https://api.github.com/users/jhadvig/orgs","repos_url":"https://api.github.com/users/jhadvig/repos","events_url":"https://api.github.com/users/jhadvig/events{/privacy}","received_events_url":"https://api.github.com/users/jhadvig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhadvig/source-to-image","description":"A tool for building/building artifacts from source and injecting into docker images","fork":true,"url":"https://api.github.com/repos/jhadvig/source-to-image","forks_url":"https://api.github.com/repos/jhadvig/source-to-image/forks","keys_url":"https://api.github.com/repos/jhadvig/source-to-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhadvig/source-to-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhadvig/source-to-image/teams","hooks_url":"https://api.github.com/repos/jhadvig/source-to-image/hooks","issue_events_url":"https://api.github.com/repos/jhadvig/source-to-image/issues/events{/number}","events_url":"https://api.github.com/repos/jhadvig/source-to-image/events","assignees_url":"https://api.github.com/repos/jhadvig/source-to-image/assignees{/user}","branches_url":"https://api.github.com/repos/jhadvig/source-to-image/branches{/branch}","tags_url":"https://api.github.com/repos/jhadvig/source-to-image/tags","blobs_url":"https://api.github.com/repos/jhadvig/source-to-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhadvig/source-to-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhadvig/source-to-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhadvig/source-to-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhadvig/source-to-image/statuses/{sha}","languages_url":"https://api.github.com/repos/jhadvig/source-to-image/languages","stargazers_url":"https://api.github.com/repos/jhadvig/source-to-image/stargazers","contributors_url":"https://api.github.com/repos/jhadvig/source-to-image/contributors","subscribers_url":"https://api.github.com/repos/jhadvig/source-to-image/subscribers","subscription_url":"https://api.github.com/repos/jhadvig/source-to-image/subscription","commits_url":"https://api.github.com/repos/jhadvig/source-to-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhadvig/source-to-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhadvig/source-to-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhadvig/source-to-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhadvig/source-to-image/contents/{+path}","compare_url":"https://api.github.com/repos/jhadvig/source-to-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhadvig/source-to-image/merges","archive_url":"https://api.github.com/repos/jhadvig/source-to-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhadvig/source-to-image/downloads","issues_url":"https://api.github.com/repos/jhadvig/source-to-image/issues{/number}","pulls_url":"https://api.github.com/repos/jhadvig/source-to-image/pulls{/number}","milestones_url":"https://api.github.com/repos/jhadvig/source-to-image/milestones{/number}","notifications_url":"https://api.github.com/repos/jhadvig/source-to-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhadvig/source-to-image/labels{/name}","releases_url":"https://api.github.com/repos/jhadvig/source-to-image/releases{/id}","created_at":"2015-02-24T09:29:56Z","updated_at":"2015-02-24T09:29:57Z","pushed_at":"2015-08-10T14:41:20Z","git_url":"git://github.com/jhadvig/source-to-image.git","ssh_url":"git@github.com:jhadvig/source-to-image.git","clone_url":"https://github.com/jhadvig/source-to-image.git","svn_url":"https://github.com/jhadvig/source-to-image","homepage":"","size":1052,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"openshift:master","ref":"master","sha":"5631099c15c5dee4cb9f2b3b9ffd4da1e7236a55","user":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"repo":{"id":16323162,"name":"source-to-image","full_name":"openshift/source-to-image","owner":{"login":"openshift","id":792337,"avatar_url":"https://avatars.githubusercontent.com/u/792337?v=3","gravatar_id":"","url":"https://api.github.com/users/openshift","html_url":"https://github.com/openshift","followers_url":"https://api.github.com/users/openshift/followers","following_url":"https://api.github.com/users/openshift/following{/other_user}","gists_url":"https://api.github.com/users/openshift/gists{/gist_id}","starred_url":"https://api.github.com/users/openshift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openshift/subscriptions","organizations_url":"https://api.github.com/users/openshift/orgs","repos_url":"https://api.github.com/users/openshift/repos","events_url":"https://api.github.com/users/openshift/events{/privacy}","received_events_url":"https://api.github.com/users/openshift/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openshift/source-to-image","description":"A tool for building/building artifacts from source and injecting into docker images","fork":false,"url":"https://api.github.com/repos/openshift/source-to-image","forks_url":"https://api.github.com/repos/openshift/source-to-image/forks","keys_url":"https://api.github.com/repos/openshift/source-to-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openshift/source-to-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openshift/source-to-image/teams","hooks_url":"https://api.github.com/repos/openshift/source-to-image/hooks","issue_events_url":"https://api.github.com/repos/openshift/source-to-image/issues/events{/number}","events_url":"https://api.github.com/repos/openshift/source-to-image/events","assignees_url":"https://api.github.com/repos/openshift/source-to-image/assignees{/user}","branches_url":"https://api.github.com/repos/openshift/source-to-image/branches{/branch}","tags_url":"https://api.github.com/repos/openshift/source-to-image/tags","blobs_url":"https://api.github.com/repos/openshift/source-to-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openshift/source-to-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openshift/source-to-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/openshift/source-to-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openshift/source-to-image/statuses/{sha}","languages_url":"https://api.github.com/repos/openshift/source-to-image/languages","stargazers_url":"https://api.github.com/repos/openshift/source-to-image/stargazers","contributors_url":"https://api.github.com/repos/openshift/source-to-image/contributors","subscribers_url":"https://api.github.com/repos/openshift/source-to-image/subscribers","subscription_url":"https://api.github.com/repos/openshift/source-to-image/subscription","commits_url":"https://api.github.com/repos/openshift/source-to-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/openshift/source-to-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/openshift/source-to-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/openshift/source-to-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/openshift/source-to-image/contents/{+path}","compare_url":"https://api.github.com/repos/openshift/source-to-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openshift/source-to-image/merges","archive_url":"https://api.github.com/repos/openshift/source-to-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openshift/source-to-image/downloads","issues_url":"https://api.github.com/repos/openshift/source-to-image/issues{/number}","pulls_url":"https://api.github.com/repos/openshift/source-to-image/pulls{/number}","milestones_url":"https://api.github.com/repos/openshift/source-to-image/milestones{/number}","notifications_url":"https://api.github.com/repos/openshift/source-to-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openshift/source-to-image/labels{/name}","releases_url":"https://api.github.com/repos/openshift/source-to-image/releases{/id}","created_at":"2014-01-28T19:32:40Z","updated_at":"2015-08-11T03:19:32Z","pushed_at":"2015-08-10T21:38:26Z","git_url":"git://github.com/openshift/source-to-image.git","ssh_url":"git@github.com:openshift/source-to-image.git","clone_url":"https://github.com/openshift/source-to-image.git","svn_url":"https://github.com/openshift/source-to-image","homepage":"","size":2143,"stargazers_count":114,"watchers_count":114,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":15,"forks":51,"open_issues":15,"watchers":114,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/255"},"html":{"href":"https://github.com/openshift/source-to-image/pull/255"},"issue":{"href":"https://api.github.com/repos/openshift/source-to-image/issues/255"},"comments":{"href":"https://api.github.com/repos/openshift/source-to-image/issues/255/comments"},"review_comments":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/255/comments"},"review_comment":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openshift/source-to-image/pulls/255/commits"},"statuses":{"href":"https://api.github.com/repos/openshift/source-to-image/statuses/8fbe851670299e70999db8f034241c02ed28daf4"}}}}