orca icon indicating copy to clipboard operation
orca copied to clipboard

Pretty-print changes to composer.lock

Open danepowell opened this issue 4 years ago • 1 comments

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: screenshot-github com-2021 02 10-07_53_12

And here's the output: screenshot-travis-ci com-2021 02 10-07_43_53

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.

danepowell avatar Feb 10 '21 15:02 danepowell

Adding this to our internal Jira backlog as ORCA-212.

TravisCarden avatar Jun 08 '21 15:06 TravisCarden

Closing this issue because it has been inactive.

Raksha-Bharuka avatar Nov 19 '24 11:11 Raksha-Bharuka