When multiple developers are sharing the development base, tracking code changes and synchronizing the changes is essential part of development. Therefore, WaveMaker provides Version Control Services. By default, WaveMaker Studio comes with a version control system that runs within your VM based on Gitlab. You can choose to add an external repository of your choice. Follow the steps below to add a new external repository.
From Launchpad, go to Code Repository. It displays the list of configured VCS servers.
If you have an external repo which you want to use for version control, you can add a new VCS repository. You can choose from the VCS Providers, including GitLab, Bitbucket and GitHub.
Click Add VCS Repository as shown in the screenshot below.
- When you click Add VCS Repository, the following dialog opens.
- Select any VCS provider and enter the appropriate details, including Base URL, Username and Password/Access token in the respective fields.
Online and Enterprise accounts are supported for GitHub provider, whereas for GitLab and Bitbucket, only Enterprise accounts are supported.
- Click Add. The new VCS server gets configured.
On selecting Make Default, the new VCS server becomes the default provider for all the projects you create subsequently in Studio. As shown in the screen below.
After you create a new VCS server and make it Default, if you wish to edit the projects from the old VCS server, when you sync/push the changes they will be made to the old VCS server and not to the new VCS server. Since the references of the project are to the old server, there is no relation with the new VCS server.