Use Subversion for Version Management in the project management tool redmine

Source: Internet
Author: User
Tags redmine tortoisesvn

 

In the previous article, redmine, a project management tool from the rails world, introduced redmine, A rails-based project management tool that provides version management. Next, we will introduce subversion (SVN) installation and use in redmine.

SVN installation is relatively simple. Download the installation package for Windows from the official website and install it all the way,

Here: http://subversion.tigris.org/servlets/ProjectDocumentList? Folderid = 91

Then install tortoisesvn: http://sourceforge.net/project/showfiles.php? Group_id = 138498

Start the svn service after installation.

1. Create a directory. Right-click windows Resource Manager and you will see the tortoisesvn project. Select create repository here to create a version library.

2. Locate the bin directory under the svn installation directory in the command line, and then execute the following command in the command line to register a Windows service to start SVN:

SC create svnbinpath = "C: \ SVN \ bin \ svnserve.exe -- service-R C: \ repos "displayname =" Subversion server "depend = tcpipstart = auto. Note that you must convert the preceding command into one line before executing it. In this example, you can change the number of rows to svnserve.exe. The other isCodeLibrary directory. 3. Start the svn service now and execute SVN \ bin \ svnserve.exe-D in the command line. In this way, the svn service is started. You can use tortoisesvn to access the version library,
In resource manager, in repo-browser of tortoisesvn, enter the URL: SVN: // localhost, SVN: // 127.0.0.1, SVN: // IPaddress, for example:

4. The above is the file added after the user permission is modified. By default, anonymous users in SVN cannot write the version library. Here we also need to set the user permission:

Open conf \ svnserve in the version library directory. in the conf file, if you change the # anon-access = read Statement under [general] To anon-access = write, the anonymous user will also have the write permission,
This is obviously not good. We use another method. Remove the # Before # password-DB = passwd, which indicates that we use a file to configure which users and their passwords, and then open
The passwd file. By default, there are two users: Harry and Sally. Similarly, we remove the line header # so that you can use these two users to write the version library.

 

The above is a simple installation step of SVN, and another method is to combine Apache, which is still under study and is not listed yet. Next, set the version library used by the project in redmine. Select subversion in the SCM drop-down box, and set the URL to any of the above.

 

Use tortoisesvn to add a file to the code library, check it out, modify it repeatedly, and submit it. In this way, the file has multiple versions. below is:

Then compare the version of the file and see the modifications. redmine provides two forms:

 

This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/carlward/archive/2009/06/01/4231058.aspx

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.