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.
^^^ /cc @danielcompton @tcrawley
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.
[~/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.
^^ with a Leiningen project.clj with only :dependencies [[autodoc/autodoc-collect "1.1.4"]]
using lein 2.8.1
Howdy! What version of java are you using?
java 1.7 in this terminal
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
you can force it to use the on-server repo, which won't have that issue, one sec
interesting
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)
on 1.7.0_25-b15 in particular
though lein may warn about having repos in your user profile
I switched to java 1.8 and that did fix it
did not expect that to be a java version thing
thanks!!
I believe the issue is SNA certificate support, which wasn't in earlier 1.7 builds
my pleasure!
makes sense
hey, in the clojure cli stuff, what repo should I use as the default clojars repo?
I don’t have mirror support yet
@kumarshantanu I would just leave the old name there, deletion is problematic, and we'd like to avoid it if possible
@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
I’m using https://clojars.org/repo/ - is the cname preferred?
that's the on-server repo, so the cname is preferred, yes
ok
though that same SNA issue will occur for old javas
I’m ok with that as long as I know how to tell people to fix it :)
right on
I somewhat intentionally run an old jvm as my default to avoid accidentally relying on anything too new when doing clojure dev :)
uhm, yeah, that's, uhm, my excuse as well