简体   繁体   中英

Tools to manage upgrade of heavily modified framework

I realize this question is a bit subjective and won't have a definitive answer but hopefully it's a question that can help others in the same situation.

I am running an extremely modified CMS (in this case xCart v4.1.8) and I am looking for the best tools/means to upgrade in an organized fashion.

We have added a boat load of functions, modules, new db tables, modified db tables, modules, etc.

We already use an SVN but with how heavily modified this CMS is I fear an SVN is far from enough.

I figure some sort of tool/script that will not only analyze code for differences but actually run through all of the functions, see what's passed and how it's manipulated then compare that with the other code in order to determine the differences. If there's a way to integrate databases into the comparison that would be great too.

Any help pointing me in the right direction would be greatly appreciated. I imagine there would be tools that manage this and would prefer to not have to reinvent the wheel if at all possible.

Thanks in advance for your help and suggestions.

Also for what it's worth the site we are upgrading consists of mainly PHP/MySQL and runs off Apache.

You can obviously use your source code tool for the code mods that you have done. If I understand you correctly, it is the database scripts that are causing the greatest issue.

I would either purchase some db comparison tools (thinking Redgate here), write your own db scripts that allow you to compare an 'as is' (your current modified database) with the 'to be' database (problem with this is this is time consuming and doesnt offer any ROI!).

Performing comparisons on database is always 'fun'! Good luck!

I don't believe there are any tools that would analyse and merge code difference automatically.

It's been a long time ago when I used SVN last time but it should have a diff/merge tools. Git handles merging amazingly easy, resolves conflicts automatically and forces you to remove unnecessary code by yourself.

But anyway you have to compare code line by line and modify as expected.

Good luck.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM