Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Cleanup Elasticsearch formula and add the option to install HEAD version #16844

Closed
wants to merge 2 commits into from

Conversation

karmi
Copy link
Contributor

@karmi karmi commented Jan 2, 2013

Cleanup of the Elasticsearch formula

1/ Fixed incorrectly installed Sigar libraries on Mac OS X

   Move all neccessary files to `libexec/sigar`.

2/ Removed manipulating the bin scripts, use ES_HOME variable

   Instead of hardcoding paths to Homebrew locations in the `bin/elasticsearch`
   and `bin/plugin` scripts, set up the ES_HOME environment variable
   in the `bin/elasticsearch.in.sh` properly.

   Also, simplify the Regex for replacing path to Elasticsearch classes (`--classpath`)
   in the `bin/plugin` script and use the `ES_CLASSPATH` variable.

3/ Simplified elasticsearch.yml configuration

   Reorganize the commands, use `sub` instead of `gsub`.

4/ Cleaned up the caveats/info section

   Remove redundant information.

Allow to install Elasticsearch from the source

    $ brew install elasticsearch --HEAD

Cleanup of the Elasticsearch formula:

1/ Fixed incorrectly installed Sigar libraries on Mac OS X

   Move all neccessary files to `libexec/sigar`.

2/ Removed manipulating the bin scripts, use ES_HOME variable

   Instead of hardcoding paths to Homebrew locations in the `bin/elasticsearch`
   and `bin/plugin` scripts, set up the ES_HOME environment variable
   in the `bin/elasticsearch.in.sh` properly.

   Also, simplify the Regex for replacing path to Elasticsearch classes (`--classpath`)
   in the `bin/plugin` script and use the `ES_CLASSPATH` variable.

3/ Simplified elasticsearch.yml configuration

   Reorganize the commands, use `sub` instead of `gsub`.

4/ Cleaned up the caveats/info section

   Remove redundant information.
Allow to install Elasticsearch from the source:

    $ brew install elasticsearch --HEAD

(You need a working Maven installation -- `brew install maven` to install it with Homebrew.)
@MikeMcQuaid
Copy link
Member

Seems good to me. Will merge shortly unless other maintainers complain.

@adamv
Copy link
Contributor

adamv commented Jan 4, 2013

@MikeMcQuaid OK to pull?

@MikeMcQuaid
Copy link
Member

Go for it.

@adamv adamv closed this in ad2d040 Jan 4, 2013
@karmi
Copy link
Contributor Author

karmi commented Jan 4, 2013

Thanks!

@adamv
Copy link
Contributor

adamv commented Jan 4, 2013

Thanks for the cleanups!

dholm pushed a commit to dholm/homebrew that referenced this pull request Jan 14, 2013
Allow to install Elasticsearch from the source:

    $ brew install elasticsearch --HEAD

(You need a working Maven installation -- `brew install maven` to install it with Homebrew.)

Closes Homebrew#16844.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants