-
Notifications
You must be signed in to change notification settings - Fork 73
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
[Discuss] Process on changes to the package-spec #108
Comments
Thanks for starting this much-needed discussion, @ruflin. At a high level, I would say the process looks something like this:
To facilitate the above process we can:
Thoughts? |
++ on your proposal @ycombinator |
@mtojek do you have any thoughts? |
Sorry I missed your response.
This is the right place to become a checklist, agree here. ++ on my side too. Nice work! |
Thanks both of you. I will proceed with a PR to document this process in the |
Great, form there we can always iterate. |
The package-spec has become a central part of everything around packages, integrations, Fleet, Elastic Agent. Any change or addition to the package-spec can have wide ranging consequences. This issue is to discuss on how we make changes to the package-spec and ensure it does not have any unexpected side effects.
To better explain the problem I'll use an example. The addition of a new asset type like
elasticsearch transform
affects many parts. The package-registry must know how to delivery it, Kibana / Fleet must know how to update / downgrade / install / remove the asset, it must fit into the indexing strategy, elastic-package must know how to test it. So before adding a new assets, it must be checked how it should be added and which parts are effected by it.The above applies to addition of all asset types but also to changes / additions to the manifest files. How do we ensure nothing breaks? At the same time, we should ensure that the package-spec stays open for contributions from everyone and don't put too much burden on potential changes.
One idea to start with is having a detailed checklist when modifying the package-spec. Any change should go through this checklist. In addition, it would be nice to have experts from each area that can be pinged for help. Someone wanting to add a new asset for Kibana might not have all the expertise on how this affects elastic-package. So each area could have an expert that can be pinged.
The text was updated successfully, but these errors were encountered: