-
Notifications
You must be signed in to change notification settings - Fork 29
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
[PROPOSAL] Plugin naming conventions do not work well for community plugins #23
Comments
I like the suggestion that the convention is for plugins that are Using https://github.com/lukas-vlcek/prometheus-exporter as an example is a good one. If it's a plugin for OpenSearch it should be called |
Thinking about this more, I think we made the wrong decision not to develop a convention for plugins regardless of whether they are in opensearch-project or not. When these projects fork I can no longer tell whether this is OpenSearch specific or not, ending up with job-scheduler-1 for X and job-scheduler-2 for Y in my forks. So Medium/long term I'd be open to revisiting the entire convention and maybe even renaming things. Would want to see a chart of repo names, plugin names in the plugin.descriptor, etc., and aligning those things. |
@dblock not necessarily disagree with you, but I think the general recommendations [1] make sense to me. All core plugins do follow this conventions (although they are not hosted in separate repositories). What probably makes sense is to separate the repository name (Github / Bitbucket / Gitlab) and plugin name:
[1] https://github.com/opensearch-project/opensearch-plugin-template-java/blob/fc0d230a807ab33990c354ffa8fc5a80bc2e86e2/README.md#create-your-plugin-repo-using-this-template |
@lukas-vlcek Want to try to PR a change to the recommendations along ^ those ^ lines? |
@dblock I am on it (feel free to assign me). I think discussing particular details will be more productive over specific PR... @reta I think there is important context information that the In other words I can see that the following two terms represent two different things:
Also notice that I would prefer using the |
@lukas-vlcek sure, was just sharing some thoughts, |
Interesting. I personally find that unusual, what other projects do this? Also, personally I love naming discussions :) |
Probably late to the conversation, but I like the new suggestions. Also there are few recommendations we put in for migrating and standards |
Joining late as well:)
The
Not for plugins, but as a convention there is... ODFE 😆 I agree with @saratvemulapalli that this should be fixed in this repo's documentation - the naming should reference the other repo's recommendations and not explicitly state them here. |
OpenSearch plugins can "live" either inside the OpenSearch organization or outside it. This is the difference between official plugins and 3rd party plugins that are maintained in independent repositories. Currently, these two types of plugins are not recommended to share exactly the same repo naming conventions (this might change but not in the near-term future). If needed, the 3rd party plugin authors should also follow up with several extra checks in making sure the formal processes are correctly aligned with the community needs (such as Code of Conduct, Security Policy, Trademarks and Attributions). Closes opensearch-project#23 Signed-off-by: Lukáš Vlček <[email protected]>
Please have a look at my PR #27 In general I would like to see this to be specified in Feedback welcome. |
OpenSearch plugins can "live" either inside the OpenSearch organization or outside it. This is the difference between official plugins and 3rd party plugins that are maintained in independent repositories. Currently, these two types of plugins are not recommended to share exactly the same repo naming conventions (this might change but not in the near-term future). If needed, the 3rd party plugin authors should also follow up with several extra checks in making sure the formal processes are correctly aligned with the community needs (such as Code of Conduct, Security Policy, Trademarks and Attributions). Closes opensearch-project#23 Signed-off-by: Lukáš Vlček <[email protected]>
OpenSearch plugins can "live" either inside the OpenSearch organization or outside it. This is the difference between official plugins and 3rd party plugins that are maintained in independent repositories. Currently, these two types of plugins are not recommended to share exactly the same repo naming conventions (this might change but not in the near-term future). If needed, the 3rd party plugin authors should also follow up with several extra checks in making sure the formal processes are correctly aligned with the community needs (such as Code of Conduct, Security Policy, Trademarks and Attributions). Closes opensearch-project#23 Signed-off-by: Lukáš Vlček <[email protected]>
OpenSearch plugins can "live" either inside the OpenSearch organization or outside it. This is the difference between official plugins and 3rd party plugins that are maintained in independent repositories. Currently, these two types of plugins are not recommended to share exactly the same repo naming conventions (this might change but not in the near-term future). If needed, the 3rd party plugin authors should also follow up with several extra checks in making sure the formal processes are correctly aligned with the community needs (such as Code of Conduct, Security Policy, Trademarks and Attributions). Closes opensearch-project#23 Signed-off-by: Lukáš Vlček <[email protected]>
OpenSearch plugins can "live" either inside the OpenSearch organization or outside it. This is the difference between official plugins and 3rd party plugins that are maintained in independent repositories. Currently, these two types of plugins are not recommended to share exactly the same repo naming conventions (this might change but not in the near-term future). If needed, the 3rd party plugin authors should also follow up with several extra checks in making sure the formal processes are correctly aligned with the community needs (such as Code of Conduct, Security Policy, Trademarks and Attributions). Closes opensearch-project#23 Signed-off-by: Lukáš Vlček <[email protected]>
OpenSearch plugins can "live" either inside the OpenSearch organization or outside it. This is the difference between official plugins and 3rd party plugins that are maintained in independent repositories. Currently, these two types of plugins are not recommended to share exactly the same repo naming conventions (this might change but not in the near-term future). If needed, the 3rd party plugin authors should also follow up with several extra checks in making sure the formal processes are correctly aligned with the community needs (such as Code of Conduct, Security Policy, Trademarks and Attributions). Closes opensearch-project#23 Signed-off-by: Lukáš Vlček <[email protected]>
What kind of business use case are you trying to solve? What are your requirements?
Clarify plugin naming conventions. Specifically for 3rd party / community plugins.
What is the problem? What is preventing you from meeting the requirements?
As of writing the plugin naming recommendations specifically recommend:
plugin
word in the repo nameOpenSearch
word in the repo nameI can understand that such naming conventions work well for plugins that are (or will be) included directly in the OpenSearch build or will become part of the OpenSearch core repo. But they do not work that great for all other cases when plugins are maintained by community members about the web.
For instance if there is community plugin for Prometheus exporter (for OpenSearch) then it makes sense to go directly against mentioned recommendations. You really want to make sure that the repo name includes both the
plugin
andOpenSearch
words.What are you proposing? What do you suggest we do to solve the problem or improve the existing situation?
Be more specific about proposed naming conventions. Clarify when it makes sense to follow these and when not.
What are your assumptions or prerequisites?
I assume that there will be proportionally more plugins that are not directly part of the core OpenSearch build process and maintenance organisation.
What are remaining open questions?
If there are any naming conventions that the community plugins shall follow then it is not clear where to find them.
The text was updated successfully, but these errors were encountered: