Files
Andrew Phelps 411ac6c548 o/snapstate: install components from the store (#14092)
* o/snapstate: replace some args to doInstallComponent with a flags type

* o/snapstate: create validate-component task when installing component from the store

* o/snapstate: add arg to doInstall for components

* o/snapstate: install components from store in StoreTarget

* o/snapstate: add component fields to fakeSnappyBackend ops

* o/snapstate: add helpers for checking tasks for installing components

* o/snapstate: add testing channel that adds a component to snap that is being installed

* o/snapstate: use instance name in path to that is set for remove ops in test backend

* o/snapstate: extend doInstall to handle components

* o/snapstate: refactor addTask in doInstall to update prev pointer to eliminate manual tracking of last task

* o/snapstate: test tasks created when installing component from the store

* o/snapstate: remove component files when snap file is also ephemeral

* o/snapstate: change component types in error strings to be more clear

* o/snapstate: always install components for each snap in a consistent order

* o/snapstate: replace pointer params to doInstall with copies

* o/snapstate: unexport componentTarget

* o/snapstate: add TODOs about handling components

* o/snapstate: add comment explaining why we do not create setup-profiles task for new components when installed with snap

* o/snapstate: remove usage of new go stdlib function

* o/snapstate: fully initialize ComponentSetup in store's InstallGoal implementation

* o/snapstate: rename componentInstallFlags.SkipSecurity to SkipProfiles

* o/snapstate: move componentTarget struct

* o/snapstate: eliminate componentTarget type

* store, o/snapstate: swap out resources slice in SnapAction for flag in RefreshOptions

* o/snapstate: remove this change for now, it should not be a part of this PR

* o/snapstate: add TODO about ordering component and snap hook tasks

* o/snapstate: rename variable for readability
2024-06-26 18:30:49 +01:00
..
2020-09-27 23:38:17 +02:00
2020-03-30 20:29:29 +02:00