I'm thinking that this would make for a good article for folks. I know, for me, I was actually "afraid" of upgrading, b/c I was gonna lose my core hacks and thought it was gonna be forever to get them back.
Having upgraded from Paris (our first b2evo install) -> Dawn and then -> v1.6 ... all recently, has taught me a better way to keep track.
Basically, what I do is this:
- In a mirrored directory tree, I make a local copy of a core file that I'm about to modify and rename it _coreFile-ORIG.php
- In my editor, I hack the file the way I want and save it as _coreFile-MOD.php
- When I upgrade, I then have a list of my "hacked" files that I can use a differencing program (like WinMerge, which I use and like).
- PLUS, I have the added benefit, if needed, of reverting back to the original file-state, if I really mess up my hackage or something.
Do either of you have a way of managing core hacks? (or suggestions/additions)? (This is really more a question for Danny and/or Ed, because I know that Blabba is a cowboy and probably doesn't have a method at all. :p )
The only thing that I've wanted in mine, is a relative level of importance (some core hacks are minor ... some critical). It would be nice to know which is which, so that WHEN I do upgrade, I can do the critical ones first ... though I usually do a parallel install with a copy of the DB and wait to go "live" till all core hacks are accounted for.
Recent Comments