What sort of Subversion repository layout would you use for a web application

What sort of Subversion repository layout would you use for a web application
LVL 1
rgb192Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rushtoshankarConnect With a Mentor Commented:
Are you talking about the database structure of SVN? (like Berkeley DB or FSFS). I suggest using FSFS
Or

Are you talking about your project directory structure (like folders under trunk folder of SVN?)

Go through the link, http://svnbook.red-bean.com/en/1.6/svn-book.html#svn.reposadmin.projects.chooselayout

Layout is depending on your project.
Are you having multiple projects (or multiple modules in the same project, separately compilable), no overlap, not the same list of users/groups? use the following kind of multiple project layout

Project1 (or Module1)/
   tags/
       version 1.0
       version 2.0
   branches/
       branch for issue 1
       branch for issue 2
   trunk/

Project2 (Or Module2)/
   tags/
       version 1.0
       version 2.0
   branches/
       branch for issue 1
       branch for issue 2
   trunk/
or
tags/
   Project1 (or Module1)/
      version 1.0
      version 2.0
   Project2 (or Module2)/
      version 1.0
      version 2.0
branches/
   Project1 (or Module1)/
       branch for issue 1
       branch for issue 2
   Project2 (or Module2)/
trunk/
   Project1 (or Module1)
   Project2 (or Module2)
This layout is tedious to maintain the permissions/check-ins and slightly hard to track

Or
You can use different repositories per project


Are you having single project, multiple users are working on different/same files?
Go for single project layout

tags/
   version 1.0
   version 2.0
branches/
   branch for issue1
   branch for issue2

trunk/
   project1/
        folder1
        folder2
        file1
        file2


write back if you need more info/help
0
 
rgb192Author Commented:
thanks
0
All Courses

From novice to tech pro — start learning today.