Fork me on GitHub
#clojars
<
2017-11-17
>
Shantanu Kumar06:11:20

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.

Alex Miller (Clojure team)16:11:00

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.

Alex Miller (Clojure team)16:11:05

[~/tmp/prot]$ lein deps :tree
Could not find artifact autodoc:autodoc-collect:jar:1.1.4 in central ()
Could not transfer artifact autodoc:autodoc-collect:jar:1.1.4 from/to clojars (): Received fatal alert: protocol_version
Could not transfer artifact autodoc:autodoc-collect:pom:1.1.4 from/to clojars (): 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.

Alex Miller (Clojure team)16:11:48

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

tcrawley16:11:43

Howdy! What version of java are you using?

Alex Miller (Clojure team)16:11:53

java 1.7 in this terminal

tcrawley16:11:39

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

tcrawley16:11:53

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

tcrawley16:11:01

if you add :repositories [["clojars" {:url ""}]] 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)

Alex Miller (Clojure team)16:11:10

on 1.7.0_25-b15 in particular

tcrawley16:11:26

though lein may warn about having repos in your user profile

Alex Miller (Clojure team)16:11:42

I switched to java 1.8 and that did fix it

Alex Miller (Clojure team)16:11:56

did not expect that to be a java version thing

tcrawley16:11:22

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

tcrawley16:11:26

my pleasure!

Alex Miller (Clojure team)16:11:56

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

Alex Miller (Clojure team)16:11:09

I don’t have mirror support yet

tcrawley16:11:25

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

tcrawley16:11:10

@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

tcrawley16:11:48

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

tcrawley16:11:18

though that same SNA issue will occur for old javas

Alex Miller (Clojure team)16:11:17

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

Alex Miller (Clojure team)16:11:24

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

tcrawley16:11:38

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