System Files

From Lingoport Wiki
Jump to: navigation, search

Introduction

CCSystemFiles.jpg


ManageSystemFiles.jpg

System File Types

Globalyzer Lite File

The Globalyzer Lite File is the Project Definition file that identifies what ruleset will be used for the Globalyzer analysis. One file can be used by all the Globalyzer projects. The Globalyzer Lite File must be an XML file.

Custom Script

The Custom Script is used by Globalyzer to modify how the Globalyzer Scanning and reporting is done. The Custom Script should be a .sh file.

Transform Folder

The transform folder, used by Localyzer, contains scripts that modifies the resources from the repository or returning to the repository. For example, if a TMS does not support a specific extension, the transform script can create an acceptable file to send and change it back upon return. The transform folder must contain the following scripts:

  • transform_to_repo.sh
  • transform_from_repo.sh
  • transform_files_list.sh

XML Parser File

XML Localyzer resource files can be in many forms. An XML Parser file identifies the form of the XML resource file.

Custom Data Source Folder

Command Center provides several Data Source options. Those options may not fit a specific configuration. A custom data source can be created for an unusual configuration. The new Custom Data Source will be listed in the options when selecting the data source for a project. Like the transform folder, the custom data source folder requires the following files:

  • clone.sh
  • pull.sh
  • pushfiles.sh

Debug Script

Command Center provides a way to run debug scripts to determine where things may be going wrong.

Creating System Files

Select the CreateIcon.jpg to add a new system file.

Step 1: Select the data source

LiteDatasourcCredential.jpg

Step 2: Choose the repository

LiteGitHubRepo.jpg

Step 3: Choose the file type and path

SelectFileType.jpg

Step 4: Name the system file

Finally, name the file and Save. The user is returned to the System Files page. The new file will be shown in the appropriate section. Initially, it will not be associated with a project. To associate a system file with a project:

  1. Indicate the file when creating the project
  2. Edit the configuration to add. Projects --> <an existing project> --> Project Configuration.

Editing System Files

Only an Administrator user can add or edit System Files. A Manager can view the names of the files, but has no access. Other users cannot select the System Files card from Settings.

To edit a system file, hover over its entry in Settings -> Manage System Files and select the Edit button that appears.

EditSystemFile.jpg
  • Select any of the values, modify them, and Save. If the Repository information does not exist, the system will error.
  • System Files can be deleted, but they cannot be associated with projects. Edit the projects and remove the references to the file. Then Delete.
  • NOTE: Once a system file has been edited, for example a transform, and it has been pushed into the repo, it is still necessary to press the "Refresh" button on the associated System File page in Command Center. This action will update the contents of the System File within Command Center so it can be available to all projects that are using it. Without pressing "Refresh" this update will not occur.

Next: Advanced Settings