{"action":"created","issue":{"url":"https://api.github.com/repos/openSUSE/open-build-service/issues/6619","repository_url":"https://api.github.com/repos/openSUSE/open-build-service","labels_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/6619/labels{/name}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/6619/comments","events_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/6619/events","html_url":"https://github.com/openSUSE/open-build-service/pull/6619","id":391065444,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4Njg1MzE2","number":6619,"title":"Fix flag validation catching duplicates","user":{"login":"coolo","id":1067203,"node_id":"MDQ6VXNlcjEwNjcyMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1067203?v=4","gravatar_id":"","url":"https://api.github.com/users/coolo","html_url":"https://github.com/coolo","followers_url":"https://api.github.com/users/coolo/followers","following_url":"https://api.github.com/users/coolo/following{/other_user}","gists_url":"https://api.github.com/users/coolo/gists{/gist_id}","starred_url":"https://api.github.com/users/coolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolo/subscriptions","organizations_url":"https://api.github.com/users/coolo/orgs","repos_url":"https://api.github.com/users/coolo/repos","events_url":"https://api.github.com/users/coolo/events{/privacy}","received_events_url":"https://api.github.com/users/coolo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-14T11:03:27Z","updated_at":"2018-12-19T12:17:03Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/openSUSE/open-build-service/pulls/6619","html_url":"https://github.com/openSUSE/open-build-service/pull/6619","diff_url":"https://github.com/openSUSE/open-build-service/pull/6619.diff","patch_url":"https://github.com/openSUSE/open-build-service/pull/6619.patch"},"body":"This has been broken since the introduction as\r\nwhere('repo = ?', repo) for nil values compares with NULL,\r\nwhich never exists. On top of that this also checked if\r\nstatus was duplicated, which means you could have an\r\nenabled and disabled status for the same field, which doesn't\r\nmake much sense :bowtie: \r\n\r\nWe have a lot of duplicated flags by now, so we need\r\na data migration :eyes: \r\n\r\nCo-authored-by: @Ana06 \r\n\r\nFixes #6615\r\n"},"comment":{"url":"https://api.github.com/repos/openSUSE/open-build-service/issues/comments/448574558","html_url":"https://github.com/openSUSE/open-build-service/pull/6619#issuecomment-448574558","issue_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/6619","id":448574558,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODU3NDU1OA==","user":{"login":"coolo","id":1067203,"node_id":"MDQ6VXNlcjEwNjcyMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1067203?v=4","gravatar_id":"","url":"https://api.github.com/users/coolo","html_url":"https://github.com/coolo","followers_url":"https://api.github.com/users/coolo/followers","following_url":"https://api.github.com/users/coolo/following{/other_user}","gists_url":"https://api.github.com/users/coolo/gists{/gist_id}","starred_url":"https://api.github.com/users/coolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coolo/subscriptions","organizations_url":"https://api.github.com/users/coolo/orgs","repos_url":"https://api.github.com/users/coolo/repos","events_url":"https://api.github.com/users/coolo/events{/privacy}","received_events_url":"https://api.github.com/users/coolo/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T12:17:03Z","updated_at":"2018-12-19T12:17:03Z","author_association":"MEMBER","body":"no idea"}}
{"actor":{"display_login":"coolo"}}