Source code structure on TFS

Coordinator
Jul 10, 2008 at 6:07 AM
I like to suggest simple structures on the basis of  http://www.codeplex.com/BranchingGuidance.

The root structure is shown as
$/FormatVisualizer/DEV
$/FormatVisualizer/MAIN
$/FormatVisualizer/PRODUCTION

Each directory means
DEV - is a container which contains branches for features.
MAIN - has main source code. The current source code tree would be copied into this.
PRODUCTION - has source code to be published.

Scenario 1 - Simple source code change
-> Commit into MAIN directly.
-> Use workspace if needed.

Scenario 2 - Source code change which takes several weeks
-> Creates a branch under DEV.
-> Merge into MAIN when it has been fully implemented, is stable, is well tested, and it is either ready for others to comsume. :)

Scenario 3 - Release of stable version
-> At first, create PRODUCTION by branching it from MAIN
-> After that, merge source code into PRODUCTION from MAIN
-> Put a label on that version ( PRODUCTION )

Any comments are welcomed!



Coordinator
Jul 10, 2008 at 7:06 AM
Thank you for your efforts.

I think the Scenario 2 will be appropriate to this project.

Let's create a brach under DEV and go to the next stage. :-)
Coordinator
Jul 10, 2008 at 8:11 AM
Please pardon my poor English expression.
Scenario 1, 2 and 3 are not options.
I like to do all of them.

But I think it's not important. :)
Let's create branches first!

Coordinator
Jul 11, 2008 at 10:32 AM


muscly wrote:
Please pardon my poor English expression.
Scenario 1, 2 and 3 are not options.
I like to do all of them.

But I think it's not important. :)
Let's create branches first!



You mean, Not Scenario, But Step, right?
Sorry for my poor understanding. ;-)