-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support Clojure / deps.edn projects #97
Comments
I think the easiest and most reliable way to deal with this is by looking at projects Is there a guide to implement support for new languages? What is needed, etc? This also applies to #96 so maybe these issues can be considered duplicates. Edit: some more context on |
@martinklepsch If We don't have a guide yet to support new languages. But:
|
@martinklepsch Do you plan on implementing this or are you merely gathering information for the one who will? Re: |
@devurandom you’re right, I assumed you would run BYS on a dependency but really most people are going to run it on their project that may not even have a pom.xml or jar packaging. With that in mind we’ll need something that
Just for my understanding, does backyourstack mostly run on the users computer or on a server in some way? (On mobile right now so can’t look it up easily but don’t worry if there’s no quick answer.) |
Until now I only knew about https://backyourstack.com/ i.e. examining people's stacks online -- I did not even know you could (conveniently) run it on your local computer. |
As of today, BackYourStack is effectively only a website that is available at https://backyourstack.com/ It does make sense to make it available as a CLI too, but that's absolutely not there. Would be happy to help if someone wants to work on that. |
Ah, I think I confused it with @feross’ |
It would be great if BackYourStack could support Clojure projects that use deps.edn.
The file you want to be looking at is a Clojure / EDN file (parser implemented in JavaScript), the same format as relevant for #96. A sample that should be sufficient for the purposes of BackYourStack is given in the deps and CLI guide, with a full reference / extensive documentation being available in the Clojure reference sections about deps.edn and dependencies. These files contain exactly one map
{}
of:keyword
value pairs. You are searching for the value associated with the:deps
keyword, which in turn will be a map{}
ofsymbol
value pairs, with the symbol being the name of the dependency and the value again being a map{}
of:keyword
value pairs. In this final map, the only keyword interesting to you is:mvn/version
whose value will be a"string"
.Sample taken from the Clojure reference on dependencies:
The dependencies with their descriptions, home page, source repo, versions, dependencies, licenses are usually to be found on Clojars (HTTP REST API documentation) and in some rare cases on Maven. This is the same as for #96.
The text was updated successfully, but these errors were encountered: