{"action":"created","issue":{"url":"https://api.github.com/repos/ubuntu-core/snapcraft/issues/88","labels_url":"https://api.github.com/repos/ubuntu-core/snapcraft/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/ubuntu-core/snapcraft/issues/88/comments","events_url":"https://api.github.com/repos/ubuntu-core/snapcraft/issues/88/events","html_url":"https://github.com/ubuntu-core/snapcraft/pull/88","id":115600890,"number":88,"title":"Clean for parts and removal of duped code for lifecycle and the BasePlugin","user":{"login":"sergiusens","id":1146853,"avatar_url":"https://avatars.githubusercontent.com/u/1146853?v=3","gravatar_id":"","url":"https://api.github.com/users/sergiusens","html_url":"https://github.com/sergiusens","followers_url":"https://api.github.com/users/sergiusens/followers","following_url":"https://api.github.com/users/sergiusens/following{/other_user}","gists_url":"https://api.github.com/users/sergiusens/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiusens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiusens/subscriptions","organizations_url":"https://api.github.com/users/sergiusens/orgs","repos_url":"https://api.github.com/users/sergiusens/repos","events_url":"https://api.github.com/users/sergiusens/events{/privacy}","received_events_url":"https://api.github.com/users/sergiusens/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-06T22:11:07Z","updated_at":"2015-11-09T12:05:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ubuntu-core/snapcraft/pulls/88","html_url":"https://github.com/ubuntu-core/snapcraft/pull/88","diff_url":"https://github.com/ubuntu-core/snapcraft/pull/88.diff","patch_url":"https://github.com/ubuntu-core/snapcraft/pull/88.patch"},"body":"Parts can now be individually cleaned up, involved moving some\r\nof the logic to the plugin handler in the lifecycle itself.\r\n\r\nDefine things in one place only and expose them accordingly.\r\n\r\nsourcedir, builddir and installdir are handled in the plugin while\r\nstagedir, snapdir, ubuntudir and the state file by the lifecycle.\r\n\r\nSigned-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>"},"comment":{"url":"https://api.github.com/repos/ubuntu-core/snapcraft/issues/comments/155046603","html_url":"https://github.com/ubuntu-core/snapcraft/pull/88#issuecomment-155046603","issue_url":"https://api.github.com/repos/ubuntu-core/snapcraft/issues/88","id":155046603,"user":{"login":"chipaca","id":1543430,"avatar_url":"https://avatars.githubusercontent.com/u/1543430?v=3","gravatar_id":"","url":"https://api.github.com/users/chipaca","html_url":"https://github.com/chipaca","followers_url":"https://api.github.com/users/chipaca/followers","following_url":"https://api.github.com/users/chipaca/following{/other_user}","gists_url":"https://api.github.com/users/chipaca/gists{/gist_id}","starred_url":"https://api.github.com/users/chipaca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chipaca/subscriptions","organizations_url":"https://api.github.com/users/chipaca/orgs","repos_url":"https://api.github.com/users/chipaca/repos","events_url":"https://api.github.com/users/chipaca/events{/privacy}","received_events_url":"https://api.github.com/users/chipaca/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T12:05:51Z","updated_at":"2015-11-09T12:05:51Z","body":"Couple of minor nits. :+1: "}}