{"action":"created","issue":{"url":"https://api.github.com/repos/SUSE/Portus/issues/77","labels_url":"https://api.github.com/repos/SUSE/Portus/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/SUSE/Portus/issues/77/comments","events_url":"https://api.github.com/repos/SUSE/Portus/issues/77/events","html_url":"https://github.com/SUSE/Portus/pull/77","id":79499656,"number":77,"title":"Fix db constraints","user":{"login":"flavio","id":22728,"avatar_url":"https://avatars.githubusercontent.com/u/22728?v=3","gravatar_id":"","url":"https://api.github.com/users/flavio","html_url":"https://github.com/flavio","followers_url":"https://api.github.com/users/flavio/followers","following_url":"https://api.github.com/users/flavio/following{/other_user}","gists_url":"https://api.github.com/users/flavio/gists{/gist_id}","starred_url":"https://api.github.com/users/flavio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavio/subscriptions","organizations_url":"https://api.github.com/users/flavio/orgs","repos_url":"https://api.github.com/users/flavio/repos","events_url":"https://api.github.com/users/flavio/events{/privacy}","received_events_url":"https://api.github.com/users/flavio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T15:35:56Z","updated_at":"2015-05-22T15:36:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SUSE/Portus/pulls/77","html_url":"https://github.com/SUSE/Portus/pull/77","diff_url":"https://github.com/SUSE/Portus/pull/77.diff","patch_url":"https://github.com/SUSE/Portus/pull/77.patch"},"body":"Ensure:\r\n  * a user cannot be created when there's already a namespace with the\r\n    same name\r\n  * namespace names must be unique relatively to the registry they\r\n    belong to\r\n  * repositories names must be unique relatively to the namespace they\r\n    belong to\r\n  * tags names must be unique relatively to the repository they belong\r\n    to\r\n  * team name must be unique\r\n\r\nWe are now verifying the format of the name used by repositories and\r\ntags. As usual we follow docker's directives.\r\n\r\nThis fixes issue #74 and issue #68"},"comment":{"url":"https://api.github.com/repos/SUSE/Portus/issues/comments/104693417","html_url":"https://github.com/SUSE/Portus/pull/77#issuecomment-104693417","issue_url":"https://api.github.com/repos/SUSE/Portus/issues/77","id":104693417,"user":{"login":"flavio","id":22728,"avatar_url":"https://avatars.githubusercontent.com/u/22728?v=3","gravatar_id":"","url":"https://api.github.com/users/flavio","html_url":"https://github.com/flavio","followers_url":"https://api.github.com/users/flavio/followers","following_url":"https://api.github.com/users/flavio/following{/other_user}","gists_url":"https://api.github.com/users/flavio/gists{/gist_id}","starred_url":"https://api.github.com/users/flavio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flavio/subscriptions","organizations_url":"https://api.github.com/users/flavio/orgs","repos_url":"https://api.github.com/users/flavio/repos","events_url":"https://api.github.com/users/flavio/events{/privacy}","received_events_url":"https://api.github.com/users/flavio/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T15:36:22Z","updated_at":"2015-05-22T15:36:22Z","body":"@mssola could you please double check these changes? I don't want to miss something"}}