Link to home
Start Free TrialLog in
Avatar of shashiguda
shashiguda

asked on

SVN setup on Windows 2003 Server for Development environment

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
Avatar of crazedsanity
crazedsanity
Flag of United States of America image

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.
Avatar of shashiguda
shashiguda

ASKER

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.
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).
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
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.
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


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!
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
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.
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
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.
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

ASKER CERTIFIED SOLUTION
Avatar of crazedsanity
crazedsanity
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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