clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
nes 2016-10-18T19:30:23.000360Z

if I try to deploy to clojars but I put the password incorrectly, the lib is not available to my projects unless I re deploy correctly. This would be a vulnerability I think because I could “try” deploying libs to make them unavailable

2016-10-18T19:45:27.000361Z

@nes: a failure to deploy doesn't alter the clojars repo, so I don't understand your comment

nes 2016-10-18T19:47:26.000362Z

@tcrawley it has happened to me (maybe im just confused) I will try to replicate it

2016-10-18T19:49:46.000363Z

if the lib doesn't make it to clojars, and isn't in ~/.m2/repository/ then it will be unavailable to your projects

nes 2016-10-18T20:34:03.000364Z

@tcrawley of course, but thats not what I mean. I made this vid where I try to deploy to an existing project that is on clojars (`digitalize`). (with a wrong password on purpuse) then I do lein deps on another project that would otherwise work fine but now it cant find digitalize https://vid.me/9jPg

2016-10-18T23:06:59.000366Z

@tcrawley or @danielcompton - I just updated issue #559. I pushed some changes to my fork/branch for review. It passes tests but runs into a problem when using the /error page to test ring exceptions. The call to the RavenErrorReporter -report-error function triggers a clojure exception as listed in #559 comments. Please take a look when you get a chance. I can’t figure out why that method cannot be found - the only clue I have is that the method name is not namespace qualified.

2016-10-18T23:27:36.000367Z

@nes: hmm, what does the project.clj for formaterr look like? What does ~/.m2/repository/digitalize/digitalize/0.1.0-SNAPSHOT/maven-metadata.xml look like? Can you also give the output of ls ~/.m2/repository/digitalize/digitalize/0.1.0-SNAPSHOT/?

2016-10-18T23:30:58.000368Z

I suspect what's happening is lein deploy may be writing to the local maven-metadata.xml for that snapshot, which lein deps in the other project sees causing it to try and find a timestamped version that doesn't exist locally or remote

2016-10-18T23:31:29.000369Z

looking at the clojars repo, I don't see any partial deploys there

danielcompton 2016-10-18T23:32:48.000370Z

Yep was just going to say the same thing