RFC: Comfortable Snappy (aka Comfy ;-)
Oliver Grawert
ogra at ubuntu.com
Mon Jun 22 10:23:30 UTC 2015
hi,
Am Montag, den 22.06.2015, 17:59 +0800 schrieb YC Cheng:
> Hi, I feel uncomfortable with sentences like
>
>
> "Development isn’t done on the system anymore, instead the Snappy
> system is a target system and you develop from your Ubuntu Desktop
> host system"
>
>
> I guess you are not rule out the possibility to do development on the
> target. You just propose it might make more sense to do that on Host
> system, right ?
>
>
> From what we think about Phone Desktop system, we feel the phone is
> getting more and more powerful, so that it make sense to use Phone as
> Desktop system. If that's the case, I think it also make sense to do
> development on the Phone / target.
>
dpkg and apt are currently disabled and will soon be completely gone
from the core image (as will python and probably even bash at some
point), you can indeed remount / to work on files in core in case you do
any kind of implementation on that level...
but i think having a snap with lxc container or chroot that ships a
development environment to work in is the better idea here and saves
normal developers from having to taint their system. the touch UI will
be one or a number of snaps on top of core (or replacing core), i think
we should offer *-dev-env,snap packages for each of these that come with
all tools and the source for that specific snap inside so you can
locally build, change, debug and install it (perhaps with an easy snappy
command)
the good thing about moving this bit into the snap area is that you can
do A - B comparisons by rolling back and forth between the two snap
packages for debugging ...
also the desktop will become snappy too in the snappy personal world.
you could use these development snaps from there to have your changes
installed via snappy-remote after building them (and as cherry on top
such a snap could provide an interface to the SDK for building and
debugging stuff)
all this is slightly off-topic for the comfy discussion though which is
more about enhancing the core image by some extra commands to make our
lives more comfortable, i think the development environment for
snappy-personal deserves its own discussion ...
ciao
oli
More information about the snappy-devel
mailing list