clojars

Sardtok 2024-01-15T10:40:00.745639Z

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

Sardtok 2024-01-18T19:46:57.928179Z

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.

2024-01-18T19:53:51.862619Z

Looks good, thanks @sardtok!

Kirill Chernyshov 2024-01-15T11:04:37.094019Z

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
2024-01-15T13:51:36.625569Z

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.

Sardtok 2024-01-15T15:04:52.107289Z

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.

2024-01-15T16:22:30.964599Z

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

seancorfield 2024-01-15T16:52:44.711849Z

@sardtok https://clojure-doc.org/articles/cookbooks/cli_build_projects/#the-generated-pomxml-file talks about how to do this for build.clj

👍 1