Page 1 of 1

Tracking Changes

Posted: Tue Sep 07, 2010 3:20 am
by fettabachi
Hello,

As a new developer and a new OC user I am learning to alter the default files to customize the look of my site. The problem I'm having is keeping track of all the changes I'm making to the various files so that I can refer back to them when I perform upgrades or accidentally overwrite something. Can someone suggest an application or methodology to easily track this type of thing. Right now I'm on page 7 of my notes and I can see how this could get out of hand very easily.

Thanks

Re: Tracking Changes

Posted: Tue Sep 07, 2010 1:19 pm
by i2Paq
Before you make any change make a backup copy of files and db.
Create a directory structure of all the files from that copy you will change and keep that next to that copy.
Create a txt-file with what you have added (mods, modules etc) + a new buildno. in the admin-footer (1.4.9 build 3)

Now copy the changed files on top of your current install, see if it work.
If not, restore your back-up, if it does, proceed to the next change.

Re: Tracking Changes

Posted: Thu Sep 09, 2010 7:52 am
by fettabachi
i2Paq wrote:Before you make any change make a backup copy of files and db.
It's too late. I've already made the changes but that's a great idea. I suppose I could do a re-install to get the original files.

Is there an application available for a Mac that I could use to compare 2 directories against one another in order to see what has changed?

Thanks

Re: Tracking Changes

Posted: Thu Sep 09, 2010 1:22 pm
by i2Paq
I use a program called WinMerge, I have no clue if that will work in an Mac or if there is an equal program for a Mac.

Re: Tracking Changes

Posted: Thu Sep 09, 2010 6:29 pm
by lotus
i2Paq wrote:I use a program called WinMerge, I have no clue if that will work in an Mac or if there is an equal program for a Mac.
I think there is a similar product called Filemerge for Mac.

Re: Tracking Changes

Posted: Fri Sep 10, 2010 8:36 pm
by jty
fettabachi wrote:
i2Paq wrote:Before you make any change make a backup copy of files and db.
It's too late. I've already made the changes but that's a great idea. I suppose I could do a re-install to get the original files.
No need to do a reinstall, just keep the original zip download. That has the virgin files

You could put comments in your code eg your initials/name as long as it's not common letters. Then you can run a global find on all your files to find where you've made changes. eg //fred. Then do a global search on fred.

Template changes are easy, follow the instructions in the documentation
http://www.opencart.com/index.php?route ... path=43_44

Never, ever, ever not do backups. And don't delete your backups like I do. That's too dumb of me :bang:

Re: Tracking Changes

Posted: Mon Sep 13, 2010 6:32 pm
by fettabachi
lotus wrote:
i2Paq wrote:I use a program called WinMerge, I have no clue if that will work in an Mac or if there is an equal program for a Mac.
I think there is a similar product called Filemerge for Mac.
While researching Filemerge for Mac I came across a free app from BBEdit called TextWrangler which will compare files or directories against one another.

Re: Tracking Changes

Posted: Tue Sep 14, 2010 1:14 am
by i2Paq
fettabachi wrote:
lotus wrote:
i2Paq wrote:I use a program called WinMerge, I have no clue if that will work in an Mac or if there is an equal program for a Mac.
I think there is a similar product called Filemerge for Mac.
While researching Filemerge for Mac I came across a free app from BBEdit called TextWrangler which will compare files or directories against one another.
Thanks!

I've added it to the Tools page.

Re: Tracking Changes

Posted: Tue Sep 14, 2010 8:13 am
by fettabachi
i2Paq wrote:
I've added it to the Tools page.
A link to the tools page would be much appreciated.

Re: Tracking Changes

Posted: Wed Sep 15, 2010 12:33 am
by i2Paq
fettabachi wrote:
i2Paq wrote:
I've added it to the Tools page.
A link to the tools page would be much appreciated.
No can do, that page is Secret. :crazy: