Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Subversion repository layout with multiple projects?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pbean
n00b
n00b


Joined: 28 Apr 2009
Posts: 4

PostPosted: Tue Apr 28, 2009 6:14 am    Post subject: Subversion repository layout with multiple projects? Reply with quote

When having multiple projects in one repository, what is the recommended layout?
This:
Code:
/trunk/project1
/trunk/project2
/trunk/project3
/tags/project1
/tags/project2
/tags/project3
/branches/project1
/branches/project2
/branches/project3


Or this:
Code:
/project1/trunk
/project1/tags
/project1/branches
/project2/trunk
/project2/tags
/project2/branches
/project3/trunk
/project3/tags
/project3/branches
Back to top
View user's profile Send private message
ToeiRei
Veteran
Veteran


Joined: 03 Jan 2005
Posts: 1191
Location: Austria

PostPosted: Tue Apr 28, 2009 6:27 am    Post subject: Reply with quote

if you'd ask me it's the 2nd one as you seperate the projects in a logical way.
_________________
Please stand by - The mailer daemon is busy burning your messages in hell...
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Tue Apr 28, 2009 7:31 am    Post subject: Reply with quote

I personally have one repo per project, but if forced I'd choose the second one.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
bartlm
n00b
n00b


Joined: 15 Aug 2008
Posts: 15
Location: Fürstenzell

PostPosted: Tue Apr 28, 2009 1:22 pm    Post subject: Reply with quote

Whatever you prefer...
My way is the first one :wink:
Back to top
View user's profile Send private message
pbean
n00b
n00b


Joined: 28 Apr 2009
Posts: 4

PostPosted: Tue Apr 28, 2009 5:28 pm    Post subject: Reply with quote

bartlm wrote:
Whatever you prefer...


Well obviously that's true... I could also go crazy and invent my own layout, but that's not really handy imho as there are already established standards and recommendations. ;-)

UberLord wrote:
I personally have one repo per project, but if forced I'd choose the second one.

I would normally just create one repo per project as well, in fact I do this already do this for my bigger projects. However I now have a situation where I have multiple smaller projects which are very much related, and it would be tedious to create a repo for each of them separately and manage the authentication for them as well. This case is regarding small web sites for various clients using a common system and set-up, with a new project every one or two weeks.
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2719
Location: here, there or in transit

PostPosted: Tue Apr 28, 2009 7:19 pm    Post subject: Reply with quote

pbean wrote:
I could also go crazy and invent my own layout, but that's not really handy imho as there are already established standards and recommendations. ;-)
Standards, not so much; recommendations aplenty.

Quote:
I now have a situation where I have multiple smaller projects which are very much related, and it would be tedious to create a repo for each of them separately and manage the authentication for them as well. This case is regarding small web sites for various clients using a common system and set-up, with a new project every one or two weeks.
Which layout you prefer should depend on how independent your projects are. When they all tend to follow their own timelines and development plans, without regard for each other, the second layout makes more sense. The first is more logical when the projects are organizational units of a larger effort and tend to be planned and released together (or nearly so).

FWIW, I use the second layout.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum