Each project can have one or more source code repositories.
Before you can create a source code repository, a site administrator must first
add one or more SCM servers to the
TeamForge environment.
-
Click SOURCE CODE in the project navigation bar.
-
In the list of the project repositories, click Create
Repository.
-
On the Create Repository page, enter the directory
name for the repository.
Note: For CVS repositories, the directory name is the name of the
directory relative to the CVS server's repository root
directory. A UNIX group by the same name is also created to
enforce permissions.
-
Enter a name and description for the repository.
If you plan to use an SCM server that requires approval for new
repositories, use the
DESCRIPTION
field to provide your reason for asking to create this
repository.
-
Choose the server on which you want to create the repository.
Note: The menu contains all of the SCM servers that the
TeamForge administrators
have added to the
TeamForge
environment.
-
If you want to require that each code commit be associated with an
artifact (or a task or some other work item), select
Required
on
Commit.
Selecting this check box enables the following
options:
-
For security reasons, you may want to restrict email notifications to
the essential information. If so, select
HIDE
DETAILS IN MONITORING
MESSAGES.
-
By default, the Available in Search Results
check box is selected. Clear the
check
box if you want to exclude the repository from searches.
Tip: You have the ability to control whether source code
is included in search results. For example, you may want to
exclude source code from searches that have sensitive
information. You may also want to omit some repositories, such
as the branding and publishing repositories, from search
results. The Available in Search Results
setting in Create Repository or
Edit Repository page allows you to
configure this. By default, this option is selected for all
repositories, except for the branding
repository in the look project and for
Publishing repositories.
-
Click Save.
Your request for a new repository is submitted. You will receive an email
notification when your repository is created or if your request for a new
repository is denied.
- If the SCM server that you chose does not require approval for new
repositories, the repository is created.
- If the SCM server that you chose requires approval for new repositories,
a
TeamForge administrator must
approve your repository before it is created.
Note: By default, repository requests on unmanaged CVS servers require
approval, because the SCM administrator must manually create the
repository.