Thanks Sean!
I've thought about this issue for a while. arrdem suggested a clojars search fallback. Maybe someone has pageranked clojure libraries? crossclj?
I agree. The editing is sort of silly, especially for om (well, that m looks really expensive to me.. ). Still, there isn't a risk of adding some
weird library that hasn't been user-approved. I want to address the inconvenience by prompting when dependencies aren't found.
In the next feature release, maps will probably be specified like this:
:plz [["my-om-dependencies.edn" :as "foo"] ["my-gui-dependencies.edn" :as "bar"]]
Each edn file will look the same, and the merging is still in order (so there's still a global map of abbreviations), but then you can do
where the cljs dependency comes from the global map (probably merged from om-dependencies), and bar includes each dependency in "my-gui-dependencies.edn".
When an abbreviation isn't found, there will be some call to the outside world (clojars/crossclj search?) for relevant information to display to the user, followed by
Which dependency do you want to add? [the-number/s(kip)/q(uit)]
If the dependency corresponding to the-number is added, then:
Do you want to file it to a group? [the-number/c(reate-group)/no]
What abbreviations should it have?
Let me know what you think.