clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
Shantanu Kumar 2017-11-17T06:56:20.000127Z

Hi, I’m looking at https://github.com/clojars/clojars-web/wiki/About#how-do-i-delete-a-jar and I wonder if project rename could be a considered a valid reason for deleting a released artifact. In my case, I have released 0.1.0-alpha1 version that nobody else uses and I decided to rename the project before it’s too late.

Shantanu Kumar 2017-11-17T07:00:05.000019Z

^^^ /cc @danielcompton @tcrawley

alexmiller 2017-11-17T16:36:00.000052Z

hello kind clojarians. A new version of autodoc/autodoc-collect (1.1.4) was deployed this morning https://clojars.org/autodoc/autodoc-collect/versions/1.1.4 however I have trouble getting it.

alexmiller 2017-11-17T16:36:05.000115Z

[~/tmp/prot]$ lein deps :tree
Could not find artifact autodoc:autodoc-collect:jar:1.1.4 in central (<https://repo1.maven.org/maven2/>)
Could not transfer artifact autodoc:autodoc-collect:jar:1.1.4 from/to clojars (<https://repo.clojars.org/>): Received fatal alert: protocol_version
Could not transfer artifact autodoc:autodoc-collect:pom:1.1.4 from/to clojars (<https://repo.clojars.org/>): Received fatal alert: protocol_version
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.

alexmiller 2017-11-17T16:36:48.000324Z

^^ with a Leiningen project.clj with only :dependencies [[autodoc/autodoc-collect "1.1.4"]]

alexmiller 2017-11-17T16:37:00.000324Z

using lein 2.8.1

2017-11-17T16:37:43.000231Z

Howdy! What version of java are you using?

alexmiller 2017-11-17T16:37:53.000739Z

java 1.7 in this terminal

2017-11-17T16:38:39.000469Z

lein 2.8.1 switched the clojars repo url to point to the CDN, which should support java 1.7, but may require a newer patch release

2017-11-17T16:38:53.000426Z

you can force it to use the on-server repo, which won't have that issue, one sec

alexmiller 2017-11-17T16:39:49.000689Z

interesting

2017-11-17T16:40:01.000094Z

if you add :repositories [["clojars" {:url "<https://clojars.org/repo>"}]] to your :user profile in ~/.lein/profiles.clj, you'll hit the on-server repo (which is still valid and in-sync with the CDN)

alexmiller 2017-11-17T16:40:10.000167Z

on 1.7.0_25-b15 in particular

2017-11-17T16:40:26.000254Z

though lein may warn about having repos in your user profile

alexmiller 2017-11-17T16:40:42.000841Z

I switched to java 1.8 and that did fix it

alexmiller 2017-11-17T16:40:56.000567Z

did not expect that to be a java version thing

alexmiller 2017-11-17T16:41:00.000385Z

thanks!!

2017-11-17T16:41:22.000756Z

I believe the issue is SNA certificate support, which wasn't in earlier 1.7 builds

2017-11-17T16:41:26.000009Z

my pleasure!

alexmiller 2017-11-17T16:41:33.000541Z

makes sense

alexmiller 2017-11-17T16:41:56.000388Z

hey, in the clojure cli stuff, what repo should I use as the default clojars repo?

alexmiller 2017-11-17T16:42:09.000050Z

I don’t have mirror support yet

2017-11-17T16:42:25.000305Z

@kumarshantanu I would just leave the old name there, deletion is problematic, and we'd like to avoid it if possible

2017-11-17T16:43:10.000018Z

@alexmiller I would use https://repo.clojars.org/ - that's the CDN, and we're trying to move all the tooling to it, since it is more reliable in theory

alexmiller 2017-11-17T16:43:26.000483Z

I’m using https://clojars.org/repo/ - is the cname preferred?

2017-11-17T16:43:48.000309Z

that's the on-server repo, so the cname is preferred, yes

alexmiller 2017-11-17T16:43:59.000041Z

ok

2017-11-17T16:44:18.000468Z

though that same SNA issue will occur for old javas

alexmiller 2017-11-17T16:45:17.000753Z

I’m ok with that as long as I know how to tell people to fix it :)

2017-11-17T16:46:25.000520Z

right on

alexmiller 2017-11-17T16:47:24.000429Z

I somewhat intentionally run an old jvm as my default to avoid accidentally relying on anything too new when doing clojure dev :)

2017-11-17T16:49:38.000194Z

uhm, yeah, that's, uhm, my excuse as well