Subversion: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
JeffM (talk | contribs)
No edit summary
Jeffb (talk | contribs)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Overview==
==Overview==


The post Subversion system (or SVN ) , is the [http://en.wikipedia.org/wiki/Subversion_(software) Subversion Revision Control System] used by the development team to maintain and store the many of the files used by post developers. This makes it the software distribution system for [[Compost]] and the [[Keyword List]].
The post Subversion system (or SVN ) , is the [http://en.wikipedia.org/wiki/Subversion_(software) Subversion Revision Control System] used by the development team to maintain and store many of the files used by post developers. This makes it the software distribution system for [[Compost]] and the [[Keyword List]].


Subversion is a full source code management system, and contains full history on all items placed in it, as well as comments and revision notes.
Subversion is a full source code management system, and contains full history on all items placed in it, as well as comments and revision notes.
Line 10: Line 10:


===Web Browser===
===Web Browser===
The current version of any file in the repository can always be found at the URL https://svn.gibbscam.com/post . This website is secured and requires a valid user name and password to access. Once logged in, users may browse and/or download any file in the repository. This site will only show the current version of the files, and will not show any comments or revision notes. URLs to this website will go out with many of the e-mails users receive from the system for new or changed file notifications.
The current version of any file in the repository can always be found at the URL https://svn.gibbscam.com/svn/post_dev . This website is secured and requires a valid user name and password to access. Once logged in, users may browse and/or download any file in the repository. This site will only show the current version of the files, and will not show any comments or revision notes. URLs to this website will go out with many of the e-mails users receive from the system for new or changed file notifications.


===SVN Client===
===SVN Client===
Users wishing to have full access to the repository must use a specialized piece of software called a ''subversion client''. This client will communicate directly with the Gibbs Subversion server over the internet, and allow the user to access the full history of any file in the repository, as well as any comments or revision notes.
Users wishing to have access to the repository that includes comments and history, or do not want to bother with using a web browser, must use a specialized piece of software called a ''subversion client''. This client will communicate directly with the Gibbs Subversion server over the internet, and allow the user to access the full history of any file in the repository, as well as any comments or revision notes.


The recommended subversion client for windows users is [http://tortoisesvn.tigris.org/ the Tortoise Graphical SVN Client]. This client integrates itself into the windows explorer allowing users to access repository files just like they would files on their hard drive.
The recommended subversion client for windows users is [http://tortoisesvn.tigris.org/ the Tortoise Graphical SVN Client]. This client integrates itself into the windows explorer allowing users to access repository files just like they would files on their hard drive.
Line 19: Line 19:
=====Configuration and Usage=====
=====Configuration and Usage=====


Once Tortoise SVN is installed, users should pick a place on there hard drive where they would like to keep the repository files and create a folder in that location. The name of this folder is not important.  
Once Tortoise SVN is installed, users should pick a place on their hard drive where they would like to keep the repository files and create a folder in that location. The name of this folder is not important.  


[[Image:Svn new folder.png]]
[[Image:Svn_new_folder.png]]


Once this folder has been created, the user should right click on it and choose the menu item that is named ''SVN Checkout''
Once this folder has been created, the user should right click on it and choose the menu item that is named ''SVN Checkout''


[[Image::Svn checkout.png]]
[[Image:Svn_checkout.png]]
 
This will bring up the checkout dialog box. Users should enter the Post SVN URL, https://svn.gibbscam.com/svn/post_dev into the indicated field and then press the ''OK'' button.
 
[[Image:Svn_repository.png]]
 
This will begin the checkout process and copy the current version of all files to the specified folder. On the first check out users will have to enter their user names and passwords when prompted.
 
[[Image:Svn_checkout_progress.png]]
 
Once this precess is complete the files may be used as normal files on the hard disk.
 
====History and Comments====
Additional information is available on each file using the ''Tortoise SVN'' right mouse menu.
 
[[Image:Svn_log.png]]
 
The primary feature is the log. This log will contain all revision notes and changes that have been made to any file. This is accessed by left-clicking on the ''log'' item in the
''Tortoise SVN'' right mouse menu.
 
[[Image:Svn_log_detail.png]]
 
This log display shows the notes that went along with the various changes to the file. These notes will often reference documentation in the Compost Reference Wiki.
 
==Notifications==
Any time a file is changed or added to the repository, a notification e-mail will be sent to all users of the system. This e-mail will contain the comments for the items changed, as well as links to the changed files on the secure website.
 
==Types of access==
===Read only access===
Users that are not post developers employed by Gibbs and Associates will only have read only access to the repository and will not be permitted to make any changes to the repository.
 
===Developer access===
*TODO* Add docs on how to commit to SVN for Gibbs Post devs.
 
==More Information==
More information about subversion and the various tools can be found at http://tortoisesvn.tigris.org/
 
[[Category:Articles]]

Latest revision as of 20:51, 12 October 2011

Overview

The post Subversion system (or SVN ) , is the Subversion Revision Control System used by the development team to maintain and store many of the files used by post developers. This makes it the software distribution system for Compost and the Keyword List.

Subversion is a full source code management system, and contains full history on all items placed in it, as well as comments and revision notes.

Usage

The subversion system can be used in two primary ways, via a standard web browser, or by using a Subversion client. Each method has its advantages. These methods are used to access the body of files that make up the post SVN repository.

Web Browser

The current version of any file in the repository can always be found at the URL https://svn.gibbscam.com/svn/post_dev . This website is secured and requires a valid user name and password to access. Once logged in, users may browse and/or download any file in the repository. This site will only show the current version of the files, and will not show any comments or revision notes. URLs to this website will go out with many of the e-mails users receive from the system for new or changed file notifications.

SVN Client

Users wishing to have access to the repository that includes comments and history, or do not want to bother with using a web browser, must use a specialized piece of software called a subversion client. This client will communicate directly with the Gibbs Subversion server over the internet, and allow the user to access the full history of any file in the repository, as well as any comments or revision notes.

The recommended subversion client for windows users is the Tortoise Graphical SVN Client. This client integrates itself into the windows explorer allowing users to access repository files just like they would files on their hard drive.

Configuration and Usage

Once Tortoise SVN is installed, users should pick a place on their hard drive where they would like to keep the repository files and create a folder in that location. The name of this folder is not important.

Once this folder has been created, the user should right click on it and choose the menu item that is named SVN Checkout

This will bring up the checkout dialog box. Users should enter the Post SVN URL, https://svn.gibbscam.com/svn/post_dev into the indicated field and then press the OK button.

This will begin the checkout process and copy the current version of all files to the specified folder. On the first check out users will have to enter their user names and passwords when prompted.

Once this precess is complete the files may be used as normal files on the hard disk.

History and Comments

Additional information is available on each file using the Tortoise SVN right mouse menu.

The primary feature is the log. This log will contain all revision notes and changes that have been made to any file. This is accessed by left-clicking on the log item in the Tortoise SVN right mouse menu.

This log display shows the notes that went along with the various changes to the file. These notes will often reference documentation in the Compost Reference Wiki.

Notifications

Any time a file is changed or added to the repository, a notification e-mail will be sent to all users of the system. This e-mail will contain the comments for the items changed, as well as links to the changed files on the secure website.

Types of access

Read only access

Users that are not post developers employed by Gibbs and Associates will only have read only access to the repository and will not be permitted to make any changes to the repository.

Developer access

  • TODO* Add docs on how to commit to SVN for Gibbs Post devs.

More Information

More information about subversion and the various tools can be found at http://tortoisesvn.tigris.org/