Sometimes we have to alter WordPress plugins slightly to fit our needs. If an update comes up I would like to still be able to update the plugin and merge it with our changes. What is the best to structure my code so this process is not a catastrophe? We are using SVN to store our wordpress plugins. And we are using tortoiseSVN as our SVN client.
Specifically, I altered qa-lite to take out voting options. A newer version of qa-lite came out and I want the new features that it has. Other than downloading the new version and combing through to make the changes by hand, is there, specifically, a better way to do it?
The only things that comes to mind right now is to consider public release of the plugin as head and your modified version as a branch. So, you’d keep them separated and perform a merge from head to branch in order to get new features. Manually.
Or create a patch from the diff between head and your changes. Then use the patch over the new public version.