Comment 1 for bug 1763639

Revision history for this message
Colin Watson (cjwatson) wrote : Re: Recovery branches for snap builds

We need to specify this in a great deal more detail; it's not actionable until we do. Things I can think of right now include:

 * Is the "branch" part truly necessary, as opposed to simply creating a tarball that somebody can then later unpack and drop into a branch if necessary? The latter is a lot easier - we don't have many of the mechanisms we'd need to create a branch at this point, and although they could no doubt be built, there are many other non-obvious things here such as how to specify the branch ownership, whether it should be Bazaar or Git, etc.
 * snapcraft.yaml often specifies remote branches / artifacts / etc. to fetch. How would we suppress this behaviour for a subsequent rebuild? Would we need to produce an edited version of snapcraft.yaml?
 * The output of "snapcraft pull" isn't likely to be anyone's preferred form for modification. Have there been any experiments done on the snapcraft side to work out what the workflow would actually look like for developers? I think this sort of thing needs to come before implementation in launchpad-buildd.
 * Exactly what files and directories need to be saved from the "snapcraft pull" step in order that snapcraft won't try to re-fetch them in a later step? What must we, or indeed developers working with the output, avoid doing so that snapcraft won't decide that it needs to pull again?