AgileWorksOrg / elasticsearch-river-csv

CSV river for ElasticSearch
Apache License 2.0
91 stars 45 forks source link

Install file for 2.0.0 missing 'v'? Prevents download/install #19

Closed srs81 closed 10 years ago

srs81 commented 10 years ago

When I try:

plugin -install xxBedy/elasticsearch-river-csv/2.0.0

I get:

-> Installing xxBedy/elasticsearch-river-csv/2.0.0...
Trying http://download.elasticsearch.org/xxBedy/elasticsearch-river-csv/elasticsearch-river-csv-2.0.0.zip...
Trying http://search.maven.org/remotecontent?filepath=xxBedy/elasticsearch-river-csv/2.0.0/elasticsearch-river-csv-2.0.0.zip...
Trying https://oss.sonatype.org/service/local/repositories/releases/content/xxBedy/elasticsearch-river-csv/2.0.0/elasticsearch-river-csv-2.0.0.zip...
Trying https://github.com/xxBedy/elasticsearch-river-csv/archive/v2.0.0.zip...
Trying https://github.com/xxBedy/elasticsearch-river-csv/archive/master.zip...
Failed to install xxBedy/elasticsearch-river-csv/2.0.0, reason: failed to download out of all possible locations..., use -verbose to get detailed information

I think its because the file name for 2.0.0 is "2.0.0.zip" - the downloader is looking for "v2.0.0.zip" ?

chadkouse commented 10 years ago

I'm pretty sure this isn't the problem. The problem seems to be that even if it finds the file it's just getting a zip of the source code. The url needs to point to the release from This Page which is actually at https://github.com/xxBedy/elasticsearch-river-csv/releases/download/2.0.0/elasticsearch-river-csv-2.0.0.zip

chadkouse commented 10 years ago

Try this, worked for me:

bin/plugin -install river-csv -url https://github.com/xxBedy/elasticsearch-river-csv/releases/download/2.0.0/elasticsearch-river-csv-2.0.0.zip
vtajzich commented 10 years ago

Take a look at read me. We've released new version with lot's of updates.