orca
orca copied to clipboard
Pretty-print changes to composer.lock
Changes to composer.lock are essentially impossible for humans to parse, which can and has led to unintended changes on multiple projects.
https://github.com/davidrjonas/composer-lock-diff is a plugin that pretty-prints these changes. I've implemented a PoC of this in some of our closed-source projects to pretty-print the diff in Travis CI and it works great! I can't share a direct link here but the changes required are minimal:

And here's the output:

Could we get this in ORCA?
As a bonus/follow-up feature, I think it would be nice to actually append this output as a comment on any Github PR that modifies composer.lock so it's more visible and not buried in Travis CI. But even in the current form it's still really useful.
Adding this to our internal Jira backlog as ORCA-212.
Closing this issue because it has been inactive.