|
|
|
|
|
- Overview
- Principle
- Setup
- Use
- Tips
Source Code Manager overview
WINDEV, WEBDEV and WINDEV Mobile propose a sophisticated Source Code Manager. The Source Code Manager (SCM), which is fully integrated in the environment, is used to: - make teamwork easier and faster,
- manage the history of modifications and versions,
- save the sources of the development team automatically.
Designed for teams between 1 and 100 developers, the SCM promotes and standardizes the collaboration between developers (even when developing alone, the SCM is useful because it contains the history of your applications). The SCM uses a repository. This repository contains all the sources of the projects: procedures, classes, windows, pages, reports, components, analyses, etc. This repository can be installed: - on SCMDrive (paid turnkey solution). For more details, see SCMDrive.
- on a PCSCLOUD development platform (paid turnkey solution). For more details, see PCSCloud.
- on a custom server (in HFSQL Classic or HFSQL Client/Server mode),
- on a computer on the network, in a shared directory
The SCM can be run locally or remotely (via Internet). This feature enables you to work on a project from your office or from a remote site without losing any changes. The SCM can also be used in offline mode. Setup All project elements are saved in the SCM repository (on the server). This operation is performed when importing an existing project into Source Code Manager. Each developer who uses the Source Code Manager retrieves a local copy of the project. Use To work on a project element (window, page, etc.), the developer must check out the element from the repository, modify it and check the element back in.
If the element is already checked out, the developer can ask the person who performed the check-out to check the element back in (via the messaging software). To benefit from the modifications performed, the other developers must synchronize their local project with the reference project (found in the repository). Tips The sources of your applications are essential. These sources must be handled with great care! Tips for configuring the server that will host your sources: - Use a dedicated server with a disk with enough space (at least 200 GB).
- Apply all the recommendations about security to the server.
- Use the Source Code Manager (SCM) in Client/Server mode, with an engine version at least equal to the one of the environment.
The tools of SCM administrator allow you to convert an SCM repository from HFSQL Classic to HFSQL Client/Server. - The hard disks may encounter physical problems: if possible, use a RAID I system on your server (several disks storing the same information).
- Use a UPS to protect the power supply of your server.
- Make backup copies of the repository on a regular basis (at least once a week).
- Place the server in a "secure" area and use a firewall.
- We recommend that you use the "Manage project check-out automatically" mode when several developers make changes to the project (project code, list of elements, etc.).
- Make sure that the local copy of the sources cannot be handled by external processes (anti-virus, automatic backup, etc.) during the development.
- When the repository is in a CLOUD:
- check with the administrator that the TCP connections are persistent. Even if the SCM is automatically reconnected, the TCP connections must not be automatically broken every minute for example.
The connections of the development platforms of PCSCLOUD are persistent. - in case of frequent disconnections (if TCP connections are persistent), reduce the size of packets in the options of SCM administrator.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|