{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/balrog/pulls/comments/56155259","id":56155259,"diff_hunk":"@@ -148,3 +148,10 @@ class CompleteReleaseForm(Form):\n     product = StringField('Product', validators=[Required()])\n     blob = JSONStringField('Data', validators=[Required()], widget=FileInput())\n     data_version = IntegerField('data_version', widget=HiddenInput())\n+\n+\n+class ReadOnlyForm(Form):\n+    name = StringField('Name', validators=[Required()])\n+    product = StringField('Product', validators=[Required()])","path":"auslib/admin/views/forms.py","position":17,"original_position":17,"commit_id":"82d3745bad2244f43307e861b6957c1e3c027ad0","original_commit_id":"82d3745bad2244f43307e861b6957c1e3c027ad0","user":{"login":"bhearsum","id":49649,"avatar_url":"https://avatars.githubusercontent.com/u/49649?v=3","gravatar_id":"","url":"https://api.github.com/users/bhearsum","html_url":"https://github.com/bhearsum","followers_url":"https://api.github.com/users/bhearsum/followers","following_url":"https://api.github.com/users/bhearsum/following{/other_user}","gists_url":"https://api.github.com/users/bhearsum/gists{/gist_id}","starred_url":"https://api.github.com/users/bhearsum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bhearsum/subscriptions","organizations_url":"https://api.github.com/users/bhearsum/orgs","repos_url":"https://api.github.com/users/bhearsum/repos","events_url":"https://api.github.com/users/bhearsum/events{/privacy}","received_events_url":"https://api.github.com/users/bhearsum/received_events","type":"User","site_admin":false},"body":"Is there a reason \"product\" is required here?","created_at":"2016-03-15T12:37:35Z","updated_at":"2016-03-15T12:37:35Z","html_url":"https://github.com/mozilla/balrog/pull/56#discussion_r56155259","pull_request_url":"https://api.github.com/repos/mozilla/balrog/pulls/56","_links":{"self":{"href":"https://api.github.com/repos/mozilla/balrog/pulls/comments/56155259"},"html":{"href":"https://github.com/mozilla/balrog/pull/56#discussion_r56155259"},"pull_request":{"href":"https://api.github.com/repos/mozilla/balrog/pulls/56"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/balrog/pulls/56","id":61567113,"html_url":"https://github.com/mozilla/balrog/pull/56","diff_url":"https://github.com/mozilla/balrog/pull/56.diff","patch_url":"https://github.com/mozilla/balrog/pull/56.patch","issue_url":"https://api.github.com/repos/mozilla/balrog/issues/56","number":56,"state":"open","locked":false,"title":"Bug 1127875 - add ability to mark releases as read only","user":{"login":"nurav","id":5903191,"avatar_url":"https://avatars.githubusercontent.com/u/5903191?v=3","gravatar_id":"","url":"https://api.github.com/users/nurav","html_url":"https://github.com/nurav","followers_url":"https://api.github.com/users/nurav/followers","following_url":"https://api.github.com/users/nurav/following{/other_user}","gists_url":"https://api.github.com/users/nurav/gists{/gist_id}","starred_url":"https://api.github.com/users/nurav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nurav/subscriptions","organizations_url":"https://api.github.com/users/nurav/orgs","repos_url":"https://api.github.com/users/nurav/repos","events_url":"https://api.github.com/users/nurav/events{/privacy}","received_events_url":"https://api.github.com/users/nurav/received_events","type":"User","site_admin":false},"body":"Defined a new endpoint and permission `/releases/:name/read_only`, and added column `read_only` to the releases table.\r\n\r\nReleases can be marked as read only by anyone with the `/releases/:name/read_only` permission, but can be set to read write again only by an admin account.","created_at":"2016-03-03T14:33:57Z","updated_at":"2016-03-15T12:37:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7721eeb7ba4995d409780b72d133dae136c4a696","assignee":{"login":"nurav","id":5903191,"avatar_url":"https://avatars.githubusercontent.com/u/5903191?v=3","gravatar_id":"","url":"https://api.github.com/users/nurav","html_url":"https://github.com/nurav","followers_url":"https://api.github.com/users/nurav/followers","following_url":"https://api.github.com/users/nurav/following{/other_user}","gists_url":"https://api.github.com/users/nurav/gists{/gist_id}","starred_url":"https://api.github.com/users/nurav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nurav/subscriptions","organizations_url":"https://api.github.com/users/nurav/orgs","repos_url":"https://api.github.com/users/nurav/repos","events_url":"https://api.github.com/users/nurav/events{/privacy}","received_events_url":"https://api.github.com/users/nurav/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/balrog/pulls/56/commits","review_comments_url":"https://api.github.com/repos/mozilla/balrog/pulls/56/comments","review_comment_url":"https://api.github.com/repos/mozilla/balrog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/balrog/issues/56/comments","statuses_url":"https://api.github.com/repos/mozilla/balrog/statuses/82d3745bad2244f43307e861b6957c1e3c027ad0","head":{"label":"nurav:master","ref":"master","sha":"82d3745bad2244f43307e861b6957c1e3c027ad0","user":{"login":"nurav","id":5903191,"avatar_url":"https://avatars.githubusercontent.com/u/5903191?v=3","gravatar_id":"","url":"https://api.github.com/users/nurav","html_url":"https://github.com/nurav","followers_url":"https://api.github.com/users/nurav/followers","following_url":"https://api.github.com/users/nurav/following{/other_user}","gists_url":"https://api.github.com/users/nurav/gists{/gist_id}","starred_url":"https://api.github.com/users/nurav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nurav/subscriptions","organizations_url":"https://api.github.com/users/nurav/orgs","repos_url":"https://api.github.com/users/nurav/repos","events_url":"https://api.github.com/users/nurav/events{/privacy}","received_events_url":"https://api.github.com/users/nurav/received_events","type":"User","site_admin":false},"repo":{"id":52808761,"name":"balrog","full_name":"nurav/balrog","owner":{"login":"nurav","id":5903191,"avatar_url":"https://avatars.githubusercontent.com/u/5903191?v=3","gravatar_id":"","url":"https://api.github.com/users/nurav","html_url":"https://github.com/nurav","followers_url":"https://api.github.com/users/nurav/followers","following_url":"https://api.github.com/users/nurav/following{/other_user}","gists_url":"https://api.github.com/users/nurav/gists{/gist_id}","starred_url":"https://api.github.com/users/nurav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nurav/subscriptions","organizations_url":"https://api.github.com/users/nurav/orgs","repos_url":"https://api.github.com/users/nurav/repos","events_url":"https://api.github.com/users/nurav/events{/privacy}","received_events_url":"https://api.github.com/users/nurav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nurav/balrog","description":"Next generation update service for Mozilla products","fork":true,"url":"https://api.github.com/repos/nurav/balrog","forks_url":"https://api.github.com/repos/nurav/balrog/forks","keys_url":"https://api.github.com/repos/nurav/balrog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nurav/balrog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nurav/balrog/teams","hooks_url":"https://api.github.com/repos/nurav/balrog/hooks","issue_events_url":"https://api.github.com/repos/nurav/balrog/issues/events{/number}","events_url":"https://api.github.com/repos/nurav/balrog/events","assignees_url":"https://api.github.com/repos/nurav/balrog/assignees{/user}","branches_url":"https://api.github.com/repos/nurav/balrog/branches{/branch}","tags_url":"https://api.github.com/repos/nurav/balrog/tags","blobs_url":"https://api.github.com/repos/nurav/balrog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nurav/balrog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nurav/balrog/git/refs{/sha}","trees_url":"https://api.github.com/repos/nurav/balrog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nurav/balrog/statuses/{sha}","languages_url":"https://api.github.com/repos/nurav/balrog/languages","stargazers_url":"https://api.github.com/repos/nurav/balrog/stargazers","contributors_url":"https://api.github.com/repos/nurav/balrog/contributors","subscribers_url":"https://api.github.com/repos/nurav/balrog/subscribers","subscription_url":"https://api.github.com/repos/nurav/balrog/subscription","commits_url":"https://api.github.com/repos/nurav/balrog/commits{/sha}","git_commits_url":"https://api.github.com/repos/nurav/balrog/git/commits{/sha}","comments_url":"https://api.github.com/repos/nurav/balrog/comments{/number}","issue_comment_url":"https://api.github.com/repos/nurav/balrog/issues/comments{/number}","contents_url":"https://api.github.com/repos/nurav/balrog/contents/{+path}","compare_url":"https://api.github.com/repos/nurav/balrog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nurav/balrog/merges","archive_url":"https://api.github.com/repos/nurav/balrog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nurav/balrog/downloads","issues_url":"https://api.github.com/repos/nurav/balrog/issues{/number}","pulls_url":"https://api.github.com/repos/nurav/balrog/pulls{/number}","milestones_url":"https://api.github.com/repos/nurav/balrog/milestones{/number}","notifications_url":"https://api.github.com/repos/nurav/balrog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nurav/balrog/labels{/name}","releases_url":"https://api.github.com/repos/nurav/balrog/releases{/id}","deployments_url":"https://api.github.com/repos/nurav/balrog/deployments","created_at":"2016-02-29T17:12:42Z","updated_at":"2016-02-29T17:12:43Z","pushed_at":"2016-03-12T10:56:30Z","git_url":"git://github.com/nurav/balrog.git","ssh_url":"git@github.com:nurav/balrog.git","clone_url":"https://github.com/nurav/balrog.git","svn_url":"https://github.com/nurav/balrog","homepage":"","size":10813,"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":"ce2b4476a30dcf2e4ded0bb269308a12e79c473b","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":2570444,"name":"balrog","full_name":"mozilla/balrog","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/balrog","description":"Next generation update service for Mozilla products","fork":false,"url":"https://api.github.com/repos/mozilla/balrog","forks_url":"https://api.github.com/repos/mozilla/balrog/forks","keys_url":"https://api.github.com/repos/mozilla/balrog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/balrog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/balrog/teams","hooks_url":"https://api.github.com/repos/mozilla/balrog/hooks","issue_events_url":"https://api.github.com/repos/mozilla/balrog/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/balrog/events","assignees_url":"https://api.github.com/repos/mozilla/balrog/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/balrog/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/balrog/tags","blobs_url":"https://api.github.com/repos/mozilla/balrog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/balrog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/balrog/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/balrog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/balrog/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/balrog/languages","stargazers_url":"https://api.github.com/repos/mozilla/balrog/stargazers","contributors_url":"https://api.github.com/repos/mozilla/balrog/contributors","subscribers_url":"https://api.github.com/repos/mozilla/balrog/subscribers","subscription_url":"https://api.github.com/repos/mozilla/balrog/subscription","commits_url":"https://api.github.com/repos/mozilla/balrog/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/balrog/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/balrog/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/balrog/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/balrog/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/balrog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/balrog/merges","archive_url":"https://api.github.com/repos/mozilla/balrog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/balrog/downloads","issues_url":"https://api.github.com/repos/mozilla/balrog/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/balrog/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/balrog/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/balrog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/balrog/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/balrog/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/balrog/deployments","created_at":"2011-10-13T15:51:47Z","updated_at":"2016-01-12T10:38:22Z","pushed_at":"2016-03-12T10:56:31Z","git_url":"git://github.com/mozilla/balrog.git","ssh_url":"git@github.com:mozilla/balrog.git","clone_url":"https://github.com/mozilla/balrog.git","svn_url":"https://github.com/mozilla/balrog","homepage":"","size":10954,"stargazers_count":13,"watchers_count":13,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":2,"forks":25,"open_issues":2,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/balrog/pulls/56"},"html":{"href":"https://github.com/mozilla/balrog/pull/56"},"issue":{"href":"https://api.github.com/repos/mozilla/balrog/issues/56"},"comments":{"href":"https://api.github.com/repos/mozilla/balrog/issues/56/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/balrog/pulls/56/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/balrog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/balrog/pulls/56/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/balrog/statuses/82d3745bad2244f43307e861b6957c1e3c027ad0"}}}}