Organizing Projects
From: Greg Lindstrom <Greg.Lindstrom_at_NovaSysHealth.com>
Date: Fri, 18 Mar 2011 14:33:53 -0500
Hello,
I am the IT manager at Novasys Health, Inc. where we process claims for the health care industry. We have started using Subversion as our code repository (from cvs) and I am still struggling with how to set up projects. Most of our code is in Python, though we have a lot of stored procedures (Postgres and Oracle) and some Perl code.
Traditionally, we set up a "trunk", "branches" and "tags" directory in Subversion for each project. I have a good feel for creating branches, making changes, merging back to the trunk and creating a tag. What I would like advice on is how to migrate to production. Currently, after I make a tag I will check it out to a "distros" directory (named the same as the tag) and then change a pointer from the "old" distro to the new one. This way we have a history of distros and it's easy to revert back if an error is found. The problem I have with this setup is that is what Subversion is designed to do for me (keep track of changes).
An option I have been considering is to create another directory under the project called "prod" that we check out to our production environments. Any production tags would be merged into this branch and then we would "update" the production environment with the new code. This would, I believe, give a nice change history in the svn log.
Another option is to create a "zip" file once a distribution tag is created. The zip file would be placed out on the network for people to install as needed. I don't care for this idea, but I know a large company that does it and it seems to work.
What advice can you give me? Is there a better way? What do I Google to find out more? Where do I go for help? We've done a fairly good job on a small scale, but we're growing and I want to get something THAT WORKS in place.
Thanks for your thoughts,
--greg
Greg Lindstrom, IT Manager 501-975-4859
CONFIDENTIALITY NOTICE: This communication contains information
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.