clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
wilkerlucio 2020-02-20T04:21:38.047700Z

hello, I'm trying to publish a new version of a library, but I'm getting: Could not transfer metadata com.wsscode:pathom/maven-metadata.xml from/to clojars (<https://clojars.org/repo/>): Checksum validation failed, expected 9f19c38290c67b3962ccc4445f08e5a69bac0853 but is 78a718e8d7c4d32ed8141f710190f679386eb732

wilkerlucio 2020-02-20T04:22:24.048700Z

I did upload another version early and it worked fine, I'm doing it using lein with lein deploy clojars, does someone know how can I fix this? I tried some tutorials like trying to PUT to force update the SHA, but that didn't worked

2020-02-20T04:28:16.050300Z

👋 i've had same maven-metadata.xml checksum issue as reported here and as a workaround i can successfully deploy by setting :checksum :ignore in my :deploy-repositories project.clj config

2020-02-20T07:19:52.050900Z

what's the equivalent fix for maven?

2020-02-20T13:17:33.051700Z

@ambrosebs I don't know what the fix is for maven, but if you are seeing the issue, would you mind sharing the output?

wilkerlucio 2020-02-20T14:24:41.052300Z

@atdixon can you send an example of what that looks like? I see vectors and I'm not sure where to put the :checksum :ignore

Jacques 2020-02-20T15:06:55.053400Z

is it just me or is <http://repo.clojars.org|repo.clojars.org> down? getting a 503 on all my clojars packages ...

2020-02-20T16:38:04.053600Z

It's not down for me - can you give an example of a package that gives you a 503? Are you behind a proxy of some sort?

Bjagg 2020-02-20T16:50:57.055800Z

Can disable it via an -D option or set it in your POM

wilkerlucio 2020-02-20T18:37:05.058300Z

@bjagg hello, I tried using the one at the top level, but it didn't work, and I'm not sure how to configure the clojars in other extended way, because currently all I have is :deploy-repositories [["releases" :clojars]], how do I turn this :clojars into a map to add the :checksum inside of it?

Bjagg 2020-02-20T18:51:06.059100Z

Here’s what I just used + the checksum bits:

:deploy-repositories [[ "clojars" {:url "<https://clojars.org/repo/>"
                                     :creds :gpg :checksum :ignore}]
                        ["releases" :clojars]
                        ["snapshots" :clojars]]

wilkerlucio 2020-02-20T18:58:06.059400Z

@bjagg that works! thank you so much!

👍 1