{"action":"created","issue":{"url":"https://api.github.com/repos/snapcore/snapcraft/issues/1618","repository_url":"https://api.github.com/repos/snapcore/snapcraft","labels_url":"https://api.github.com/repos/snapcore/snapcraft/issues/1618/labels{/name}","comments_url":"https://api.github.com/repos/snapcore/snapcraft/issues/1618/comments","events_url":"https://api.github.com/repos/snapcore/snapcraft/issues/1618/events","html_url":"https://github.com/snapcore/snapcraft/pull/1618","id":265392955,"number":1618,"title":"states: add scriptlets to build state","user":{"login":"kyrofa","id":946674,"avatar_url":"https://avatars0.githubusercontent.com/u/946674?v=4","gravatar_id":"","url":"https://api.github.com/users/kyrofa","html_url":"https://github.com/kyrofa","followers_url":"https://api.github.com/users/kyrofa/followers","following_url":"https://api.github.com/users/kyrofa/following{/other_user}","gists_url":"https://api.github.com/users/kyrofa/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrofa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrofa/subscriptions","organizations_url":"https://api.github.com/users/kyrofa/orgs","repos_url":"https://api.github.com/users/kyrofa/repos","events_url":"https://api.github.com/users/kyrofa/events{/privacy}","received_events_url":"https://api.github.com/users/kyrofa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-10-13T19:18:36Z","updated_at":"2017-10-16T17:43:39Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/snapcore/snapcraft/pulls/1618","html_url":"https://github.com/snapcore/snapcraft/pull/1618","diff_url":"https://github.com/snapcore/snapcraft/pull/1618.diff","patch_url":"https://github.com/snapcore/snapcraft/pull/1618.patch"},"body":"- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?\r\n- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?\r\n- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?\r\n- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?\r\n- [x] Have you successfully run `./runtests.sh static`?\r\n- [x] Have you successfully run `./runtests.sh unit`?\r\n\r\n-----\r\n\r\nCurrently, if one of the scriptlets (`prepare`, `build`, or `install`) changes, Snapcraft doesn't notice. This PR fixes LP: [#1672407](https://bugs.launchpad.net/snapcraft/+bug/1672407) by adding them to the build state so that if one of more of these scriptlets change, Snapcraft considers the build step dirty."},"comment":{"url":"https://api.github.com/repos/snapcore/snapcraft/issues/comments/336966403","html_url":"https://github.com/snapcore/snapcraft/pull/1618#issuecomment-336966403","issue_url":"https://api.github.com/repos/snapcore/snapcraft/issues/1618","id":336966403,"user":{"login":"kyrofa","id":946674,"avatar_url":"https://avatars0.githubusercontent.com/u/946674?v=4","gravatar_id":"","url":"https://api.github.com/users/kyrofa","html_url":"https://github.com/kyrofa","followers_url":"https://api.github.com/users/kyrofa/followers","following_url":"https://api.github.com/users/kyrofa/following{/other_user}","gists_url":"https://api.github.com/users/kyrofa/gists{/gist_id}","starred_url":"https://api.github.com/users/kyrofa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyrofa/subscriptions","organizations_url":"https://api.github.com/users/kyrofa/orgs","repos_url":"https://api.github.com/users/kyrofa/repos","events_url":"https://api.github.com/users/kyrofa/events{/privacy}","received_events_url":"https://api.github.com/users/kyrofa/received_events","type":"User","site_admin":false},"created_at":"2017-10-16T17:43:39Z","updated_at":"2017-10-16T17:43:39Z","author_association":"MEMBER","body":"Nah, it's certainly clearer if it's extracted, as it should be. This PR is smaller now."}}
{"actor":{"display_login":"kyrofa"}}