On Fri, Jun 3, 2016 at 3:21 PM, MikeB <[email protected]> wrote:

> Also, for a similar reason, I feel that locating custom plugins in
> parts/plugins is unfortunate.  Other than parts/plugins, the parts
> directory only contains generated files.  It would be nice if the plugins
> directory could be located in a source area rather than a build output area.
>

I have to second this; I often rm-rf-ed parts/ after forgetting I had a
plugin there  :-)


> Would it be possible to enhance snapcraft to allow all generated objects -
> parts, stage, snap, and the generated snap to be located on a different
> filesystem?
>

Can't speak on whether we want this, but in any case there is a range of
strategies you can put in place:
- bind-mounts or symlinks (haven't tested symlinks, but pretty sure
bind-mounts would work)
- or rsync your bits back and forth before/after builds
- this also works well if you keep your snapcraft bits in a git repo and
just commit/pull/push regularly

Cheers,
- Loïc
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to