nitrc:Future User Guide - Source Code (SCM) Administration
From NITRC Wiki
| Note: This page describes administration for SVN and CVS. For instructions on using Git with NITRC, please see the Git Administration section. |
Only tool/resource administrators can access the Source Code (SCM) Admin page. From the Tool/Resource Admin page, click "Source Code Admin" in the Tool Admin section; from the tool/resource pages, click the "Source Code" menu link, then click "Admin" at the top of the page.
Controlling Access
For SVN, you may enable or disable anonymous public read access. When access is enabled, the system grants non-members permission to view the SVN repository. The "Anonymous Subversion Access" instructions are provided on the main Source Code (SCM) page, along with the "Download the Nightly SVN Tree Snapshot" and "Browse the SVN Repository" links. When access is disabled, the instructions are no longer provided and the links are not displayed for non-members.
For CVS, you may enable or disable public read access and anonymous pserver access. When public read access is enabled, the system grants non-members permission to view the CVS repository. The "Download the Nightly CVS Tree Snapshot" and "Browse the CVS Repository" links are shown on the main Source Code (SCM) page. When the anonymous pserver access is enabled as well, the system creates an anonymous user for pserver access. The "Anonymous CVS Access" instructions are provided on the main Source Code (SCM) page. Please note that it may take up to two hours for the anonymous user to be created for your tool/resource group. It may also take up to two hours to remove the anonymous user when you disable anonymous pserver access. When you disable public read access, the links to the nightly snapshot and the CVS repository are no longer displayed for non-members.
Modifying Instructions
To change the instructions that appear on the Source Code (SCM) page, you may use the "Custom SCM Instructions" box. Enter the text you want to appear on the Source Code (SCM) page, and then click the Update button. You may convert back to the default instructions by clearing out any custom text in the box and clicking the Update button.
| Note: Special markup is allowed for SCM instructions. A WYSIWYG editor is provided to make this easier for commonly used markup, but you may directly enter the special markup in this box. To edit the source code directly, click the "BBCode" button in the WYSIWYG editor.
Special markup for SCM instructions:
|
| Note: If you choose "Quote" for the style in the WYSIWYG editor, the editor assumes a new paragraph when you press "Enter" on your keyboard and a new box is created. To stay in the same box and move to the next line, press "Shift" and "Enter" on your keyboard. |








