Welcome! Please see the About page for a little more info on how this works.

0 votes
in tools.deps by

When downloading projects with large transitive deps sets, it's essential to provide some feedback about download progress to the user from many different types of clients. It would be great to be able to pass a function to the API which would be called back with this progress information. The Maven resolution libs support this via a TransferListener, you can see how pomegranate's support for this works (link: https://github.com/cemerick/pomegranate/blob/27b4ff3418bd989a52a6b0bd9df16c4954a92d8f/src/main/clojure/cemerick/pomegranate/aether.clj#L69-L110 text: here) and (link: https://github.com/cemerick/pomegranate/blob/27b4ff3418bd989a52a6b0bd9df16c4954a92d8f/src/main/clojure/cemerick/pomegranate/aether.clj#L126-L137 text: here). I believe that tools.deps uses JGit, which also has some support for download progress. The listener format needs to support multiple simultaneous downloads, which the Maven libs use by default.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/TDEPS-81 (reported by colinfleming)
...