ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Source Code Manager (SCM) / SCM administrator
  • Overview
  • SCM options
  • General options
  • Options regarding the branches
  • Advanced options
  • Performing a search in the SCM
  • Search by name
  • Search by check-out
  • Search by task or incident
  • "My projects" search
  • Search in history
  • Maintaining the SCM
  • Migrating the repository to the latest format
  • Switching the repository to Client/Server
  • Re-index and repair
  • Repairing a directory
  • Various options
  • Computer renamed or changed
  • Statistics
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Overview
The "Tools" tab in the SCM administrator allows you to:
Remarks:
  • Some options are only available to users with administrator privileges. The "Administration" tab includes options available only to administrators. For more details, see Administrator-only options.
  • The SCM administrator can also be used to manage elements in the repository, etc. For more details, see SCM administrator overview.
SCM options
To configure the SCM options, on the "Tools" tab, in the "Option" group, click "Options".

General options

The "General" tab in the SCM options allows you to define a comment template, which will be suggested when an element is checked out from/checked into the repository.. In this template, you can use macros to include terms specific to the desired action.
You can also indicate whether or not to use the integrated messaging tool (WDBal). In this case, messages can be sent to the other users (request to unlock, information about the check-in operations, etc.).
If necessary, you can ask to send a message to the users of SCM whenever an element is checked back into the SCM.

Options regarding the branches

The "Branches" tab is used to configure the path created by default when using branches.
This tab allows you to specify the remote and local directories used by default when creating a branch.
For more details, see Managing branches.

Advanced options

The "Advanced" tab is used to configure the repository performance for an HFSQL Client/Server repository accessed by ADSL.
In some cases, "Limit the size of packets for ADSL" is used to manage the specific features of some routers.
Caution: If used incorrectly, this option may slow down the SCM.
You can also prevent users from accessing the option to repair or reindex the repository. This will enable or disable the corresponding option on the "Tools" tab.
Note: This option is only available to administrators.
Performing a search in the SCM
The SCM administrator offers several search modes.
  • Search by name ("Tools" tab, "Find" group, "By name"): This option is used to easily find an element in the SCM repository. Simply specify the name of the element to search for.
  • Search by check-out ("Tools" tab, "Find" group, "By check-out"): This option is used to find check-outs by user (current user, specific user, all users) and the type of check-out (for test, exclusive, etc.). You have the ability to check in an element or to cancel a check-out.
  • Search by task or incident: This option is used to find the element(s) corresponding to the completion of a task or incident. You can see the changes made.
  • Search in the history: This option allows you to search the history of actions performed in the SCM. This makes it possible to retrieve all comments entered between two dates and to export them to a file. For more details, see Search in SCM history.

Search by name

This search mode is a simple way of finding an element in a repository. Simply specify the name of the element to search for.

Search by check-out

This search mode allows you to find ongoing check-outs. You can filter results:
  • by user: current user, specific user or all users.
  • by check-out type: test, exclusive, etc.
You can check in or undo the check-out of individual elements in the list.

Search by task or incident

This search mode allows you to find the element(s) corresponding to the completion of a task or incident. You can see the changes made.
For each task, you can see the changes made and on which file they were made.

"My projects" search

This search mode lists projects with a local directory on the current computer.
To use this search mode, specify the username and click "Search".
The remote directory and the local directory are displayed for each project found.
You can delete the association between the remote directory and the local directory ("Delete association"). For example, this option can be used when a SCM project has been opened and then deleted from the local computer. By deleting the association, the user will no longer receive automatic messages from the SCM about this project.

Search in history

This search mode allows you to search the history of actions performed in the SCM. This makes it possible to retrieve all comments entered between two dates and to export them to a file.
For more details, see Search in SCM history.
Maintaining the SCM
The SCM administrator proposes several maintenance options. These options allow you to optimize and manage the SCM repository at any time.

Migrating the repository to the latest format

To migrate the SCM repository to a more recent format, go to the "Tools" tab, "Maintenance" group, and click "Migrate to the latest format ". This format optimizes the accesses to the database.
Note: To use this option, the SCM repository must not be directly installed on a share name.
For example, if the files are installed on "\\Server\SCM" where "SCM" is the name of the shared directory, the option will not operate. The files must be installed in a directory such as "\\Server\SCM\SCMRepository"
If this is not the case, the data files can be moved manually (all users must be disconnected). The next time a project is opened, you will have to specify the new directory of the SCM repository.
Note: To learn more, see SCM file format evolutions.

Switching the repository to Client/Server

To start the wizard and switch the repository to HFSQL Client/Server mode, go to the "Tools" tab, "Maintenance" group, and click "Switch to Client/Server".
Caution: This operation can be performed only if an HFSQL Client/Server engine is installed on the server where the SCM repository must be installed.
You must specify:
  • The server name.
  • The database name and port.
  • The name and password of an HFSQL database administrator.
Depending on the size of the SCM repository, migrating the repository may take quite a long time.
At the end of this operation, the SCM proposes to automatically create the user account corresponding to the connected user (if this account does not exist).
The next time the project is opened, you will have to specify the new parameters for connecting to SCM.
Note: The SCM repository in "Classic" mode is not deleted. Once the migration to the HFSQL Client/Server format is over, you must inform all the users in order for them to change their parameters for connecting to the SCM repository.

Re-index and repair

On the "Tools" tab, in the "Maintenance" group, click "Reindex and repair". The different options are as follows:
  • Optimize indexes: Reindexes the SCM repository (whether it is in HFSQL Classic or HFSQL Client/Server mode).
  • Cancel locked transations: Cancels locked transactions on the SCM repository.
  • Optimize indexes and reduce repository size: Compacts the repository after the reindex operation.
  • Analyze and repair: Analyzes and repairs the SCM repository.

Repairing a directory

In some case, repairing a directory is used to fix some problems regarding the access to the data found in an SCM directory. This option is used to repair the directory without locking the SCM repository during this operation.
To repair a directory:
  • Select the directory to repair in the list of directories of the SCM repository.
  • On the "Tools" tab, in the "Maintenance" group, click "Repair a directory". This option is used to repair the SCM repository for this directory.
Note: If necessary, the SCM automatically propose to repair the directory only (instead of repairing the entire SCM repository).
Various options

Computer renamed or changed

The "Rename or change computer" option is used to update the name of the computer in the SCM. For more details, see Renaming or changing computer.

Statistics

The "Statistics" option is used to get statistics on the SCM repository.
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/02/2024

Send a report | Local help