Closed prometheas closed 7 years ago
Hey, thanks for taking an interest!
This is a great idea and I took a stab it. I think it should meet your requirements and avoids new dependencies. Please look it over and I'll merge it up. PR https://github.com/davidrjonas/composer-lock-diff/pull/6
Went on holiday just after getting this conversation started, and only now catching up on Github things. PR #6 does The Thing—nice.
I'd really like to see the
diff()
function in your main script evolve into something that can use various sources for eachcomposer.lock
file (e.g., URL + URL, revision hash + URL, file path + URL, etc), as well as support multiple formatters.I acknowledge that will introduce great complexity (e.g., more files, likely dependencies), but I'm prepared to do that work.
My question for you, however, is whether you'd like me to attempt the work as a pull request, or whether you'd prefer I create a new project (with a different name, naturally) and give attribution to your utility as a foundational source.