under construction
Version Control
The Genoviz project uses Subversion for version control and managing the release cycle. The repository is hosted at sourceforge.net.
Anyone contemplating contributing to the Genoviz code base should read this on-line text on Subversion before getting started: Version Control with Subversion.
Note that for many years, Genoviz used CVS for version control. We migrated from CVS to subversion in 2008.
Structure of the repository - trunk and branches
Note that the repository contains multiple branches and a main trunk of development.
There are two types of branches - release branches and development branches.
Release branches have names like "igb_6_4" and correspond to major releases of the software we have made for end users. These should never be removed from the repository and should not ever be touched except by the group managing releases for end users. (As of this writing, this is the team at UNC Charlotte led by Ann Loraine. If you have any questions about this, contact her.)
Development branches are development workspaces and may ultimately be merged backed into the trunk provided they pass testing. If you have a great new idea for an IGB feature or a change the the user interface, first make a branch and implement your changes there.
DO NOT develop on the trunk unless your proposed new feature is bug fix or is highly unlikely to introduce new bugs to existing systems and features. If you have any questions about this, please contact the IGB development team directly or via the developers' list.
Why branch for new features?
There are two major reasons underlying why you should implement new features on a development branch rather than the trunk:
- IGB is a mature software application with thousands of users and hundreds of features. New developers experience a long learning curve as they master the code base. New developers who don't know anything about molecular biology, genomics, or next-generation sequencing undergo an even longer learning curve as they get familiar with IGB basic functionality. If you are new to the IGB and Genoviz code base, you will need freedom to experiment and make mistakes without annoying other developers or disrupting the release cycle. Creating a branch gives you a risk-free workspace where you and your close collaborators can work, experiment, and back out of changes as needed. However, this doesn't mean you'll be developing in isolation - you can always merge in changes from the trunk. Before you get started, read this: Version Control with Subversion, Chapter 4. Branching and merging.
- IGB is a graphical user interface and therefore requires extensive manual testing every time a change is made either to the user interface or the underlying code base. Before merging a branch back into the trunk, you must demonstrate that the new feature is well-tested and bug-free. The Loraine group at UNC Charlotte has a testing team that can help you, but please be aware that resources are limited. If your new feature requires extensive testing and is not already covered in one of the group's funded grants, you will need to provide funding to support the testing effort. Contact Ann Loraine for details.
WARNING: The main trunk of development should not be used to "try things out" or experiment with new ideas and architectures. If you want to try something new that is likely to cause many other features to break or that you are not sure is even going to work, then first make a branch and develop it there. Only developers with a lot of experience working with the IGB code base should check in changes to the trunk.