Using Subversion with codebeamerTable of Contents
Installing codebeamer with Subversion
At this point codebeamer and Subversion should be working together and you should be able to create codebeamer projects with managed Subversion repositories. The whole process takes about 10-15 minutes. Using Subversion in Eclipse IDE with Subclipse pluginThe following example provides details of the steps you could follow to check-in (commit) files into codebeamer when using the Eclipse IDE and a Subversion repository. This guide describes the Subversion related operations using the Subclipse third-party plugin freely available from http://subclipse.tigris.org (update site http://subclipse.tigris.org/update_1.6.x). The Subclipse plugin enables commits from within the Eclipse IDE. Use the following steps to find the existing Managed Repository URL:
The Subversion or Mercurial access URL (e.g. http://javaforge.com/svn/svn-test) will be displayed. You need to know this URL to access the repository.
Configuring Subversion for Work Item References in Commit MessagesThe properties below must be configured to work with tracker items from Eclipse/Subclipse or Tortoise. For more information about using Tortoise, please visit http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-bugtracker.html.
The screenshot below shows how to configure Tortoise. The content of bugtraq:url depends on codeBeamer URL. After the properties are configured, Subclipse and/or Tortoise will provide a new text field to enter codebeamer tracker item ID (for example 12543) and it won't be necessary to include tracker item IDs in the commit text. Additionally, Subclipse and Tortoise will provide URL links to the tracker items from the history/log views. URLs of Managed Subversion RepositoriesDepending on the Subversion Server configuration the repository used in the example above can be accessed via URLs like below: svn://CODEBEAMER-HOSTNAME/My_second_project or http://CODEBEAMER-HOSTNAME/svn/My_second_project or (requires SSL support from web-server) https://CODEBEAMER-HOSTNAME/svn/My_second_project URLs starting with svn:// require svnserve to be running. By default codebeamer starts svnserve to provide access to managed repositories with such URLs. URLs starting with http:// and/or https:// require Apache to be properly configured to support Subversion access. Access more information about how to configure Subversion server access here.Access more information about configuring codeBeamer managed repository URLs at Administrator's Guide How to Use Subversion with codeBeamerConverting an Existing Subversion Repository to a Managed OneAn unmanaged (external) repository can be converted to a managed one as described in Creating Managed Repositories. Associating Issues with CommitsIf you want an SCM commit to appear on an issue page (under SCM Commits tab) just put the ID of the issue preceeded with a # to your commit message. codebeamer (if SCMLoop is enabled) will automatically associate that commit with the given issue. For more details see Tracing Source Code Changes to Requirements, Task and Bugs. Useful Subversion CommandsCreating Dump FilesFor Subversion, dump files can be created using the svnadmin dump command. For example svnadmin dump REPOPATH > SVN_DMP_FILE command generates a dump file for the repository in the REPOPATH directory. SVN_DUMP_FILE must be replaced with an actual path. You can find more information about the command here. Directory-level Access Control for SubversionFor Subversion, user permissions can be controlled at directory level. For this to work, first you have to assign roles to users as described in Managing Access Permissions by Roles Select the Subversion DirectoryAfter assigning roles to users, you can set up the roles' access permissions. First click SCM repository tab, click Actions then Browse Repository. Select the directory whose role-based permissions you wish to control. Then click the tool-tip menu's Permissions as shown. Figure: Selecting the Directory for Permissions Changes
Setting the Permissions of the Subversion DirectoryNow the read/write permissions check-boxes are easily seen and edited on a role basis. Recursive permissions ease the selection of an entire repository. If all read/write permissions are unchecked, the repository permissions function in codebeamer is not yet active, and the repository is readable and write-able for all. The first permissions-edit will activate the codebeamer repository permissions as shown.Figure: Selecting the Roles' Recursive Directory Access
|
Fast Links
codebeamer Overview codebeamer Knowledge Base Services by Intland Software |
This website stores cookies on your computer. These cookies are used to improve your browsing experience, constantly optimize the functionality and content of our website, furthermore helps us to understand your interests and provide more personalized services to you, both on this website and through other media. With your permission we and our partners may use precise geolocation data and identification through device scanning. You may click accept to consent to our and our partners’ processing as described above. Please be aware that some processing of your personal data may not require your consent, but you have a right to object to such processing. By using our website, you acknowledge this notice of our cookie practices. By accepting and continuing to browse this site, you agree to this use. For more information about the cookies we use, please visit our Privacy Policy.Your preferences will apply to this website only.
Note that user-behavior analytics are being captured on this server for the purpose of improving the Codebeamer user experience.