[feature request] fetch/resolve json report
See original GitHub issueHi,
I am trying to integrate coursier with Pants build tool as a replacement for the existing ivy resolver. The goal is to have Pants to hand off the 3rdparty resolution/fetch job to coursier, then parse its result.
Currently the command line is great,
./coursier resolve -t (or -T) <artifacts ...>
but it is not machine friendly. To start with, essentially I would require, e.g. json representation of the tree, and potentially the reason for conflict resolution.
I am not very familiar with code base or Scala, so is it something an existing contributor can achieve relatively quickly? If not, can someone kindly point me to the relevant code?
Thanks, Yi
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Using the Fetch API - MDN Web Docs
The Fetch API provides a JavaScript interface for accessing and manipulating parts of the protocol, such as requests and responses.
Read more >How to Use the Fetch API (Correctly) - CODE Magazine
Open the appsettings.json file and modify the connection string to point to your SQL Server where you installed the AdventureWorksLT database.
Read more >Response.json() never resolves #665 - node-fetch ... - GitHub
I have an interesting issue with request that essentially never finishes. ... The correct solution is to resolve cloned response in parallel.
Read more >Handling requests with fetch - DEV Community
This week I got to rewrite our apps requests from using axios to using the Fetch API. Let's get int... Tagged with javascript,...
Read more >How To Use the JavaScript Fetch API to Get Data - DigitalOcean
In this tutorial, you will create both GET and POST requests using the Fetch API.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
While https://github.com/coursier/coursier/commit/a4258f48ce7e9a3b432dc5227ab9cd2dfdc2471a did add a
--json-output-file
for the fetch command it did not add this for theresolve
command - would it be trivial to also add it toresolve
@wisechengyi ?+1 to @Globegitter - this is really useful for Bazel as we can leverage Coursier’s resolution + Bazel’s highly cacheable download mechanism, as long as we have a way to parse the JSON output reliably from
resolve
.