Skip to content

overlord/snapstate: support for pre-remove hook#6232

Closed
stolowski wants to merge 2 commits intocanonical:masterfrom
stolowski:pre-remove-hook
Closed

overlord/snapstate: support for pre-remove hook#6232
stolowski wants to merge 2 commits intocanonical:masterfrom
stolowski:pre-remove-hook

Conversation

@stolowski
Copy link
Contributor

@stolowski stolowski commented Nov 28, 2018

Support for pre-remove hook, executed before stop-snap-services (contrary to remove hook which runs later). This addresses https://bugs.launchpad.net/snapd/+bug/1777121

Note, the case where pre-remove hook is not run at all is covered by existing test case (that checks no hooks were run on remove with 2 revisions), so not visible in the diff.

@stolowski
Copy link
Contributor Author

Marking blocked as the bug report and use case need further consideration.

@stolowski
Copy link
Contributor Author

Closing for now, will re-open if we have clarity and decide to revive it.

@stolowski stolowski closed this Dec 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant