Fork me on GitHub
#clojars
<
2017-03-16
>
kentnl18:03:17

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

tcrawley19:03:09

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

tcrawley19:03:15

are you still trying to deploy w/boot?

tcrawley19:03:32

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

kentnl20:03:08

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. 🙂

kentnl20:03:52

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.

kentnl20:03:28

( 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 )

kentnl20:03:12

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

tcrawley20:03:03

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

kentnl20:03:35

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

tcrawley20:03:35

it's just http, yeah

kentnl20:03:22

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

tcrawley20:03:02

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

kentnl20:03:29

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

kentnl20:03:44

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

kentnl20:03:54

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

kentnl20:03:09

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

kentnl22:03:35

woot. Finally got it to work

kentnl22:03:41

turns out, all the boot documentation is wrong.