Difference between revisions of "Prepping a Kit"

From Lingoport Wiki
Jump to: navigation, search
(Created page with "=== <group_name>.<project_name>-PrepKit === When prepping a kit, i.e. collecting the right files, checking for correctness, sending them to the appropriate location, and noti...")
 
(.-PrepKit)
Line 1: Line 1:
=== <group_name>.<project_name>-PrepKit ===
+
==<group_name>.<project_name>-PrepKit ==
 
When prepping a kit, i.e. collecting the right files, checking for correctness, sending them to the appropriate location, and notifying the recipients, files move to different locations to ensure they are delivered properly or they can be delivered properly later if some malfunction happened, for instance due to a network outage.
 
When prepping a kit, i.e. collecting the right files, checking for correctness, sending them to the appropriate location, and notifying the recipients, files move to different locations to ensure they are delivered properly or they can be delivered properly later if some malfunction happened, for instance due to a network outage.
   
 
This section describes how the files are moved
 
This section describes how the files are moved
   
==== From Source to LRM_DATA prep kit ====
+
=== From Source to LRM_DATA prep kit ===
 
The first step is to collect the files from the source directly, after a clean checkout/clone from the repository. If all is copacetic, the files to be send for translation are moved under the core LRM data directory, LRM_DATA_HOME, which is typically set to ~/Lingoport_Data/LRM.
 
The first step is to collect the files from the source directly, after a clean checkout/clone from the repository. If all is copacetic, the files to be send for translation are moved under the core LRM data directory, LRM_DATA_HOME, which is typically set to ~/Lingoport_Data/LRM.
   

Revision as of 22:35, 15 April 2015

<group_name>.<project_name>-PrepKit

When prepping a kit, i.e. collecting the right files, checking for correctness, sending them to the appropriate location, and notifying the recipients, files move to different locations to ensure they are delivered properly or they can be delivered properly later if some malfunction happened, for instance due to a network outage.

This section describes how the files are moved

From Source to LRM_DATA prep kit

The first step is to collect the files from the source directly, after a clean checkout/clone from the repository. If all is copacetic, the files to be send for translation are moved under the core LRM data directory, LRM_DATA_HOME, which is typically set to ~/Lingoport_Data/LRM.

For instance, if this is the second prep kit, the base files would be moved under:

<group_name>
├── logs
├── prep_kit
│   └── <project>
│       └── PREP_KIT_2

If that stage is successful, the files are then getting ready to be sent and are placed under the sendkits/lingotek or sendkits/ftp depending on the project configuration:

staging
├── ...
├── sendkits
│   └── lingotek
│       ├── <group_name>
│       │   └── <project_name>
│               └── PREP_KIT_2
│                   ├── BaseFileSearch_fr.xml
│                   ├── FilesToPrep.xml
│                   ├── fr
│                   │   ├── file1_en.properties
│                   │   └── file2_en.properties
│                   ├── <project_name>_1_fr.xml
│                   └── IncompletePrepKit.xml