[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 313
  • Last Modified:

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
0
rgb192
Asked:
rgb192
1 Solution
 
rushtoshankarCommented:
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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now