-
Notifications
You must be signed in to change notification settings - Fork 224
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
Update dependency downloader #4
Update dependency downloader #4
Conversation
d66bed0
to
116d8bc
Compare
taking a look at this now |
Tried a couple of dependencies and different repositories and all worked fine. I saw that dependencies are getting installed under |
Potential JIRAs that can be resolved by this |
)*/ | ||
val dependencyDownloader = new CoursierDependencyDownloader | ||
dependencyDownloader.setDownloadDirectory( | ||
new File(config.getString("ivy_local")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we change this to something else, we could avoid clashes between kernel instances. Or, if we set the default ivy_local to a temporary directory, that would work as well.
Do we want to look into this under the same PR? Or open another issue? https://issues.apache.org/jira/browse/TOREE-169?focusedCommentId=15104588&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15104588 |
FYI, I read that using Coursier for resolution/downloading over standard sbt has a large increase in performance. Might be worth adding the plugin for us to see if it helps with Toree dependency resolution/downloading, especially when running automated build/test. |
Lets handle the location of the deps in a separate PR. I opened https://issues.apache.org/jira/browse/TOREE-261. We should just go ahead and get that work done asap since this is fresh. |
Adds the following options to %AddDeps:
--repository <URL>
to include another repository when downloading--trace
to print out download information--verbose
to print out miscellaneous informationThese options will show up in the help menu. You can provide
--repository
more than once to include more than one additional repository.Will ignore any malformed URL. Will try repositories provided by
--repository
first before default repositories.