{"action":"opened","number":512,"pull_request":{"url":"https://api.github.com/repos/project-ncl/pnc/pulls/512","id":42862550,"html_url":"https://github.com/project-ncl/pnc/pull/512","diff_url":"https://github.com/project-ncl/pnc/pull/512.diff","patch_url":"https://github.com/project-ncl/pnc/pull/512.patch","issue_url":"https://api.github.com/repos/project-ncl/pnc/issues/512","number":512,"state":"open","locked":false,"title":"Add some uniqueness constraints on the model","user":{"login":"thescouser89","id":630746,"avatar_url":"https://avatars.githubusercontent.com/u/630746?v=3","gravatar_id":"","url":"https://api.github.com/users/thescouser89","html_url":"https://github.com/thescouser89","followers_url":"https://api.github.com/users/thescouser89/followers","following_url":"https://api.github.com/users/thescouser89/following{/other_user}","gists_url":"https://api.github.com/users/thescouser89/gists{/gist_id}","starred_url":"https://api.github.com/users/thescouser89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thescouser89/subscriptions","organizations_url":"https://api.github.com/users/thescouser89/orgs","repos_url":"https://api.github.com/users/thescouser89/repos","events_url":"https://api.github.com/users/thescouser89/events{/privacy}","received_events_url":"https://api.github.com/users/thescouser89/received_events","type":"User","site_admin":false},"body":"- Uniqueness on `name`:\r\n* BuildConfiguration.java\r\n* BuildConfigurationSet.java\r\n* Product.java\r\n* Project.java\r\n\r\n- Uniqueness on `version` and `product_id`:\r\n* ProductVersion.java\r\n\r\n- Uniqueness on `version` and `productVersion_id`:\r\n* ProductMilestone.java\r\n* ProductRelease.java\r\n\r\n- Uniqueness on `username` and/or `email`:\r\n* User.java\r\n\r\nNote: Right now the web-ui will fail to capture those uniqueness\r\nviolations that might occur while creating any of the models above.\r\nFuture work will go on making the web-ui aware of any model errors.","created_at":"2015-08-19T20:51:40Z","updated_at":"2015-08-19T20:51:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/project-ncl/pnc/pulls/512/commits","review_comments_url":"https://api.github.com/repos/project-ncl/pnc/pulls/512/comments","review_comment_url":"https://api.github.com/repos/project-ncl/pnc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/project-ncl/pnc/issues/512/comments","statuses_url":"https://api.github.com/repos/project-ncl/pnc/statuses/c9e1dfed23a06c0338928692332ffefda91334f9","head":{"label":"thescouser89:unique_versions","ref":"unique_versions","sha":"c9e1dfed23a06c0338928692332ffefda91334f9","user":{"login":"thescouser89","id":630746,"avatar_url":"https://avatars.githubusercontent.com/u/630746?v=3","gravatar_id":"","url":"https://api.github.com/users/thescouser89","html_url":"https://github.com/thescouser89","followers_url":"https://api.github.com/users/thescouser89/followers","following_url":"https://api.github.com/users/thescouser89/following{/other_user}","gists_url":"https://api.github.com/users/thescouser89/gists{/gist_id}","starred_url":"https://api.github.com/users/thescouser89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thescouser89/subscriptions","organizations_url":"https://api.github.com/users/thescouser89/orgs","repos_url":"https://api.github.com/users/thescouser89/repos","events_url":"https://api.github.com/users/thescouser89/events{/privacy}","received_events_url":"https://api.github.com/users/thescouser89/received_events","type":"User","site_admin":false},"repo":{"id":39393975,"name":"pnc","full_name":"thescouser89/pnc","owner":{"login":"thescouser89","id":630746,"avatar_url":"https://avatars.githubusercontent.com/u/630746?v=3","gravatar_id":"","url":"https://api.github.com/users/thescouser89","html_url":"https://github.com/thescouser89","followers_url":"https://api.github.com/users/thescouser89/followers","following_url":"https://api.github.com/users/thescouser89/following{/other_user}","gists_url":"https://api.github.com/users/thescouser89/gists{/gist_id}","starred_url":"https://api.github.com/users/thescouser89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thescouser89/subscriptions","organizations_url":"https://api.github.com/users/thescouser89/orgs","repos_url":"https://api.github.com/users/thescouser89/repos","events_url":"https://api.github.com/users/thescouser89/events{/privacy}","received_events_url":"https://api.github.com/users/thescouser89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thescouser89/pnc","description":"System for managing, executing, and tracking builds","fork":true,"url":"https://api.github.com/repos/thescouser89/pnc","forks_url":"https://api.github.com/repos/thescouser89/pnc/forks","keys_url":"https://api.github.com/repos/thescouser89/pnc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thescouser89/pnc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thescouser89/pnc/teams","hooks_url":"https://api.github.com/repos/thescouser89/pnc/hooks","issue_events_url":"https://api.github.com/repos/thescouser89/pnc/issues/events{/number}","events_url":"https://api.github.com/repos/thescouser89/pnc/events","assignees_url":"https://api.github.com/repos/thescouser89/pnc/assignees{/user}","branches_url":"https://api.github.com/repos/thescouser89/pnc/branches{/branch}","tags_url":"https://api.github.com/repos/thescouser89/pnc/tags","blobs_url":"https://api.github.com/repos/thescouser89/pnc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thescouser89/pnc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thescouser89/pnc/git/refs{/sha}","trees_url":"https://api.github.com/repos/thescouser89/pnc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thescouser89/pnc/statuses/{sha}","languages_url":"https://api.github.com/repos/thescouser89/pnc/languages","stargazers_url":"https://api.github.com/repos/thescouser89/pnc/stargazers","contributors_url":"https://api.github.com/repos/thescouser89/pnc/contributors","subscribers_url":"https://api.github.com/repos/thescouser89/pnc/subscribers","subscription_url":"https://api.github.com/repos/thescouser89/pnc/subscription","commits_url":"https://api.github.com/repos/thescouser89/pnc/commits{/sha}","git_commits_url":"https://api.github.com/repos/thescouser89/pnc/git/commits{/sha}","comments_url":"https://api.github.com/repos/thescouser89/pnc/comments{/number}","issue_comment_url":"https://api.github.com/repos/thescouser89/pnc/issues/comments{/number}","contents_url":"https://api.github.com/repos/thescouser89/pnc/contents/{+path}","compare_url":"https://api.github.com/repos/thescouser89/pnc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thescouser89/pnc/merges","archive_url":"https://api.github.com/repos/thescouser89/pnc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thescouser89/pnc/downloads","issues_url":"https://api.github.com/repos/thescouser89/pnc/issues{/number}","pulls_url":"https://api.github.com/repos/thescouser89/pnc/pulls{/number}","milestones_url":"https://api.github.com/repos/thescouser89/pnc/milestones{/number}","notifications_url":"https://api.github.com/repos/thescouser89/pnc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thescouser89/pnc/labels{/name}","releases_url":"https://api.github.com/repos/thescouser89/pnc/releases{/id}","created_at":"2015-07-20T16:04:09Z","updated_at":"2015-07-20T16:04:11Z","pushed_at":"2015-08-19T20:51:24Z","git_url":"git://github.com/thescouser89/pnc.git","ssh_url":"git@github.com:thescouser89/pnc.git","clone_url":"https://github.com/thescouser89/pnc.git","svn_url":"https://github.com/thescouser89/pnc","homepage":"","size":6632,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"project-ncl:master","ref":"master","sha":"3a32280f1086d59a1e1bedc63d071b773c56359a","user":{"login":"project-ncl","id":9921139,"avatar_url":"https://avatars.githubusercontent.com/u/9921139?v=3","gravatar_id":"","url":"https://api.github.com/users/project-ncl","html_url":"https://github.com/project-ncl","followers_url":"https://api.github.com/users/project-ncl/followers","following_url":"https://api.github.com/users/project-ncl/following{/other_user}","gists_url":"https://api.github.com/users/project-ncl/gists{/gist_id}","starred_url":"https://api.github.com/users/project-ncl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-ncl/subscriptions","organizations_url":"https://api.github.com/users/project-ncl/orgs","repos_url":"https://api.github.com/users/project-ncl/repos","events_url":"https://api.github.com/users/project-ncl/events{/privacy}","received_events_url":"https://api.github.com/users/project-ncl/received_events","type":"Organization","site_admin":false},"repo":{"id":27052762,"name":"pnc","full_name":"project-ncl/pnc","owner":{"login":"project-ncl","id":9921139,"avatar_url":"https://avatars.githubusercontent.com/u/9921139?v=3","gravatar_id":"","url":"https://api.github.com/users/project-ncl","html_url":"https://github.com/project-ncl","followers_url":"https://api.github.com/users/project-ncl/followers","following_url":"https://api.github.com/users/project-ncl/following{/other_user}","gists_url":"https://api.github.com/users/project-ncl/gists{/gist_id}","starred_url":"https://api.github.com/users/project-ncl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/project-ncl/subscriptions","organizations_url":"https://api.github.com/users/project-ncl/orgs","repos_url":"https://api.github.com/users/project-ncl/repos","events_url":"https://api.github.com/users/project-ncl/events{/privacy}","received_events_url":"https://api.github.com/users/project-ncl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/project-ncl/pnc","description":"System for managing, executing, and tracking builds","fork":false,"url":"https://api.github.com/repos/project-ncl/pnc","forks_url":"https://api.github.com/repos/project-ncl/pnc/forks","keys_url":"https://api.github.com/repos/project-ncl/pnc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/project-ncl/pnc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/project-ncl/pnc/teams","hooks_url":"https://api.github.com/repos/project-ncl/pnc/hooks","issue_events_url":"https://api.github.com/repos/project-ncl/pnc/issues/events{/number}","events_url":"https://api.github.com/repos/project-ncl/pnc/events","assignees_url":"https://api.github.com/repos/project-ncl/pnc/assignees{/user}","branches_url":"https://api.github.com/repos/project-ncl/pnc/branches{/branch}","tags_url":"https://api.github.com/repos/project-ncl/pnc/tags","blobs_url":"https://api.github.com/repos/project-ncl/pnc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/project-ncl/pnc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/project-ncl/pnc/git/refs{/sha}","trees_url":"https://api.github.com/repos/project-ncl/pnc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/project-ncl/pnc/statuses/{sha}","languages_url":"https://api.github.com/repos/project-ncl/pnc/languages","stargazers_url":"https://api.github.com/repos/project-ncl/pnc/stargazers","contributors_url":"https://api.github.com/repos/project-ncl/pnc/contributors","subscribers_url":"https://api.github.com/repos/project-ncl/pnc/subscribers","subscription_url":"https://api.github.com/repos/project-ncl/pnc/subscription","commits_url":"https://api.github.com/repos/project-ncl/pnc/commits{/sha}","git_commits_url":"https://api.github.com/repos/project-ncl/pnc/git/commits{/sha}","comments_url":"https://api.github.com/repos/project-ncl/pnc/comments{/number}","issue_comment_url":"https://api.github.com/repos/project-ncl/pnc/issues/comments{/number}","contents_url":"https://api.github.com/repos/project-ncl/pnc/contents/{+path}","compare_url":"https://api.github.com/repos/project-ncl/pnc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/project-ncl/pnc/merges","archive_url":"https://api.github.com/repos/project-ncl/pnc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/project-ncl/pnc/downloads","issues_url":"https://api.github.com/repos/project-ncl/pnc/issues{/number}","pulls_url":"https://api.github.com/repos/project-ncl/pnc/pulls{/number}","milestones_url":"https://api.github.com/repos/project-ncl/pnc/milestones{/number}","notifications_url":"https://api.github.com/repos/project-ncl/pnc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/project-ncl/pnc/labels{/name}","releases_url":"https://api.github.com/repos/project-ncl/pnc/releases{/id}","created_at":"2014-11-23T23:43:43Z","updated_at":"2015-06-03T10:44:05Z","pushed_at":"2015-08-19T20:51:41Z","git_url":"git://github.com/project-ncl/pnc.git","ssh_url":"git@github.com:project-ncl/pnc.git","clone_url":"https://github.com/project-ncl/pnc.git","svn_url":"https://github.com/project-ncl/pnc","homepage":"","size":11391,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":2,"forks":24,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/project-ncl/pnc/pulls/512"},"html":{"href":"https://github.com/project-ncl/pnc/pull/512"},"issue":{"href":"https://api.github.com/repos/project-ncl/pnc/issues/512"},"comments":{"href":"https://api.github.com/repos/project-ncl/pnc/issues/512/comments"},"review_comments":{"href":"https://api.github.com/repos/project-ncl/pnc/pulls/512/comments"},"review_comment":{"href":"https://api.github.com/repos/project-ncl/pnc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/project-ncl/pnc/pulls/512/commits"},"statuses":{"href":"https://api.github.com/repos/project-ncl/pnc/statuses/c9e1dfed23a06c0338928692332ffefda91334f9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":28,"deletions":0,"changed_files":8}}