{"action":"created","comment":{"url":"https://api.github.com/repos/projectatomic/osbs-client/pulls/comments/62025189","id":62025189,"diff_hunk":"@@ -732,6 +737,11 @@ def render(self, validate=True):\n             self.spec.validate()\n         super(ProductionBuild, self).render()\n \n+        repo_name = git_repo_humanish_part_from_uri(self.spec.git_uri.value)\n+        # What about forked repos?","path":"osbs/build/build_request.py","position":26,"original_position":26,"commit_id":"beba729f2dc34b6c988d0441f33dccd9f1fa56df","original_commit_id":"beba729f2dc34b6c988d0441f33dccd9f1fa56df","user":{"login":"twaugh","id":6985468,"avatar_url":"https://avatars.githubusercontent.com/u/6985468?v=3","gravatar_id":"","url":"https://api.github.com/users/twaugh","html_url":"https://github.com/twaugh","followers_url":"https://api.github.com/users/twaugh/followers","following_url":"https://api.github.com/users/twaugh/following{/other_user}","gists_url":"https://api.github.com/users/twaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/twaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twaugh/subscriptions","organizations_url":"https://api.github.com/users/twaugh/orgs","repos_url":"https://api.github.com/users/twaugh/repos","events_url":"https://api.github.com/users/twaugh/events{/privacy}","received_events_url":"https://api.github.com/users/twaugh/received_events","type":"User","site_admin":false},"body":"That's true. I was hoping to keep things human readable if possible, even labels.","created_at":"2016-05-04T11:42:40Z","updated_at":"2016-05-04T11:42:40Z","html_url":"https://github.com/projectatomic/osbs-client/pull/405#discussion_r62025189","pull_request_url":"https://api.github.com/repos/projectatomic/osbs-client/pulls/405","_links":{"self":{"href":"https://api.github.com/repos/projectatomic/osbs-client/pulls/comments/62025189"},"html":{"href":"https://github.com/projectatomic/osbs-client/pull/405#discussion_r62025189"},"pull_request":{"href":"https://api.github.com/repos/projectatomic/osbs-client/pulls/405"}}},"pull_request":{"url":"https://api.github.com/repos/projectatomic/osbs-client/pulls/405","id":68597416,"html_url":"https://github.com/projectatomic/osbs-client/pull/405","diff_url":"https://github.com/projectatomic/osbs-client/pull/405.diff","patch_url":"https://github.com/projectatomic/osbs-client/pull/405.patch","issue_url":"https://api.github.com/repos/projectatomic/osbs-client/issues/405","number":405,"state":"open","locked":false,"title":"Limit length of build names","user":{"login":"lcarva","id":5272931,"avatar_url":"https://avatars.githubusercontent.com/u/5272931?v=3","gravatar_id":"","url":"https://api.github.com/users/lcarva","html_url":"https://github.com/lcarva","followers_url":"https://api.github.com/users/lcarva/followers","following_url":"https://api.github.com/users/lcarva/following{/other_user}","gists_url":"https://api.github.com/users/lcarva/gists{/gist_id}","starred_url":"https://api.github.com/users/lcarva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcarva/subscriptions","organizations_url":"https://api.github.com/users/lcarva/orgs","repos_url":"https://api.github.com/users/lcarva/repos","events_url":"https://api.github.com/users/lcarva/events{/privacy}","received_events_url":"https://api.github.com/users/lcarva/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-02T18:14:36Z","updated_at":"2016-05-04T11:42:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a3bbbe72cd13ef1e749b7fb09682a74b2a8b7752","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projectatomic/osbs-client/pulls/405/commits","review_comments_url":"https://api.github.com/repos/projectatomic/osbs-client/pulls/405/comments","review_comment_url":"https://api.github.com/repos/projectatomic/osbs-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectatomic/osbs-client/issues/405/comments","statuses_url":"https://api.github.com/repos/projectatomic/osbs-client/statuses/beba729f2dc34b6c988d0441f33dccd9f1fa56df","head":{"label":"lcarva:build-name-size-limit","ref":"build-name-size-limit","sha":"beba729f2dc34b6c988d0441f33dccd9f1fa56df","user":{"login":"lcarva","id":5272931,"avatar_url":"https://avatars.githubusercontent.com/u/5272931?v=3","gravatar_id":"","url":"https://api.github.com/users/lcarva","html_url":"https://github.com/lcarva","followers_url":"https://api.github.com/users/lcarva/followers","following_url":"https://api.github.com/users/lcarva/following{/other_user}","gists_url":"https://api.github.com/users/lcarva/gists{/gist_id}","starred_url":"https://api.github.com/users/lcarva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcarva/subscriptions","organizations_url":"https://api.github.com/users/lcarva/orgs","repos_url":"https://api.github.com/users/lcarva/repos","events_url":"https://api.github.com/users/lcarva/events{/privacy}","received_events_url":"https://api.github.com/users/lcarva/received_events","type":"User","site_admin":false},"repo":{"id":56876972,"name":"osbs-client","full_name":"lcarva/osbs-client","owner":{"login":"lcarva","id":5272931,"avatar_url":"https://avatars.githubusercontent.com/u/5272931?v=3","gravatar_id":"","url":"https://api.github.com/users/lcarva","html_url":"https://github.com/lcarva","followers_url":"https://api.github.com/users/lcarva/followers","following_url":"https://api.github.com/users/lcarva/following{/other_user}","gists_url":"https://api.github.com/users/lcarva/gists{/gist_id}","starred_url":"https://api.github.com/users/lcarva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcarva/subscriptions","organizations_url":"https://api.github.com/users/lcarva/orgs","repos_url":"https://api.github.com/users/lcarva/repos","events_url":"https://api.github.com/users/lcarva/events{/privacy}","received_events_url":"https://api.github.com/users/lcarva/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lcarva/osbs-client","description":"client for OpenShift Build Service","fork":true,"url":"https://api.github.com/repos/lcarva/osbs-client","forks_url":"https://api.github.com/repos/lcarva/osbs-client/forks","keys_url":"https://api.github.com/repos/lcarva/osbs-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lcarva/osbs-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lcarva/osbs-client/teams","hooks_url":"https://api.github.com/repos/lcarva/osbs-client/hooks","issue_events_url":"https://api.github.com/repos/lcarva/osbs-client/issues/events{/number}","events_url":"https://api.github.com/repos/lcarva/osbs-client/events","assignees_url":"https://api.github.com/repos/lcarva/osbs-client/assignees{/user}","branches_url":"https://api.github.com/repos/lcarva/osbs-client/branches{/branch}","tags_url":"https://api.github.com/repos/lcarva/osbs-client/tags","blobs_url":"https://api.github.com/repos/lcarva/osbs-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lcarva/osbs-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lcarva/osbs-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/lcarva/osbs-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lcarva/osbs-client/statuses/{sha}","languages_url":"https://api.github.com/repos/lcarva/osbs-client/languages","stargazers_url":"https://api.github.com/repos/lcarva/osbs-client/stargazers","contributors_url":"https://api.github.com/repos/lcarva/osbs-client/contributors","subscribers_url":"https://api.github.com/repos/lcarva/osbs-client/subscribers","subscription_url":"https://api.github.com/repos/lcarva/osbs-client/subscription","commits_url":"https://api.github.com/repos/lcarva/osbs-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/lcarva/osbs-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/lcarva/osbs-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/lcarva/osbs-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/lcarva/osbs-client/contents/{+path}","compare_url":"https://api.github.com/repos/lcarva/osbs-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lcarva/osbs-client/merges","archive_url":"https://api.github.com/repos/lcarva/osbs-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lcarva/osbs-client/downloads","issues_url":"https://api.github.com/repos/lcarva/osbs-client/issues{/number}","pulls_url":"https://api.github.com/repos/lcarva/osbs-client/pulls{/number}","milestones_url":"https://api.github.com/repos/lcarva/osbs-client/milestones{/number}","notifications_url":"https://api.github.com/repos/lcarva/osbs-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lcarva/osbs-client/labels{/name}","releases_url":"https://api.github.com/repos/lcarva/osbs-client/releases{/id}","deployments_url":"https://api.github.com/repos/lcarva/osbs-client/deployments","created_at":"2016-04-22T18:28:14Z","updated_at":"2016-04-22T18:28:16Z","pushed_at":"2016-05-02T18:20:13Z","git_url":"git://github.com/lcarva/osbs-client.git","ssh_url":"git@github.com:lcarva/osbs-client.git","clone_url":"https://github.com/lcarva/osbs-client.git","svn_url":"https://github.com/lcarva/osbs-client","homepage":null,"size":992,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"projectatomic:master","ref":"master","sha":"a9b64abb7818b02d4f911dcc283d9f40827c12cc","user":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"repo":{"id":31409916,"name":"osbs-client","full_name":"projectatomic/osbs-client","owner":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectatomic/osbs-client","description":"client for OpenShift Build Service","fork":false,"url":"https://api.github.com/repos/projectatomic/osbs-client","forks_url":"https://api.github.com/repos/projectatomic/osbs-client/forks","keys_url":"https://api.github.com/repos/projectatomic/osbs-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectatomic/osbs-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectatomic/osbs-client/teams","hooks_url":"https://api.github.com/repos/projectatomic/osbs-client/hooks","issue_events_url":"https://api.github.com/repos/projectatomic/osbs-client/issues/events{/number}","events_url":"https://api.github.com/repos/projectatomic/osbs-client/events","assignees_url":"https://api.github.com/repos/projectatomic/osbs-client/assignees{/user}","branches_url":"https://api.github.com/repos/projectatomic/osbs-client/branches{/branch}","tags_url":"https://api.github.com/repos/projectatomic/osbs-client/tags","blobs_url":"https://api.github.com/repos/projectatomic/osbs-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectatomic/osbs-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectatomic/osbs-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectatomic/osbs-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectatomic/osbs-client/statuses/{sha}","languages_url":"https://api.github.com/repos/projectatomic/osbs-client/languages","stargazers_url":"https://api.github.com/repos/projectatomic/osbs-client/stargazers","contributors_url":"https://api.github.com/repos/projectatomic/osbs-client/contributors","subscribers_url":"https://api.github.com/repos/projectatomic/osbs-client/subscribers","subscription_url":"https://api.github.com/repos/projectatomic/osbs-client/subscription","commits_url":"https://api.github.com/repos/projectatomic/osbs-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectatomic/osbs-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectatomic/osbs-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectatomic/osbs-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectatomic/osbs-client/contents/{+path}","compare_url":"https://api.github.com/repos/projectatomic/osbs-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectatomic/osbs-client/merges","archive_url":"https://api.github.com/repos/projectatomic/osbs-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectatomic/osbs-client/downloads","issues_url":"https://api.github.com/repos/projectatomic/osbs-client/issues{/number}","pulls_url":"https://api.github.com/repos/projectatomic/osbs-client/pulls{/number}","milestones_url":"https://api.github.com/repos/projectatomic/osbs-client/milestones{/number}","notifications_url":"https://api.github.com/repos/projectatomic/osbs-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectatomic/osbs-client/labels{/name}","releases_url":"https://api.github.com/repos/projectatomic/osbs-client/releases{/id}","deployments_url":"https://api.github.com/repos/projectatomic/osbs-client/deployments","created_at":"2015-02-27T08:20:07Z","updated_at":"2016-04-19T08:44:26Z","pushed_at":"2016-05-03T09:09:35Z","git_url":"git://github.com/projectatomic/osbs-client.git","ssh_url":"git@github.com:projectatomic/osbs-client.git","clone_url":"https://github.com/projectatomic/osbs-client.git","svn_url":"https://github.com/projectatomic/osbs-client","homepage":null,"size":1091,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":42,"forks":13,"open_issues":42,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectatomic/osbs-client/pulls/405"},"html":{"href":"https://github.com/projectatomic/osbs-client/pull/405"},"issue":{"href":"https://api.github.com/repos/projectatomic/osbs-client/issues/405"},"comments":{"href":"https://api.github.com/repos/projectatomic/osbs-client/issues/405/comments"},"review_comments":{"href":"https://api.github.com/repos/projectatomic/osbs-client/pulls/405/comments"},"review_comment":{"href":"https://api.github.com/repos/projectatomic/osbs-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectatomic/osbs-client/pulls/405/commits"},"statuses":{"href":"https://api.github.com/repos/projectatomic/osbs-client/statuses/beba729f2dc34b6c988d0441f33dccd9f1fa56df"}}}}