Fork me on GitHub
#clojars
<
2024-01-15
>
Sardtok10:01:00

How do you get package releases on Clojars to link to Github, both in for the actual release and in the top left link headers? I have the Github URL set as the project's URL in project.clj and use Leiningen to deploy. https://github.com/Sardtok/drift

delaguardo11:01:37

you can use https://github.com/technomancy/leiningen/blob/master/sample.project.clj#L489-L498 to add <scm> tag into generated pom.xml After deploy it will be picked up by clojars automatically

👍 1
tcrawley13:01:36

We have https://github.com/clojars/clojars-web/wiki/About#where-does-clojars-get-vcs-host-information-from in the FAQ, but I just noticed it doesn't have any tooling-specific guidance on how to get those values into the pom. I would welcome updates there.

Sardtok15:01:52

I wouldn't mind writing up a short guide for Leiningen and deps, but I have I might not be able to do so until Wednesday, as I have a few other things to take care of before then. I have no experience with boot, so can't possibly help out there. I think a link to the FAQ from https://github.com/clojars/clojars-web/wiki/Pushing wouldn't hurt either.

tcrawley16:01:30

That all sounds great @UUZDC0JMN, thanks! There is no rush at all.

Sardtok19:01:57

https://github.com/clojars/clojars-web/wiki/About#adding-vcs-host-information-in-leiningen I'll try and find some time tomorrow to add information regarding tools.build.

tcrawley19:01:51

Looks good, thanks @UUZDC0JMN!