~paelzer/uvtool:snap-uvtool-for-checkbox

Last commit made on 2021-06-01
Get this branch:
git clone -b snap-uvtool-for-checkbox https://git.launchpad.net/~paelzer/uvtool
Only Christian Ehrhardt  can upload to this branch. If you are Christian Ehrhardt  please log in for upload directions.

Branch merges

Branch information

Name:
snap-uvtool-for-checkbox
Repository:
lp:~paelzer/uvtool

Recent commits

46da90d... by Christian Ehrhardt 

snap: use non-accounted name test-snapd-uvtool

There is a snap namespace that is not going into the statistics so that
automated self-tests are not polluting the numbers e.g. showing this as
a "hot app" on the store after a night of automated tests.

Signed-off-by: Christian Ehrhardt <email address hidden>

047f595... by Christian Ehrhardt 

snap: switch uvtool to source local build

This is meant to allow to pick up the latest changes without pushing WIP
code. Eventually I'd hope to be able to go for source-type: git or even
back to using the .deb.

But as long as we need the WIP changes to IP detection this is the best
way.

I have intentionally not squashed this with the "change to use uvtool
.deb" commit to see how it is done in the history to be able to go back.

Signed-off-by: Christian Ehrhardt <email address hidden>

2efa636... by Christian Ehrhardt 

uvtool: switch ip guessing to libvirt-python

This allows to drop plenty of complex code and dependencies
and at the same time is not affected by all the snap path-munging.

Signed-off-by: Christian Ehrhardt <email address hidden>

0116759... by Christian Ehrhardt 

snap: also provide ssh-keygen and ssh

Signed-off-by: Christian Ehrhardt <email address hidden>

81ad1c4... by Christian Ehrhardt 

snap: shorten snap name for path length limit

Signed-off-by: Christian Ehrhardt <email address hidden>

6d3cc33... by Christian Ehrhardt 

snap: rework uvtool to use deb version excluding conflicting paths

Signed-off-by: Christian Ehrhardt <email address hidden>

c49baab... by Christian Ehrhardt 

snap: set license AGPL-3.0-or-later to match the rest of the source

Signed-off-by: Christian Ehrhardt <email address hidden>

038d465... by Christian Ehrhardt 

snap: initial-uvtool-setup - create default pool and network

Install hooks would be preferred but by design those are before services
start and we need services to be ready. A config hook exposed a massive
list of other issues like not being able to find/connect to libvirtd.

So for now this is running as a service.

Signed-off-by: Christian Ehrhardt <email address hidden>

6aad959... by Christian Ehrhardt 

snap: add virsh to ldwrapped binaries for usage from hooks

Signed-off-by: Christian Ehrhardt <email address hidden>

39e3127... by Christian Ehrhardt 

snap: lenient default libvirt access permissions

This is needed to match users expected behavior in a world where
all is root/root and users are isolated to snaps.

P.S. proper user-setup and group adding code would solve that, but
we were told that checkbox is root & devmode is ok.

Signed-off-by: Christian Ehrhardt <email address hidden>