Skip to content

Library Deprecation

Choose a tag to compare

@MGatner MGatner released this 09 Jun 13:25
· 32 commits to master since this release
b2e3613

This is a minor release with no content changes simply to notify users that this version of the library is deprecated in its entirety.

Patches began as a concept for alleviating the very rote task of comparing framework revisions to their project equivalent. A tremendous amount of effort went into the handlers and interactive command, which amounted to the following:

  1. Auto-merging updated files that were untouched in the project
  2. Notifying the developer (with optional diff) about updated files that were touched and needed conflict resolution

The eventual goal was to offer an additional, more complex Merger to handle three-way merges, thus relieving some of the work hidden in point 2 above. There were a handful of abandoned attempts at this, with the final conclusion: Git already does this better.

What else does Git do great? Point number one. Basically I realized that Patches had become an effort at recreating some of the power of Git in a PHP backend framework, very unnecessarily. So instead of pressing further into this approach, I will be ending support for this library as a PHP module and refactoring it into a command-line script that leverages git and composer to handle the heavy lifting.

Version 2 of this library is around the corner! For those who prefer the current approach: version 1.2 will remain available, or check out Liaison Revision.