OpenSearch/docs
Christoph Büscher 8454d49552 Plugins: Add 'name' property to plugin descriptor file to determine plugin name
At the moment, when installing from an url, a user provides the plugin name on
the command line like:

* bin/plugin install [plugin-name] --url [url]

This can lead to problems when picking an already existing name from another
plugin, and can potentially overwrite plugins already installed with that name.

This, this PR introduces a mandatory `name` property to the plugin descriptor
file which replaces the name formerly provided by the user.

With the addition of the `name` property to the plugin descriptor file, the user
does not need to specify the plugin name any longer when installing from a file
or url. Because of this, all arguments to `plugin install` command are now
either treated as a symbolic name, a URL or a file without the need to specify
this with an explicit option.

The new syntax for `plugin install` is now:

bin/plugin install [name or url]

* downloads official plugin
bin/plugin install analysis-kuromoji

* downloads github plugin
bin/plugin install lmenezes/elasticsearch-kopf

* install from URL or file
bin/plugin install http://link.to/foo.zip
bin/plugin install file:/path/to/foo.zip

If the argument does not parse to a valid URL, it is assumed to be a name and the
download location is resolved like before. Regardless of the source location of
the plugin, it is extracted to a temporary directory and the `name` property from
the descriptor file is used to determine the final install location.

Relates to #12715
2015-08-19 12:13:01 +02:00
..
community-clients Docs: Prepare plugin and integration docs for 2.0 2015-08-15 18:02:43 +02:00
groovy-api Docs: Fixed URLs in the Groovy docs 2015-06-19 17:54:57 +02:00
java-api Docs: Updated annotations for 2.0.0-beta1 2015-08-14 10:51:09 +02:00
perl Docs: Minor test change to Perl docs 2015-02-28 17:19:55 +01:00
plugins Plugins: Add 'name' property to plugin descriptor file to determine plugin name 2015-08-19 12:13:01 +02:00
python Updated copyright years to include 2015 2015-02-28 03:18:45 +01:00
reference Docs: Added removal of MVEL to migration docs 2015-08-18 19:14:14 +02:00
resiliency Discovery: wait on incoming joins before electing local node as master 2015-07-15 07:43:49 +02:00
river Docs: Add link to rivers deprecation blog post 2015-08-15 19:34:25 +02:00
ruby Docs: Fixed typos 2015-05-05 10:38:05 +02:00
README.asciidoc Docs: Updated docs/README.asciidoc to point to the new docs repo 2015-04-27 08:54:07 +02:00

README.asciidoc

The Elasticsearch docs are in AsciiDoc format and can be built using the Elasticsearch documentation build process

See: https://github.com/elastic/docs