Public bug reported:

When building a snap, the canonical way is to do:

 snapcraft

in the root dir of snap. This will create a *.snap file there.

When using the copy plugin for a part, the contents of the root dir will
get copied to $SNAPROOT/parts/foo/build.

Thus when doing repeated builds, the generated snaps get copied to
parts/foo/build too. With snaps easily reaching multiple 100s MB that is
needless waste of discspace, but more importantly it slows the copy
plugin down severely.

** Affects: snapcraft (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1586371

Title:
  conflicting use of root dir of a snap (copy plugin, generated output)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapcraft/+bug/1586371/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to