{"action":"closed","issue":{"url":"https://api.github.com/repos/snapcore/snapcraft/issues/1670","repository_url":"https://api.github.com/repos/snapcore/snapcraft","labels_url":"https://api.github.com/repos/snapcore/snapcraft/issues/1670/labels{/name}","comments_url":"https://api.github.com/repos/snapcore/snapcraft/issues/1670/comments","events_url":"https://api.github.com/repos/snapcore/snapcraft/issues/1670/events","html_url":"https://github.com/snapcore/snapcraft/issues/1670","id":271421450,"number":1670,"title":"Change file migrations such that files move from stage to prime rather than coming from the part each time","user":{"login":"sergiusens","id":1146853,"avatar_url":"https://avatars2.githubusercontent.com/u/1146853?v=4","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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-06T10:13:24Z","updated_at":"2018-03-26T13:53:09Z","closed_at":"2018-03-26T13:53:09Z","author_association":"COLLABORATOR","body":"Estimate: 1 week\r\n\r\nWe currently have three scriptlets that cover the build step only: prepare, build, and install. We want scriptlets around all lifecycle steps: pull, build, stage, and prime. Note that introducing an install step is not part of this roadmap.\r\n\r\nThere are some complications here that I want to point out. The stage and prime steps are completely handled by the core right now. As soon as we change that and provide the ability to override them, we must account for the possibility that files in stage will be changed from what they were in install, etc. Which means the stage dir must flow to the prime dir, which it does not do today (the file list is retrieved from stage, but the files themselves come from the parts’ install dirs).\r\n\r\nNote that the stanzas for pull and build can be completed without such a redesign. \r\n"}}
{"actor":{"display_login":"sergiusens"}}