Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I would like to contribute support (or suggest it is added) for deps.edn format dependency #162

Open
ieugen opened this issue Dec 23, 2021 · 0 comments

Comments

@ieugen
Copy link

ieugen commented Dec 23, 2021

  • What are you trying to do?

I saw search.maven.org displays the dependency information in an easy to copy/paste way for a number of tools.
I would like to add support for deps.edn (tools.deps) which is / is becoming the de-facto standard for Clojure.

https://clojure.org/guides/deps_and_cli

Right now, for example for this library:
https://search.maven.org/artifact/org.apache.calcite/calcite/1.21.0/pom

I can copy dependency definition for tools like: Maven, Gradle, Groovy, Leiningen, but not for deps.

Dependency format for deps should look like:

org.apache.calcite/calcite {:mvn/version "1.21.0"}

For context, when inside a deps.edn file it will look like this:

{:paths ["src"] 
 :deps {org.apache.calcite/calcite {:mvn/version "1.21.0"}}
 }

For example, see how deps are shown on the clojars site: https://clojars.org/babashka

  • What feature or behavior is this required for?

On the artifact page, a new block similar to the Leiningen one, with deps.edn format:

Captură de ecran de la 2021-12-23 22-57-02

  • How could we solve this issue? (Not knowing is okay!)

Add another entry on that page duuh :D

  • Anything else?

Nope. Thank you for providing this service for all.
I would like to contribute this if no one is available to add this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant