Useful release diffs for Magento (without copyright changes).
Magento does not provide usable DIFF files for new releases. Every year the copyright text changes, which makes the diff completely unusable (10,000+ vs 200 changes).
More info: http://gravitydept.com/blog/usable-release-diffs-for-magento
This project normalizes the copyright changes between Magento releases, and provide a diff containing only legitimate changes.
- Download the target and preceding release of Magento.
- Create an Git repo.
- Commit the older release.
- Delete all those files.
- Copy the newer release into the repo.
- Look for insignificant copyright changes across all files.
- Find/replace to normalize all the copyright differences.
- Commit the new release.
- Run the following command:
git diff --name-status [commit1] [commit2] > [oldRelease]___[newRelease].txt
Add the following header text to the file:
RELEASE DIFF
Magento Community [oldRelease] — [newRelease]
https://github.com/gravitydepartment/magento-release-diffs
// ----------------------------------------------
GravDept is committed to producing new diffs for Magento 1 until it's unsupported. I went backward several years to 1.8.x then stopped. There shouldn't be stores older than that in the wild, but if a need presents itself I'll go back further.
Note: Magento Enterprise is not covered because I don't want to poke the bear.
Note: initially I'm focused on M1, but I'd like to produce comparable diffs for all M2 releases.
Contributions are welcome. Please follow the same process and formatting for consistency.