clojars

http://clojars.org discussion and “support”, see http://status.clojars.org for status.
kentnl 2017-03-16T18:34:17.799080Z

Is there anything specific I'd need to do to set up an HTTP server to emulate clojars?

2017-03-16T19:08:09.351642Z

@kentnl I guess it depends on what you want to emulate

2017-03-16T19:08:15.353038Z

are you still trying to deploy w/boot?

2017-03-16T19:08:32.357688Z

have you tried using lein? That may be an easier path

kentnl 2017-03-16T20:04:08.196387Z

I could take the easy way, but I want to actually work out whats wrong here 🙂, because I'm mostly a release manager, and the primary dev prefers boot, so I defer to them. Because once I work out the Actual Problem then I can fix the Actual Problem. 🙂

kentnl 2017-03-16T20:04:52.207607Z

Basically, I just need to be able to see the requests you're seeing natively without having to ferry packets do you directly, that way I can close the loop and see how what I change affects the result.

kentnl 2017-03-16T20:05:28.217409Z

( mostly because there's no way for me to get between the aether code and push to see what's going on in there or explain why things are getting lost )

kentnl 2017-03-16T20:06:12.228474Z

Ideally, I'm going to end up wanting to build my own (push) function that turns off all the frills and confusing indirection that is making debugging impossible

2017-03-16T20:07:03.241681Z

the easiest thing to do may be to run a copy of clojars locally, and point at that, maybe

kentnl 2017-03-16T20:07:35.249594Z

Is there anything special about the http protocol it uses, or is it just a dumb HTTP + Auth + PUT ?

2017-03-16T20:08:35.264419Z

it's just http, yeah

kentnl 2017-03-16T20:15:22.363434Z

well, I guess its telling that when I overwrite the URL for upload it still does whatever the hell it wants ...

2017-03-16T20:17:02.387896Z

it being boot? as if your config changes aren't being applied?

kentnl 2017-03-16T20:18:29.409284Z

Yeah. Obviously I'd made a mistake in the repo-map assignment somehow, and it decided to ignore my configuration and use its own

kentnl 2017-03-16T20:18:44.413226Z

said configuration being necessary to store username and password ... probably related to that

kentnl 2017-03-16T20:52:54.922150Z

Now I have weird bugs because aether doesn't like my repo, and I'm having to dig into its mess of java code 😕

kentnl 2017-03-16T20:53:09.925894Z

org.sonatype.aether.transfer.NoRepositoryConnectorException: No connector available to access repository hacks () of type default using the available factories FileRepositoryConnectorFactory, WagonRepositoryConnectorFactory
    repository: #object[org.sonatype.aether.repository.RemoteRepository 0x275fe372 "hacks (, releases+snapshots)"]
         org.sonatype.aether.deployment.DeploymentException: Failed to deploy artifacts/metadata: No connector available to access repository hacks () of type default using the available factories FileRepositoryConnectorFactory, WagonRepositoryConnectorFactory
                                 clojure.lang.ExceptionInfo: Failed to deploy artifacts/metadata: No connector available to access repository hacks () of type default using the available factories FileRepositoryConnectorFactory, WagonRepositoryConnectorFactory

kentnl 2017-03-16T22:00:35.819365Z

woot. Finally got it to work

kentnl 2017-03-16T22:00:41.820768Z

turns out, all the boot documentation is wrong.