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

Plugins: Remove intermediate "elasticsearch" directory within plugin zips #28589

Merged
merged 3 commits into from
Feb 12, 2018

Conversation

rjernst
Copy link
Member

@rjernst rjernst commented Feb 9, 2018

This commit removes the extra layer of all plugin files existing under
"elasticsearch" within plugin zips. This simplifies building plugin zips
and removes the need for special logic of modules vs plugins.

…zips

This commit removes the extra layer of all plugin files existing under
"elasticsearch" within plugin zips. This simplifies building plugin zips
and removes the need for special logic of modules vs plugins.
@rjernst rjernst added :Core/Infra/Plugins Plugin API and infrastructure v7.0.0 v6.3.0 labels Feb 9, 2018
@@ -822,26 +821,6 @@ public void testMissingDescriptor() throws Exception {
assertInstallCleaned(env.v2());
}

public void testMissingDirectory() throws Exception {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it'd be nice if we had a nice error message for folks that install a plugin with the directory.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pushed 8b8bd7c

@rjernst rjernst merged commit 65f1dd4 into elastic:master Feb 12, 2018
@rjernst rjernst deleted the remove_es_plugin_dir branch February 12, 2018 22:27
rjernst added a commit that referenced this pull request Feb 12, 2018
…zips (#28589)

This commit removes the extra layer of all plugin files existing under
"elasticsearch" within plugin zips. This simplifies building plugin zips
and removes the need for special logic of modules vs plugins.
rjernst added a commit to rjernst/elasticsearch that referenced this pull request Feb 13, 2018
This directory was removed from plugins in elastic#28589, but docs still
referenced it. This commit cleans up the plugin author docs to no longer
refer to it.
rjernst added a commit that referenced this pull request Feb 13, 2018
This directory was removed from plugins in #28589, but docs still
referenced it. This commit cleans up the plugin author docs to no longer
refer to it.
rjernst added a commit that referenced this pull request Feb 13, 2018
This directory was removed from plugins in #28589, but docs still
referenced it. This commit cleans up the plugin author docs to no longer
refer to it.
guruxu pushed a commit to rosette-api/rosette-elasticsearch-plugin that referenced this pull request Aug 2, 2018
- update per elastic/elasticsearch#28589
- update curl calls with application/json type which seems to be required now
- update docker test script to not swallow detectable errors
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.

4 participants