Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Search index location and format changed for Central #683

Closed
paulbellamy opened this Issue · 3 comments

4 participants

@paulbellamy

Regardless of what I search for, it does this:

$ lein version
Leiningen 2.0.0-preview7 on Java 1.6.0_33 Java HotSpot(TM) 64-Bit Server VM
$ lein search ring
Downloading index from central - http://repo1.maven.org/maven2
This can take a very, very long time. While you wait you might
be interested in searching via the web interfaces at
http://search.maven.org or http://clojars.org.
0%...
clojure.lang.ExceptionInfo: clj-http: status 404 {:object {:trace-redirects ["http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip"], :status 404, :headers {"accept-ranges" "bytes", "content-type" "text/html", "date" "Sun, 15 Jul 2012 11:34:42 GMT", "last-modified" "Sun, 15 Jul 2012 11:00:00 GMT", "server" "ECAcc (lhr/D27B)", "x-cache" "404-HIT", "content-length" "168", "connection" "close"}, :body #<FilterInputStream$0 clj_http.core.proxy$java.io.FilterInputStream$0@2755d4be>}, :environment {client #<client$wrap_output_coercion$fn__2849 clj_http.client$wrap_output_coercion$fn__2849@26e56ae>, req {:request-method :get, :url "http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip", :as :stream, :headers {"User-Agent" "Leiningen/2.0.0-preview7 (Java Java HotSpot(TM) 64-Bit Server VM; Mac OS X 10.7.4; x86_64)"}}, resp {:trace-redirects ["http://repo1.maven.org/maven2/.index/nexus-maven-repository-index.zip"], :status 404, :headers {"accept-ranges" "bytes", "content-type" "text/html", "date" "Sun, 15 Jul 2012 11:34:42 GMT", "last-modified" "Sun, 15 Jul 2012 11:00:00 GMT", "server" "ECAcc (lhr/D27B)", "x-cache" "404-HIT", "content-length" "168", "connection" "close"}, :body #<FilterInputStream$0 clj_http.core.proxy$java.io.FilterInputStream$0@2755d4be>}, status 404}}
    at clj_http.client$wrap_exceptions$fn__2828.invoke(client.clj:86)
    at clj_http.client$wrap_accept$fn__2876.invoke(client.clj:261)
    at clj_http.client$wrap_accept_encoding$fn__2881.invoke(client.clj:272)
    at clj_http.client$wrap_content_type$fn__2872.invoke(client.clj:253)
    at clj_http.client$wrap_form_params$fn__2917.invoke(client.clj:346)
    at clj_http.client$wrap_nested_params$fn__2934.invoke(client.clj:369)
    at clj_http.client$wrap_method$fn__2912.invoke(client.clj:331)
    at clj_http.cookies$wrap_cookies$fn__2380.invoke(cookies.clj:116)
    at clj_http.links$wrap_links$fn__2408.invoke(links.clj:50)
    at clj_http.client$wrap_unknown_host$fn__2942.invoke(client.clj:383)
    at clj_http.client$get.doInvoke(client.clj:444)
    at clojure.lang.RestFn.invoke(RestFn.java:423)
    at leiningen.search$download.doInvoke(search.clj:32)
    at clojure.lang.RestFn.invoke(RestFn.java:464)
    at leiningen.search$download_index$fn__3008.invoke(search.clj:68)
    at leiningen.search$download_index.invoke(search.clj:66)
    at leiningen.search$ensure_fresh_index.invoke(search.clj:78)
    at leiningen.search$search_repository.invoke(search.clj:88)
    at leiningen.search$search.invoke(search.clj:129)
    at leiningen.search$search.invoke(search.clj:125)
    at clojure.lang.Var.invoke(Var.java:419)
    at clojure.lang.AFn.applyToHelper(AFn.java:163)
    at clojure.lang.Var.applyTo(Var.java:532)
    at clojure.core$apply.invoke(core.clj:603)
    at leiningen.core.main$resolve_task$fn__823.doInvoke(main.clj:73)
    at clojure.lang.RestFn.applyTo(RestFn.java:139)
    at clojure.lang.AFunction$1.doInvoke(AFunction.java:29)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at clojure.core$apply.invoke(core.clj:603)
    at leiningen.core.main$apply_task.invoke(main.clj:95)
    at leiningen.core.main$_main$fn__862.invoke(main.clj:156)
    at leiningen.core.main$_main.doInvoke(main.clj:155)
    at clojure.lang.RestFn.invoke(RestFn.java:421)
    at clojure.lang.Var.invoke(Var.java:419)
    at clojure.lang.AFn.applyToHelper(AFn.java:163)
    at clojure.lang.Var.applyTo(Var.java:532)
    at clojure.core$apply.invoke(core.clj:601)
    at clojure.main$main_opt.invoke(main.clj:324)
    at clojure.main$main.doInvoke(main.clj:427)
    at clojure.lang.RestFn.invoke(RestFn.java:457)
    at clojure.lang.Var.invoke(Var.java:427)
    at clojure.lang.AFn.applyToHelper(AFn.java:172)
    at clojure.lang.Var.applyTo(Var.java:532)
    at clojure.main.main(main.java:37)
@ato ato referenced this issue in ato/lein-outdated
Closed

"lein outdated" currently tracebacks... #2

@ato
Collaborator

Looks like central are no longer publishing the legacy zip index format. There's some discussion about teaching Lein to use the incremental gzipped indexes in issue #243.

@technomancy
Owner

Going to take a stab at this based on https://github.com/MenschNestor/maven-index-search unless someone else has already worked on integrating it.

@technomancy technomancy was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.