boot

:boot-clj: https://boot-clj.github.io/ — build tooling for Clojure. Dev chat in #boot-dev
ska 2019-11-05T09:29:10.018800Z

Hi! Has anyone ever used boot to deploy artifacts in GitLab? Their repo doesn't support username/password auth but requires a token to be sent via HTTP header. See documentation at https://docs.gitlab.com/ee/user/packages/maven_repository/#authenticating-with-a-personal-access-token

ska 2019-11-05T09:29:24.019300Z

Does boot support that?

ska 2019-11-05T15:41:05.019600Z

Apparently not: https://github.com/cemerick/pomegranate/issues/111

flyboarder 2019-11-05T17:00:32.020400Z

I don’t believe so, however you should be able to implement this as a task

ska 2019-11-06T08:53:57.020700Z

How would you approach that? Just a vague outline to give me an idea. That'd be helpful.

flyboarder 2019-11-06T17:27:17.022Z

I would look at the existing push task and see if you can simply modify it for additional auth mechanisms

ska 2019-11-14T13:01:54.022600Z

Thanks. I did that and it essentially reaches out to Maven libraries via pomegranate. I didn't see anything where I could sneak different auth in.

flyboarder 2019-11-20T00:05:20.026400Z

@ska so does pomegranate support other options?

ska 2019-11-20T13:15:58.026600Z

The way I understand the code at https://github.com/cemerick/pomegranate/blob/master/src/main/clojure/cemerick/pomegranate/aether.clj#L181 and in that area in general, no it doesn't. Of course I can be wrong.