add ability to emit a lock file
See original GitHub issuethe coursier CLI has a resolve option and -t
but the output is more useful for humans than tools.
Would you be open to a PR to add the ability to emit a JSON lock file?
I imagine it would list all the constraints that went in (all the artifacts + versions), and then list the minDependencies optionally including sha256 hashes of all the artifacts.
This is suitable for checking into a version control for a fully reproducible description of the classpath used to build.
This protects people from mutable changes in repositories (which are possible) causing hard to diagnose issues (not noticing that the resolution changed).
If this sounds like it would be useful, I can see about sending some PRs to implement this.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:9 (7 by maintainers)
Top Results From Across the Web
File Locking - GitLab Docs
Locks can be created by any person who has at least Developer role in the repository. Only the user who locked the file...
Read more >c# - Lock a file while retaining the ability to read/append/write ...
I want to implement the following behaviour: When the application is started, lock the file so that no other applications (or user itself)...
Read more >Locking & Unlocking Files - Box Support
Locking & Unlocking Files · Right-click a file (or click the ellipses (...)) to open the More Options menu. · Click Lock. ·...
Read more >Generating a complete lock-file without installing #5738 - GitHub
To have a command/option for emitting a complete lock-file like with yarn install . Please mention your node.js, yarn and operating system ...
Read more >Enable repeatable package restores using a lock file
We are happy to announce that we have now introduced the ability to lock your project's package dependency graph via a lock file...
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
Actually
fetch
,launch
,bootstrap
andinstall
should also be able to operate with a lockfileI think what would be quite ideal is if resolve was able to emit json - similar to
cs fetch --json-output-file ...
- and then for cs fetch to be able to use that, so for example: