Version 1.3.4 of ElasticSearch is available. It would be nice to have that version as an ebuild. Thanks!
I was about to send both 1.3.5 and 1.4.0 ebuilds, but since they are just renames of the 1.3.2-r1 ebuild, and there's also bug #524682, now I'm not sure how and where it should be best to provide them :) Probably I can make an ebuild which can patch the sample elasticsearch.yml with the now-default settings for versions <1.4.0, if you would like to keep them in the tree.
Or we stop installing it outright? I am okay with either approach.
Created attachment 389212 [details] elasticsearch-1.3.5.ebuild Proposed 1.3.5 ebuild, already including the http_cors_disabled.patch proposed in bug #524682 (should I attach the same patch here as well? let me know). While I'm a big fan of trying/running/hacking latest and greatest releases, I believe it is nice to provide options for at least the current and previous minor versions of Elasticsearch (e.g. 1.3.x and 1.4.x currently), so users can properly plan their upgrades without too much time pressure.
About sample configuration files for Elasticsearch: as it can be somewhat complicated, or at least not fully trivial to come up with a proper config file (especially for new users), I think it is nice to provide upstream's default versions to them. Also, in the samples directory they don't get into the way of more advanced users, but they are still there for reference. So that's why I decided to patch them instead of removing them.
As a new user of Elasticsearch I can confirm that the default config files are a great help. I've read several blog posts where users complained about the initial setup of Elasticsearh and was very happy that it was so easy to get started under Gentoo!
On a sidenote, I see that the official sites includes version 1.4.0.
Yes, a proposed ebuild for 1.4.0 is already attached to bug #524682 for 1.4.0.
*** Bug 529724 has been marked as a duplicate of this bug. ***
+*elasticsearch-1.4.0 (05 Jan 2015) +*elasticsearch-1.3.2-r2 (05 Jan 2015) + + 05 Jan 2015; Tony Vroon <chainsaw@gentoo.org> -elasticsearch-1.3.2.ebuild, + -elasticsearch-1.3.2-r1.ebuild, +elasticsearch-1.3.2-r2.ebuild, + +elasticsearch-1.4.0.ebuild, +files/1.3.2-http_cors_disable.patch: + Version bump by Ferenc Erki closes bug #525582. Mitigation and bump for + cross-site scripting vulnerability by Ferenci Erki for security bug 524682. Excuse the delay. Thank you very much.
No problem, thanks for reviewing and accepting! I'll send further bumps (1.4.2 is already out).