On 2/23/06, Marcus Monaghan <marcus.monaghan@temberwudgie.co.uk> wrote:
> The company I work for develop in Delphi, C#, Java and Progress.
> Progress is the prominent development language at the moment and uses an
> in house set of procedures for version control, so I'm not concerned
> about that. However, I would like to setup a structure for the other
> areas and have come up with the following;
>
> /subversion/
> delphi/
> repos/ --->
>
> projects/
> project1/
> trunk/
> branches/
> releases/
>
> project2/
> trunk/
> branches/
> releases/
>
> common/
> trunk/
> branches/
> releases/
>
> /subversion/
> csharp/
> repos/ --->
> projects/
> project1/
> trunk/
> branches/
> releases/
>
> project2/
> trunk/
> branches/
> releases/
>
> common/
> project1/
> trunk/
> branches/
> releases/
> /subversion/
> java/
> repos/ --->
> projects/
> project1/
> trunk/
> branches/
> test/
> dev/
> releases/
> project2/
>
> trunk/
> branches/
> test/
> dev/
> releases/
>
> There would be three repositories, one for each language.
I don't see the advantage to doing this. You may be setting yourself
up for a major headache if, down the line, you decide to code part of
one application in another language, or a related/supporting
application for one app in a different language.
> 1. Does having three separate repositories make sense?
That's really up to you, your administrators, and your development
team(s). There's no real disadvantage to having 3 repositories, other
than having to have 3 configurations, 3 sets of hook scripts, 3 sets
of authorization files, etc.
> 2. The delphi structure has a common directory. Does this make sense? If
> not how else can I structure it to have a common directory?
Do you have code that's common to all projects under "delphi"? If so,
then I guess it makes sense - but as above, this whole thing is pretty
free-form, you can do whatever makes sense to your group.
> 3. I'm happy with the CSharp.
> 4. The java structure is slightly different but this is roughly how they
> work at the moment. Would I/we come across any issues relating to the
> java structure?
It's just a directory structure. As long as it doesn't cause
roadblocks in your development, do what works for you.
There are 2 things I really don't understand about your layout:
1) Why the "repos" directory? It really seems like an un-needed extra layer.
2) As I noted above, splitting the projects by programming language
could get you into a major bind. What do you do if you bring in a
couple new programmers to do some VB.NET work, and they're going to
contribute to code in the "common" directory of the C Sharp "project"?
Or, even worse, you decide to do a web application? That'll involve
at least 3 languages in most shops.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 24 02:09:57 2006