~mvo/snapd/+git/snapd-mvo:remodel-return-chg

Last commit made on 2019-05-08
Get this branch:
git clone -b remodel-return-chg https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
remodel-return-chg
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

0225f92... by Samuele Pedroni

Merge remote-tracking branch 'upstream/master' into remodel-return-chg

3bcad52... by Samuele Pedroni

Remodel: report non-ErrNoState errors from state.Get

a98b183... by Samuele Pedroni

many: make which store to use contextual

This is needed because during a remodel we need to use a different store with a store context with the new model information etc.

This reworks snapstate.Store instead of relying solely on DeviceContext, because:

* less code churn
* conceptually we can talk to the store to some limited extent even without a model or being registered

This introduces also Install/UpdateUnderDeviceContext to use in the upcoming remodel planning task when there is a brand store/brand/model change. Given the very specific use case it didn't make sense to expand the signatures of Install/Update directly, also *UnderDeviceContext later will need to take a change id to do the right thing vs conflict checks.

The "Under" names are not definitive, might use "With" instead.

49fd1a4... by Maciej Borzecki

Merge pull request #6826 from sergiocazzolato/tests-fix-centos-errors

tests: enable tests on centos 7 again

b360b4f... by Michael Vogt

Merge pull request #6790 from MirServer/login-session

interfaces: add login-session-control interface

50579ec... by Michael Vogt

Merge pull request #6837 from stolowski/snapshots-test-debug

tests: extra debug for snapshot-basic test

c573edd... by Paweł Stołowski

Extra debug for snapshot-basic test.

9622cac... by Samuele Pedroni

make which store to use contextual

this reworks snapstate.Store instead of relying just on DeviceContext,
because:

* less code churn
* conceptually we can talk to the store to some limited extent even
  without a model or being registered

5bf2e57... by Samuele Pedroni

overlord,overlord/devicestate: do without GadgetInfo/KernelInfo in devicestate

This is mostly achieved by using the fact that we know the name of the gadget snap from the model and by introducing instead a snapstate.HasSnapOfType.

As a drive-by this also simplifies a bit the triggering logic for registration.

130a274... by Maciej Borzecki

Merge pull request #6832 from bboozzoo/bboozzoo/gadget-update-more-structure-validation

gadget: more validation checks for legacy MBR structure type & role