Authors can send their changes through SSH or HTTPS, while HTTP access is restricted to only certain members. Repository read-write access example: above scenarios can be mixed if both Apache and OpenSSH are configured. Repository read access example: Repository read-write access example: OpenSSH is officially supported only on Linux platforms however it can be set up using Cygwin on Windows. System Administrators can also run remote hg commands. If Apache is not configured but hg serve is started by the codeBeamer server and OpenSSH is installed on the server then all users have public read access to the repository (default port: 8000) but only users with SCM_COMMIT permission have write access to it (e.g. CodeBeamer maintains repository access configuration information however additional restrictions can be applied in Apache configuration if necessary. In this case only members with SCM_VIEW permission can read (clone/pull) project repository and only members with SCM_COMMIT permission can write into it (push). general.xml, see Sharing Managed Repositories) the Apache server can be setup according to Configuring Apache for Mercurial. If hg serve is turned off in codeBeamer's configuration (i.e. Ssh access to commit changes and public read access.Mercurial can be configured three ways in connection with codeBeamer: Learn more about using Mercurial with codeBeamer under Eclipse IDE in this page. For download information visit MercurialEclipse download. Using it for development with codeBeamer Managed Mercurial Repositories is easy. MercurialEclipse is the most commonly used IDE integration plugin. Using Mercurial in the Eclipse IDE with the MercurialEclipse plugin If you do this don't forget to modify Mercurial.ini in the installation directory of TortoiseHg (by default C:\Program Files\TortoiseHg\Mercurial.ini) as well. There are certain versions of putty which fail to communicate this way, so we advise using the plink program from TortoiseHg. Ssh = "C:\Program Files\TortoiseHg\TortoisePlink.exe" -ssh -2 -i "C:\Documents and Settings\adam.berkes\key.ppk" Modify the Mercurial setup to use your ssh client command in global configuration ( mercurial.ini under your home): On a Windows platform additional setup is necessary to use Mercurial over SSH.įirst generate an SSH keypair as described in Setting Up SSH Authentication for Git and Mercurial The Mercurial server component in codeBeamer is called hgserve (supports only cloning) and it is started and stopped automatically by codeBeamer. If necessary, one can maintain ACL by the built-in ACL extension of Mercurial. There is no managed ACL ( Access Control List) support for directories in codeBeamer for Mercurial, so authenticated users can access any content under a repository. The whole process takes about 10-15 minutes. See Mercurial wiki for help.Īt this point codeBeamer and Mercurial should be working together and you should be able to create codeBeamer projects with a managed Mercurial repository. Install Mercurial (this is done by the package manager on Linux).On Windows we recommend using one of the EXE installers because we experienced some problems when using the MSI ones. Download Mercurial from or use the mercurial Linux package.In the codeBeamer Windows versions, codeBeamer is shipped with Mercurial and no installation is necessary unless access via Apache is required. It is also called hg for short.ĬodeBeamer has out-of-the-box support for mercurial repository access, for both 'external' or 'managed' repository configurations. Mercurial is a fast, lightweight Source Control Management system designed for efficient handling of very large distributed projects. Configuring Mercurial for Microsoft IIS.Solving HTTP Error 413: Request Entity Too Large errors.Example: Clone a codeBeamer Repository and Commit with an Associated Issue.Add codeBeamer user to Apache group (gid).Configuring Smart HTTP for Mercurial on Windows.Converting an Existing Mercurial Repository to a Managed One.Associating Issues with Commits (Step 4).Cloning Repositories, Committing and Pushing Changes (Step 3).Creating and Joining Projects with Managed Mercurial Repositories (Step 2).
0 Comments
Leave a Reply. |