?
Solved

SVN setup on Windows 2003 Server for Development environment

Posted on 2011-04-25
14
Medium Priority
?
362 Views
Last Modified: 2013-11-13
Hi ,
I need to setup SVN for the development environment for different project associate with multiple repositories,
I have considered the Setup-Subversion1.5.3 and TortoisesSVN1.6.15.
Please guide the svn installation and configuration for the below requirement
How to Create a Multiple repositories under the root repository as Subversion Repos.
under the root repositories i have two sub repositories like Project A Rep and Project B Rep
each repository like Project A Rep and Project B Rep include sub projects like
Sub Project A-1, Sub Project A-2 and Sub Project B-1 , Sub Project B-2

Here is the representation I have to create the repositories and Projects and provide the access to the Developers. How can i achive this. Please guide me .

 | d:/SUBVERSION_REPOS
    |___Project A repository
    | |________Sub project A-1/
    | | |__trunk/                               - --> (trunk directory to hold the “main line” of development)
    | | |__tags/                                
    | | |__branches/                        ----->( branches directory to contain branch copies)
    | |________Sub project A-2/
    | | |__trunk/
    | | |__tags/
    | | |__branches/
    |___Project B repository
    | |________Sub project B-1/
    | | |__trunk/
    | | |__tags/
    | | |__branches/
    | |________Sub project B-2/
    | | |__trunk/
    | | |__tags/
    | | |__branches/

Thanks
Regards
Shashi
0
Comment
Question by:shashiguda
  • 7
  • 7
14 Comments
 
LVL 9

Expert Comment

by:crazedsanity
ID: 35466822
I would suggest VisualSVN [ http://www.visualsvn.com/ ].  It is ridiculously simple to setup, and the no-frills version is free.  Creating new repositories is very simple and the process will even create the standard structure with the trunk, tags, and branches folders.

Setting up the directory structure is pretty simple and can be done in TortoiseSVN.  Just checkout the root of the repository (i.e. https://servername/svn/Project_A_Repository).  I would highly recommend avoiding spaces in folder names (and files, if possible), as it can cause some headaches down the road.

Post again if you need more in-depth help.
0
 

Author Comment

by:shashiguda
ID: 35467799
What the difference between SVN and Visualsvn,

how to install and configure if i want to go with  Visualsvn. can you please give the biref information for an idea.

well how the SVN and Visual SVN work together.
0
 
LVL 9

Expert Comment

by:crazedsanity
ID: 35468398
VisualSVN is just an easy-to-use, Windows-based installer for Subversion.  It installs Apache, Subversion, and does all the stuff required to get HTTPS running. The website for it pretty much tells the whole story: [ http://visualsvn.com/server/ ].

SVN and VisualSVN work together because they're the same thing.  Again, VisualSVN is just an installer for SVN, giving a pretty Windows GUI for it.  The benefit of VisualSVN is that it makes integrating with Windows authentication a breeze (it is possible to integrate with Windows authentication without VisualSVN, but it is not nearly as easy).
0
A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

 

Author Comment

by:shashiguda
ID: 35469606
I just want to be clear about VisualSVN. is there any impacts using the VisualSVN for Subversion.

like managing subversion repositories and project data etc..

can I use subversion without VisualSVN . because VisualSVN seems to be licenced version .

is there any other GUI tools i can use for SVN so that i can do Adminstration like Managing  repositories at serverside , Monitor logs and etc....

I am only interested in using SVN with FSFS excluding Appache..

all i need to use svn protocol in network for check in(import) and check out(export)

Please guide the step by setp installation procedure for svn on windows2003 64-bit server

after how to start the server and how to create windows service.
how to create users for remote access like check in and check out for the multiple project repositories
based on above template i specified in the  first mail

I am going to access the svn from eclipse ide
which svn version you recommend for installation and best usage on windows 2003 server

I will apreciate your answeres for the above listed queries.
Thank you,
Regards
Shashi
0
 
LVL 9

Expert Comment

by:crazedsanity
ID: 35469928
VisualSVN has a free version, which basically lacks a couple of the bells & whistles that the paid version has.  VisualSVN is just an easy way to install Subversion with Apache, which includes setting up HTTPS and integrating with Windows authentication (it can use other authentication too, like SVN-based usernames & passwords).

Installing the server is literally as easy as just pressing the next button(s), then finish; the default options are pretty straight-forward.  The interface is incredibly intuitive if you've ever used any Windows GUI; the help is very good should you run into problems.

The installation creates all the services and such that are required, and it starts up immediately.  When I had it installed on my test server, it would start up whenever I rebooted (it was a Windows XP 64-bit machine).

I would install the latest version of SVN, v1.6.x, as it is backwards-compatible with previous versions.

Let me know if you have other questions.
0
 

Author Comment

by:shashiguda
ID: 35470191
Can you specify the URL for downloading the latest VisualSVN for windows 2003 64-bit server OS.
and

I have verified the licence for VisualSVN here is the url
http://www.visualsvn.com/server/licensing/#faq_standard_and_enterprise
which tells the licence for the remote server administration and other features etc...

I am going to setup the SVN for the corporate environment for furture needs.
currently there are 10 developers going the access the following reposotory structure.
 | d:/SUBVERSION_REPOS
    |___Project A repository
    | |________Sub project A-1/
    | | |__trunk/                               - --> (trunk directory to hold the “main line” of development)
    | | |__tags/                                
    | | |__branches/                        ----->( branches directory to contain branch copies)
    | |________Sub project A-2/
    | | |__trunk/
    | | |__tags/
    | | |__branches/
    |___Project B repository
    | |________Sub project B-1/
    | | |__trunk/
    | | |__tags/
    | | |__branches/
    | |________Sub project B-2/
    | | |__trunk/
    | | |__tags/
    | | |__branches/

Please provide the latest  VisualSVN software download url for windows 2003 server.
and give some information about licence information .

i can talk to my manager for geting licence if i need to go through the licence cost and etc...
Thank you,
Shashi


0
 
LVL 9

Expert Comment

by:crazedsanity
ID: 35470643
The download URL is [ http://www.visualsvn.com/server/download/ ] (click "download now") or, to directly download the software: [ http://www.visualsvn.com/files/VisualSVN-Server-2.1.7.msi ] (this link will eventually be out-dated).  The version listed shows that it will run on Windows 2003, and if your hardware is capable of running that OS, it is capable of running VisualSVN.

If you have the ability to remote desktop into the 2003 server, there is really no need to use the paid-for version; I would suggest running "Standard Edition" until such time as it seems necessary to have the extra functionality that the "Enterprise Edition" offers.

Setting up the repositories is pretty simple.  In the VisualSVN interface, you can create the base repositories ("Project_A" and "Project_B").  If you're running Windows on your workstation, install & use TortoiseSVN to checkout the root of the repository (for a server with the domain name "server.local", the URL would be something like "https://server.local/svn/Project_A/").    Create the folder structure you want, add and commit everything (via right-click menu options).  This will give you a visual understanding of the server layout; developers (or whoever) can checkout sub-folders, such as https://server.local/svn/Project_A/sub_project_b-1/trunk".

I hope that clears things up. Again, let me know if you need anything else.  Good luck!
0
 

Author Comment

by:shashiguda
ID: 35476590
I have downloaded and installed the VisulSVN,

well I have created the following structure and user then imported files into trunk by using TortoiseSVN.
 | d:/SUBVERSION_REPOS
    |___Project A repository
    | |________Sub project A-1/
    | | |__trunk/                               - --> (trunk directory to hold the “main line” of development)
    | | |__tags/                                
    | | |__branches/

i want to use FSFS file system not    Berkeley DB. please clarify like VisualSVN by default uses

which file system. and

also  what are the commands (command line) if i want  to see all versions that i have commited to repository.
if visualsvn doesnt create FSFS as default how to modify for creating the defaul file system like FSFS.
Other than Brekely DB.

Please provide some command to test the Visual svn on commandline.

may i create the repository using svnserve --daemon --root "d:\svnrepo"
and manage the repostory through Visualsvn...

what the approach for configuing visualsvn as windows service .
please guide the steps

Thanks
Regards
Shashi
0
 
LVL 9

Expert Comment

by:crazedsanity
ID: 35476826
There is no option to change the default repository type, which has been FSFS in Subversion for a long time.  Nothing states which mechanism is used, but looking in the repository folder confirms that it IS using FSFS (there are files for revisions instead of a big Berkely *.db file).

The "svnserve" command is for starting the Subversion server, and is used primarily on Linux machines; VisualSVN handles creation of the service and such, so there's no need to start up the repository by hand or through any command line.  There is no need to do any creating of any service for VisualSVN, as it is done already.

I think you may have missed the point of using VisualSVN.  Basically, the company that created this system built an installer that handles setting up Apache, Subversion, authentication, and setting up the service; the system provides a simple graphical interface for working with the repository.

If you want to see everything you've done by the command line:
svn log --verbose https://server.local/svn/Project_A_Repository

Open in new window

.  An easy way to know for sure of what to use for the URL is simply to right-click on your repository and select "Browse": that will open in a browser window.
0
 

Author Comment

by:shashiguda
ID: 35477143
I want to display at client browser window  for all comminted file versions at repository

For example : as i commited file 1.txt to repsotory and second time i modified and commited the
same 1.txt  as revision 2 for the respository .
I will expect the revision file listed at client side
like   Revision  filename     USer modified by
           2             1.txt            shashi
           1              1.txt            Ravi

is there any options for listing all the version and coming to understanding like which version i can use based on avialable versions existing in repository as well as accessing all the listed version at client side on browser window.

well  i need to understand is there any document for going through the list of commands executing and testing for administration purpose.

please guide me for best approaces for administrating and managing the repository,
because i am in the start stage and this implementation is going to long run,

any additional insights for the subversion is apprecaiatable.

Thank you,
Regards
Shashi
0
 
LVL 9

Expert Comment

by:crazedsanity
ID: 35477199
First of all, you really need to read the SVN Book, available online at [ http://svnbook.red-bean.com/ ]; all the commands and concepts are very clearly laid-out there.  I would also suggest using TortoiseSVN to view the repository, logs, and whatever else.

I simply cannot stress enough how important it is for you to understand Subversion if you're going to be administering it.  Please read the book, which will give you all the information you need.  Pretty much every basic Subversion-related question has answers posted elsewhere on the Internet, though most (if not all) of them are covered in the book.
0
 

Author Comment

by:shashiguda
ID: 35477858
Hi ,

Sorry for taking more time on this, i gone through the book, i am able to follow and few of things
are fuzzy to understand.

some of them i want to customize like as i mentioned i want to display all commited version at client side not using TortoiseSVN. i check that option.

one more important thing is if i want to uninstall what are the commands for  VisualSVN.
I Know the command for SVN like 'svnservice –remove'
how restrict user access for particular users i have created at visualSVN Console.
like some of them i need to provide only read only access where some of them i need to provide write access.
Thanks
Regards
Shashi

0
 
LVL 9

Accepted Solution

by:
crazedsanity earned 1500 total points
ID: 35477936
Any SVN client, be it in an IDE like Eclipse, a context-menu system like TortoiseSVN, or a Linux command line client would be able to view logs.  The ability to view changes to a particular path (file or folder) can be done by specifying that particular path instead of the repository root.  The blame/praise command can show line-by-line differences on a particular file.  You can install a system like "ViewVC" to get more information about a repository through a browser, though I've never done this on Windows; if you're interested in that option, consult their documentation (if necessary, create a different question for that one).

If you want to uninstall VisualSVN, use the Add/Remove Programs system within Windows, just like any other installed program.  This process will remove the program, the service, etc (though I think the repositories are left behind).

Adjusting user access is a Windows thing.  Right-click on the repository through the VisualSVN interface, and there is an interface for setting user privileges.  The options there will depend upon what sort of authentication you selected during installation, your network, etc.
0
 

Author Closing Comment

by:shashiguda
ID: 35722495
Hi,

Thanks for helping me in understanding the subversion.

I am on vaction so I apolozise for late reply,
I am just done with installation and have to setup the
project code struction for the svn.

Thank you,
Regards
Shashidhar
0

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ready to get certified? Check out some courses that help you prepare for third-party exams.
Phishing emails are a popular malware delivery vehicle for attack.  While there are many ways for an attacker to increase the chances of success for their phishing emails, one of the most effective methods involves spoofing the message to appear to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question