{"action":"created","issue":{"url":"https://api.github.com/repos/openSUSE/open-build-service/issues/5594","repository_url":"https://api.github.com/repos/openSUSE/open-build-service","labels_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/5594/labels{/name}","comments_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/5594/comments","events_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/5594/events","html_url":"https://github.com/openSUSE/open-build-service/issues/5594","id":349050133,"node_id":"MDU6SXNzdWUzNDkwNTAxMzM=","number":5594,"title":"Bot managed to change an 'accepted' request back to 'review'","user":{"login":"DimStar77","id":532559,"node_id":"MDQ6VXNlcjUzMjU1OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/532559?v=4","gravatar_id":"","url":"https://api.github.com/users/DimStar77","html_url":"https://github.com/DimStar77","followers_url":"https://api.github.com/users/DimStar77/followers","following_url":"https://api.github.com/users/DimStar77/following{/other_user}","gists_url":"https://api.github.com/users/DimStar77/gists{/gist_id}","starred_url":"https://api.github.com/users/DimStar77/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DimStar77/subscriptions","organizations_url":"https://api.github.com/users/DimStar77/orgs","repos_url":"https://api.github.com/users/DimStar77/repos","events_url":"https://api.github.com/users/DimStar77/events{/privacy}","received_events_url":"https://api.github.com/users/DimStar77/received_events","type":"User","site_admin":false},"labels":[{"id":18416934,"node_id":"MDU6TGFiZWwxODQxNjkzNA==","url":"https://api.github.com/repos/openSUSE/open-build-service/labels/Bug%20:skull:","name":"Bug :skull:","color":"eb6420","default":false},{"id":21922370,"node_id":"MDU6TGFiZWwyMTkyMjM3MA==","url":"https://api.github.com/repos/openSUSE/open-build-service/labels/Frontend%20%F0%9F%91%BB","name":"Frontend 👻","color":"c7def8","default":false},{"id":239603747,"node_id":"MDU6TGFiZWwyMzk2MDM3NDc=","url":"https://api.github.com/repos/openSUSE/open-build-service/labels/P2","name":"P2","color":"eb6420","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-08-09T09:33:03Z","updated_at":"2018-08-15T15:57:27Z","closed_at":null,"author_association":"NONE","body":"This is a bit of a special corner case, that won't happen very often, but one of our bots managed to make a state change of a submitrequest from 'accepted' to 'review', which, IIRC< should not be possible.\r\n\r\nThe request in question is https://build.opensuse.org/request/show/628349\r\n\r\nAs I needed this as an urent fix in TW, I force-accepted (```osc rq accept -f``` it before the reviews all passed. At the same time, one of the bots already 'picked it up for inspection'; and set the request 'after my acceptance' into state 'Review'; I'd rather have expected the bot to receive a permission error or any such thing, that a state change from accepted to review was not possible.\r\n\r\n(I have since declined the request, as I was not eager to find out what would happen if this request were to be accepted a 2nd time)"},"comment":{"url":"https://api.github.com/repos/openSUSE/open-build-service/issues/comments/413243895","html_url":"https://github.com/openSUSE/open-build-service/issues/5594#issuecomment-413243895","issue_url":"https://api.github.com/repos/openSUSE/open-build-service/issues/5594","id":413243895,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzI0Mzg5NQ==","user":{"login":"hennevogel","id":514785,"node_id":"MDQ6VXNlcjUxNDc4NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/514785?v=4","gravatar_id":"","url":"https://api.github.com/users/hennevogel","html_url":"https://github.com/hennevogel","followers_url":"https://api.github.com/users/hennevogel/followers","following_url":"https://api.github.com/users/hennevogel/following{/other_user}","gists_url":"https://api.github.com/users/hennevogel/gists{/gist_id}","starred_url":"https://api.github.com/users/hennevogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hennevogel/subscriptions","organizations_url":"https://api.github.com/users/hennevogel/orgs","repos_url":"https://api.github.com/users/hennevogel/repos","events_url":"https://api.github.com/users/hennevogel/events{/privacy}","received_events_url":"https://api.github.com/users/hennevogel/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T15:57:27Z","updated_at":"2018-08-15T15:57:27Z","author_association":"MEMBER","body":"This is what people have done\r\n\r\n|time|user|command|\r\n|---|---|---|\r\n08:06:04|licensedigger|osc review accept -G legal-auto 628349\r\n08:06:22|factory-auto| osc review add -G opensuse-review-team 628349\r\n08:06:23|dimstar_suse| osc request accept -f 628349\r\n08:06:26|factory-auto| osc review add -U repo-checker 628349\r\n08:06:28|factory-auto| osc review accept -G factory-auto 628349\r\n08:13:55|namtrac| osc review accept -G opensuse-review-team 628349\r\n09:20:45|staging-bot| osc review add -P openSUSE:Factory:Staging:adi:35 628349\r\n09:20:46|staging-bot| osc review accept -G factory-staging 628349\r\n09:26:04|dimstar| notices something is wrong\r\n```"}}
{"actor":{"display_login":"hennevogel"}}