clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
Tamizhvendan S 2020-01-21T04:38:22.002100Z

Hi, I have published a library in Clojar (https://clojars.org/org.graphqlize/graphqlize) 12 hours ago but when I try to refer it via deps I am getting the following error

Error building classpath. Could not find artifact org.graphqlize:graphlize:jar:0.1.0-alpha1 in central (<https://repo1.maven.org/maven2/>)
How can I resolve it?

2020-01-21T05:55:27.004400Z

may be the following will be of some help. iiuc, the reason clojars gets consulted via clj is usually(?) because there is some deps.edn file that has a section like:

:mvn/repos {
    "central" {:url "<https://repo1.maven.org/maven2/>"}
    "clojars" {:url "<https://repo.clojars.org/>"}
  }
on my machine that happens to be the file /usr/local/lib/clojure/deps.edn. i learned this by first examining the output of clj -Sdescribe and looking through the files listed under the :config-files key.

Tamizhvendan S 2020-01-21T12:14:30.005500Z

Thanks @sogaiu. But it didn’t help. I even put :mvn/repos in deps file but still it didn’t work

Tamizhvendan S 2020-01-21T12:21:44.006100Z

Oops. It was a typo. Renamed graphlize to graphqlize and it got fixed

👍 1
2020-01-21T16:32:01.006700Z

is clojars down? or is it just me?

2020-01-21T16:33:01.007300Z

@darwin It looks like it should be back up now - it may have had an OOM and restarted

2020-01-21T16:35:59.008300Z

@tcrawley thanks, it seems to be up now, but my release seems to be borked, the problem is that it accepted incomplete and I cannot re-deploy, https://clojars.org/binaryage/dirac

2020-01-21T16:36:15.008600Z

Failed to deploy metadata: Could not transfer metadata binaryage:dirac/maven-metadata.xml from/to clojars (https://clojars.org/repo/): Access denied to: https://clojars.org/repo/binaryage/dirac/maven-metadata.xml, ReasonPhrase: Forbidden - redeploying non-snapshots is not allowed (see https://git.io/v1IAs).

2020-01-21T16:37:02.009200Z

previously the deploy failed with multiple “Could not transfer artifact binaryage:dirac:pom:1.5.4 from/to clojars (https://clojars.org/repo/): Read timed out”

2020-01-21T16:37:19.009500Z

used lein for that

2020-01-21T16:38:48.010500Z

I see 1.5.4 at https://repo.clojars.org/binaryage/dirac/1.5.4/ and 1.5.4 mentioned in https://repo.clojars.org/binaryage/dirac/maven-metadata.xml. so it may have completed correctly. Can you paste the full log you got on the failed deploy?

2020-01-21T16:39:39.011200Z

the dependencies definitely don’t look ok (but it might be my mistake I tinkered with them for 1.5.4 release)

2020-01-21T16:40:34.011300Z

2020-01-21T16:43:06.011900Z

here is the pom.xml which should be associated with that release: https://gist.github.com/darwin/ada7a7199dc9c67b80cbd2aca01b2682

2020-01-21T16:52:17.012800Z

should I wait for some kind of removal/fix of 1.5.4 or should I go ahead and mark 1.5.4 as broken and release 1.5.5 instead?

2020-01-21T16:53:11.013600Z

Sorry, in a meeting. The quickest fix would be to release 1.5.5 - I won't have time to look in to how to fix 1.5.4 in the next 8 hours or so at least.

2020-01-21T16:53:41.014100Z

ok, don’t worry about it, I will simply release a new one, only few people use this anyways

2020-01-21T16:53:44.014300Z

thanks

2020-01-21T16:54:00.014600Z

My pleasure! Sorry for the trouble.