yrone
03-04-2003, 10:48 AM
How do you guys manage changing sourcecode and naming
revisions?
I am just a perl scripter mostly but learning php and mysql. I am not even to the point of running a major project yet! mostly stuff under 2k lines of code.
Even at this small amount of code I start getting confused about versions and whatnot.
Should you name something script v01 and each change you make up the version by 1? I make 100's of changes per session. Should you name it by session? day? feature?
I ask also because some of the revisions that I make get misplaced, misnamed, and other bad things. Let me explain.
I have a script in production that is a mailing list. This runs each morning at 8:45 and works just fine.
I want to move the list of emails from within the script to an external file to make things easier to manage.
I want to test the mailing list beta for a few days and only mail myself and not the others on the list.
Now to migrate the beta to production. move it into the production directory and move the current version to version_previous. and whatnot. After a few times of doing this its going to get crazy!!
How do you manage it? And what about LARGE projects of 10's of thousands of lines of code and revisions and whole featuresets daily???
I know CVS is supposed to deal with this but I dont think that I need that much power yet.
Sorry for the long post
revisions?
I am just a perl scripter mostly but learning php and mysql. I am not even to the point of running a major project yet! mostly stuff under 2k lines of code.
Even at this small amount of code I start getting confused about versions and whatnot.
Should you name something script v01 and each change you make up the version by 1? I make 100's of changes per session. Should you name it by session? day? feature?
I ask also because some of the revisions that I make get misplaced, misnamed, and other bad things. Let me explain.
I have a script in production that is a mailing list. This runs each morning at 8:45 and works just fine.
I want to move the list of emails from within the script to an external file to make things easier to manage.
I want to test the mailing list beta for a few days and only mail myself and not the others on the list.
Now to migrate the beta to production. move it into the production directory and move the current version to version_previous. and whatnot. After a few times of doing this its going to get crazy!!
How do you manage it? And what about LARGE projects of 10's of thousands of lines of code and revisions and whole featuresets daily???
I know CVS is supposed to deal with this but I dont think that I need that much power yet.
Sorry for the long post