Local Version Control Service
Contents
Parent article: Altium Vault
The Altium Vault installation provides localized (and centralized) version control, courtesy of its Version Control Service. Essentially an SVN server (version 1.8), this service provides version control possibilities right there where you need them, locally, without searching or paying for external SVN management software.
By defining design repositories in this centralized fashion, an oganization can fully control which repositories its designers can access and use.
Key Advantages
There are two key advantages to using this centralized version control service:
- You have common users and rights management for both the Altium Vault and SVN. When you sign in to the Altium Vault, the SVN version control service works with your session/credentials.
- Repositories defined through the Altium Vault (through the VCS page of the vault's browser-based interface) are populated to the client automatically during login, so users do not have to worry about urls, protocols, password etc. It is simply configured once, on the server, and shared with the intended users as required.
Repository Creation
Repositories can be created through the local SVN server, or external repositories can be connected to. Together, all repositories are centrally managed through the VCS page of the vault's browser-based interface, in terms of:
- Their displayed name and description.
- Their configured accessibility - which specific users can access them (or roles in the case of repositories defined through the local SVN server).
- Their availability - add or remove them centrally, rather than individual designers having to create and connect to repositories independently.
Adding a Repository
To add a Design Repository, simply click the Add Repository button, located at the top-right of the VCS page. The Repository Properties window will appear, use this to define the repository. The properties required depend on whether you are creating a new repository using the local VCS service, or linking to an existing, external repository:
- New - simply give the repository a name and a description.
- Existing - in addition to a name and description, you need to supply the URL to the repository, and your credentials (User Name, Password) to access that repository.
Sharing a Repository
Having centralized your Design Repositories, you need to ensure that those requiring access to a given repository - including the designers who will be working on board designs - have that access. This is achieved by sharing that repository, or rather managing its access permissions. To do this, simply click on the repository's associated Share icon ().
The Manage Permissions window will appear, with all the controls necessary to share the repository with other users.
Sharing with a User
Sharing with other users is performed from the Users tab of the Manage Permissions window. Click the Add button to add a user, defining their name and access rights on the subsequent User Properties window.
Sharing with a Role
If the repository has been created through the local VCS service, rather than an external repository, then you also have the ability to share with defined roles. This is performed from the Roles tab of the Manage Permissions window. Click the Add button to add a role, defining its name and access rights on the subsequent Role Properties window.
External Access to a Local SVN Design Repository
A Design Repository that is created through the local Version Control Service can be accessed using an SVN client such as TortoiseSVN. Access is made using the regular network protocol (only svn:// is currently supported). The correct repository address can be copied from within Altium Designer, from the Data Management - Design Repositories page of the Preferences dialog. Use this address in your Subversion client's repository browsing facility.