Hi there! Was wondering how I can add a link to Github to a project's Clojars page. Currently it only says "N/A". Would be awesome if someone could point me into the right direction ๐
@hi895 Do you mean in the top left, where normally it is a link to github?
@tcrawley yes exactly ๐ I'm using lein for deploying btw
That comes from the vcs metadata in the pom.xml, which lein
should populate automatically if you are deploying from a git repo. Though the clojars code may only know how to construct a url from that for github - it may not work if your remote isn't github
hm, it's Github: https://clojars.org/googlesheets-sql-sync
The scm
tag in the pom file is pretty empty. Not sure if that's the source where Clojars takes the information from thought:
<scm>
<tag>528588aaf75a5bb1b7e4de6a6941b49e99a6f3f8</tag>
</scm>
Yes, I was just typing that :)
That's where it comes from
is an example of what it should look like
I know lein
has some logic around generating that, but I don't know what would prevent it from doing so. Maybe ask in #leiningen ?
Thanks a lot @tcrawley for pointing me in the right direction! Sure I will figure this out ๐
My pleasure!
@tcrawley found the issue btw. lein only matches git@ urls. I was using an https:// url. Guess I will ask lein if they like to change that over there ๐ (see https://github.com/technomancy/leiningen/blob/1dc131128279ef50f21d4d643c4d5c2133c1370d/src/leiningen/pom.clj#L75)
@hi895 thatโs an interesting observation... there are some docs for cljdoc that also suggest using the https URL - do you think they should be changed? https://github.com/cljdoc/cljdoc/blob/master/doc/userguide/faq.md
Feel free to just do it or open an issue ๐