PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Managing the SCM database
  • Connecting to a SCM database
  • Creating an SCM database
  • Managing files and directories
  • Managing files
  • Managing directories
  • Managing favorites
  • Restoring a project version
  • Managing the files of SCM database
  • Check-in and check-out operations, ...
  • History and differences
  • Sharing files
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
The SCM administrator (Source Code Manager) allows you to directly handle the source codes of different projects included in the Source Code Manager. It allows you to:
  • manage the SCM databases (creation, connection to an SCM database).
  • manage the files and the directories found in a project of SCM database (add, delete, rename files and directories).
  • manage the different files of SCM database (check-out, check-in, share, ...).
The SCM administrator can also be used to perform the maintenance operations on the database, ... See Overview of SCM administrator for more details.
Managing the SCM database

Connecting to a SCM database

To connect to a SCM database:
  1. Select "File .. Connection to a SCM database".In the SCM administrator, on the "Home" pane, in the "SCM database", click "Connection".
  2. Specify the characteristics of the database (location, user, ...). This accessed database can be:
    • a local SCM database.
    • a HFSQL Client/Server SCM database.
    • Versions 22 and later
      an SCM Drive database. To create this database, connect to PCSCloud.
      New in version 22
      an SCM Drive database. To create this database, connect to PCSCloud.
      an SCM Drive database. To create this database, connect to PCSCloud.
    • Versions 20 and later
      a PCS Cloud database. To create this database, a cloud account must be created. Connect to PCSCloud for more details
      New in version 20
      a PCS Cloud database. To create this database, a cloud account must be created. Connect to PCSCloud for more details
      a PCS Cloud database. To create this database, a cloud account must be created. Connect to PCSCloud for more details
  3. Validate. If the SCM database is accessible, you are automatically connected to this SCM database.

Creating an SCM database

To create an SCM database:
  1. Select "File .. Create a new SCM database".In the SCM administrator, on the "Home" pane, in the "SCM database", click "New database".
  2. Specify the characteristics of SCM database: database in network share mode or database in HFSQL Client/Server mode. See Creating an SCM database. for more details
  3. Validate. If the SCM database is accessible, you are automatically connected to this SCM database.
Managing files and directories

Managing files

The SCM administrator is used to:
  • Add a file ("File .. Add a file").Add a file: on the "Home" pane, in the "File" group, click "Add". This option allows you to add a file found in the local project into the reference project.
  • Rename a file ("File .. Rename a file").Rename a file: on the "Home" pane, in the "File" group, click "Rename". This option allows you to rename the file currently selected in the SCM administrator. This file is found in the reference project (found on the SCM server).
    Note: This operation must be done with great care. Indeed, the renamed file will not be available to the SCM users until a full project synchronization is performed. We advise you to rename the file in the local project then to update the reference project.
  • Delete a file ("File .. Delete a file").Delete a file: on the "Home" pane, in the "File" group, click "Delete". This option allows you to delete the selected file from the SCM administrator. This file is found in the reference project (found on the SCM server).
    Note: This operation must be done with great care. Indeed, only a file not used by the project can be deleted. Otherwise, deleting a file from SCM may trigger problems with the project.
To restore a deleted file:
  1. Display the properties of the directory for the project found in the Source Code Manager ("Properties" from the popup menu of the directory).
  2. Select the "Deleted elements" tab: you have the ability to restore the deleted files.
Note: You also have the ability to delete or rename a file by selecting it and by choosing the corresponding option from its popup menu.

Managing directories

The SCM administrator is used to:
  • Add an existing directory ("File .. Add an existing directory").Add an existing directory: on the "Home" pane, in the "Directory" group, click "Import a local directory". This option allows you to import a directory found in the local project into the reference project for example.
    Note: Don't use this option to add a project into the SCM. To add a project to the SCM, see Configuring a project for the SCM.
  • Create a new directory ("File .. Create a directory").Create a new directory: on the "Home" pane, in the "Directory" group, click "New". This option allows you to create a new directory in the reference project.
    Note: You also have the ability to create a directory via the popup menu of the SCM explorer ("Create a new directory" option).
  • Delete a directory ("File .. Delete a directory").Delete a directory: on the "Home" pane, in the "Directory" group, click "Delete the directory". This option enables you to delete a directory from the SCM database. You also have the ability to delete a project from the SCM (to do so, delete the corresponding directory). The deleted directory is the directory selected in the SCM explorer.
    Caution: This operation cannot be canceled.
    Note: You also have the ability to delete a directory via the popup menu of the SCM explorer ("Delete" option).
  • Rename a directory ("File .. Rename a directory").Rename a directory: on the "Home" pane, in the "Directory" group, click "Rename". This option allows you to rename a directory in the SCM database. The directory used is the one selected in the SCM explorer.
    Caution: This operation cannot be canceled.
    Note: You also have the ability to rename a directory via the popup menu of the SCM explorer ("Rename" option).
  • Define the associated local directory ("File .. Define the associated local directory").Define the associated local directory: on the "Directories and projects" pane, in the "Local directory" group, click "Change the local directory". This option allows you to specify the name of the local directory associated with the project found in the SCM database for the current user.
    Note: You also have the ability to define the associated local directory via the popup menu of the SCM explorer ("Define the associated local directory" option).
Versions 19 and later

Managing favorites

The SCM administrator allows you to define "favorite" projects.
To delete a favorite porject:
  1. Select the requested project in the left section of the SCM administrator.
  2. Select "Add to favorites" from the popup menu.
  3. The project is displayed in the list of favorite projects in the left section of SCM administrator.
Note: You also have the ability to use the menu of the SCM administrator to define a favorite project: on the "Directories and projects" pane, in the "Favorites" group, click "Add to favorites".
To delete a favorite:
  1. Select the requested project in the favorite area found in the left section of the SCM administrator.
  2. Select "Delete" from the popup menu.
New in version 19

Managing favorites

The SCM administrator allows you to define "favorite" projects.
To delete a favorite porject:
  1. Select the requested project in the left section of the SCM administrator.
  2. Select "Add to favorites" from the popup menu.
  3. The project is displayed in the list of favorite projects in the left section of SCM administrator.
Note: You also have the ability to use the menu of the SCM administrator to define a favorite project: on the "Directories and projects" pane, in the "Favorites" group, click "Add to favorites".
To delete a favorite:
  1. Select the requested project in the favorite area found in the left section of the SCM administrator.
  2. Select "Delete" from the popup menu.

Managing favorites

The SCM administrator allows you to define "favorite" projects.
To delete a favorite porject:
  1. Select the requested project in the left section of the SCM administrator.
  2. Select "Add to favorites" from the popup menu.
  3. The project is displayed in the list of favorite projects in the left section of SCM administrator.
Note: You also have the ability to use the menu of the SCM administrator to define a favorite project: on the "Directories and projects" pane, in the "Favorites" group, click "Add to favorites".
To delete a favorite:
  1. Select the requested project in the favorite area found in the left section of the SCM administrator.
  2. Select "Delete" from the popup menu.

Restoring a project version

The SCM administrator allows you to restore a specific version of a project (corresponding to an earlier version of the project, stored in the history).
To restore a version of a project:
  1. Select the requested project in the left section of the SCM administrator.
  2. Select "History" from the popup menu. The "History of a directory" window is displayed.
  3. In the table, select the requested version of the project.
  4. Click the "Save as" button.
  5. Select the directory where the specified version of the project must be saved.
  6. Validate. The requested version of the project is automatically saved in the specified directory.
Managing the files of SCM database
The SCM administrator allows you to perform all the check-in, check-out operations, ... You also have the ability to display the history of the modifications made to each element, see the differences or share the elements among several projects.

Check-in and check-out operations, ...

The SCM administrator can be used to perform the following operations:
  • Get the latest version of the selected file.
  • Check out the selected file to the local directory of the project.
  • Check out the selected file for test
  • Check in the selected element.
All these operations can be performed in WINDEV, WEBDEV or WINDEV Mobile. We advise you to perform these operations directly from the relevant project.

History and differences

To see the history of modifications made to a file (check-in and check-out operations), you must:
  • select the requested file.
  • select "Manage the sources .. History".on the "Files" pane, in the "File" group, click "History".
The window that is displayed is used to:
  • Get an earlier version
  • Save an earlier version under a new name.
  • Compare two versions
  • Merge.
To compare the local version with the version found in the SCM database:
  • select the requested file.
  • select "Manage the sources .. See the differences".on the "Files" pane, in the "File" group, click "Compare".

Sharing files

The SCM administrator allows you to share files between several projects (sharing sets of procedures, sharing analyses, ...).
This operation can be performed in the SCM administrator only.
You can:
  • Share a file via "Manage the sources .. Share".Share a file: on the "File" pane, in the "Share" group, click "Share". This option is used to share the selected file with another project found in SCM.
  • Unshare a file ("Manage the sources .. Unshare").Unshare a file: on the "File" pane, in the "Share" group, click "Delete the share". This option is used to unshare the file currently selected in the SCM administrator. This file is found in the reference project (found on the SCM server). The file will no longer be shared between the different projects of SCM. The file remains in each project.
    Note: This operation must be done with great care. Indeed, if the share is deleted, the files will evolve independently in each project.
How to share from the SCM administrator:
  1. Start the SCM administrator ("SCM .. SCM administrator").Start the SCM administrator: on the "SCM" pane, in the "Database" group, expand "Manage" and select "SCM administrator".
  2. In the SCM administrator:
    • Select the files to share in the directory of the source project.
    • Drag and Drop these files to the directory of the second project that shares these elements.
    • Accept to share the files.
Important: the SCM administrator does not allow you to share the dependencies of elements. The share of files should be implemented from the interface of WINDEV, WEBDEV or WINDEV Mobile. See Sharing SCM files for more details.
Minimum required version
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment