unclecheese / silverstripe-gridfield-betterbuttons

Adds new form actions and buttons to the GridField detail form
GNU General Public License v2.0
80 stars 88 forks source link

SS4 compat: Add 2.x-dev branch alias, rename class structure for PSR-4 #150

Closed robbieaverill closed 7 years ago

robbieaverill commented 7 years ago

This is just a start towards SS4 compatibility. It renames the class structure to one that is PSR-4 and namespace friendly, and adds a composer branch alias for 2.x-dev so it can be installed by composer into a SS4 project. I'm doing this separately from everything else to try and ensure we retain the git history for the classes - otherwise changing whitespace (for example) as well as the filename may cause git to think it's a deletion an creation instead of just a rename and modify.

Will require the current master branch to be branched off to 1 or 1.3 (or both) for maintaining the current version.

Further pull requests that actually do some upgrading will be coming!