{"action":"created","issue":{"url":"https://api.github.com/repos/theforeman/foreman/issues/4320","repository_url":"https://api.github.com/repos/theforeman/foreman","labels_url":"https://api.github.com/repos/theforeman/foreman/issues/4320/labels{/name}","comments_url":"https://api.github.com/repos/theforeman/foreman/issues/4320/comments","events_url":"https://api.github.com/repos/theforeman/foreman/issues/4320/events","html_url":"https://github.com/theforeman/foreman/pull/4320","id":209744953,"number":4320,"title":"Fixes #18639 - lock all templates we seed","user":{"login":"ares","id":109773,"avatar_url":"https://avatars3.githubusercontent.com/u/109773?v=3","gravatar_id":"","url":"https://api.github.com/users/ares","html_url":"https://github.com/ares","followers_url":"https://api.github.com/users/ares/followers","following_url":"https://api.github.com/users/ares/following{/other_user}","gists_url":"https://api.github.com/users/ares/gists{/gist_id}","starred_url":"https://api.github.com/users/ares/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ares/subscriptions","organizations_url":"https://api.github.com/users/ares/orgs","repos_url":"https://api.github.com/users/ares/repos","events_url":"https://api.github.com/users/ares/events{/privacy}","received_events_url":"https://api.github.com/users/ares/received_events","type":"User","site_admin":false},"labels":[{"id":79040160,"url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20re-review","name":"Needs re-review","color":"0052cc","default":false},{"id":79040689,"url":"https://api.github.com/repos/theforeman/foreman/labels/Needs%20testing","name":"Needs testing","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-02-23T12:13:54Z","updated_at":"2017-03-23T10:07:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/theforeman/foreman/pulls/4320","html_url":"https://github.com/theforeman/foreman/pull/4320","diff_url":"https://github.com/theforeman/foreman/pull/4320.diff","patch_url":"https://github.com/theforeman/foreman/pull/4320.patch"},"body":"The PR looks big but what it does is very simple\r\n- extracts names into constants and into separate seed files so they can be reused safely in migration without triggering the seed\r\n- adds a migration that sets locked flag for seeded templates to true\r\n- makes sure all newly seeded templates are locked\r\n\r\nFor more information and motivations, please see the discussion on [foreman-dev list](https://groups.google.com/forum/#!searchin/foreman-dev/templates%7Csort:relevance/foreman-dev/qCWVoHPBhd0/N9LbfQxrDAAJ)"},"comment":{"url":"https://api.github.com/repos/theforeman/foreman/issues/comments/288672255","html_url":"https://github.com/theforeman/foreman/pull/4320#issuecomment-288672255","issue_url":"https://api.github.com/repos/theforeman/foreman/issues/4320","id":288672255,"user":{"login":"timogoebel","id":4107560,"avatar_url":"https://avatars3.githubusercontent.com/u/4107560?v=3","gravatar_id":"","url":"https://api.github.com/users/timogoebel","html_url":"https://github.com/timogoebel","followers_url":"https://api.github.com/users/timogoebel/followers","following_url":"https://api.github.com/users/timogoebel/following{/other_user}","gists_url":"https://api.github.com/users/timogoebel/gists{/gist_id}","starred_url":"https://api.github.com/users/timogoebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timogoebel/subscriptions","organizations_url":"https://api.github.com/users/timogoebel/orgs","repos_url":"https://api.github.com/users/timogoebel/repos","events_url":"https://api.github.com/users/timogoebel/events{/privacy}","received_events_url":"https://api.github.com/users/timogoebel/received_events","type":"User","site_admin":false},"created_at":"2017-03-23T10:07:20Z","updated_at":"2017-03-23T10:07:20Z","body":"@dLobatog / @tbrisker  : Does anyone of you have time to check this one out? We should get this in. :-)"}}
{"actor":{"display_login":"timogoebel"}}