Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lifecycle management for dependencies #427

Open
carolynvs opened this issue Feb 2, 2022 · 1 comment
Open

Lifecycle management for dependencies #427

carolynvs opened this issue Feb 2, 2022 · 1 comment

Comments

@carolynvs
Copy link
Contributor

When a bundle has dependencies, installation is straightforward: install them all. What use cases do we have and want to support for other actions such as upgrade, custom actions and uninstall?

@carolynvs
Copy link
Contributor Author

One thought is that it is up to the calling tool to decide when to resolve a dependency graph. It makes sense for a tool to always resolve it for install, but for upgrade, if the bundle definition didn't change, then there may not be a need to resolve it again. However if the bundle definition changed while upgrading, the tooling could pass in the existing installations resolved previously to ensure they still meet the bundle interface and requirements while also resolving any new dependencies.

For custom actions, one option would be to look for matching custom actions in the graph and execute them, but not all bundles must define that custom action.

We discussed in today's general meeting how a parent bundle can coordinate calling custom actions on child dependencies and ultimately decided that would be a responsibility of the invocation image, that we probably don't provide enough information to a bundle to accomplish that and is ultimately is out of scope.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant