File System (Versioned)
Use the File System (Versioned) source configuration type (SCT) to import subdirectories of a specified directory from the file system.
File System (Versioned) SCT overview
The File System (Versioned) source configuration type is implemented as an external type.
When you use the File System (Versioned), Deployment Automation imports the subdirectories of a designated directory from the file system as follows:
- At import, imports only the subdirectories and contents of subdirectories. It does not include the contents directly in the base path.
- The first level subdirectory in the base path becomes a component version and the version name is the name of the subdirectory.
- It does not prompt for version name during manual import. Version naming is always automatic and is always the first subdirectory name.
To use this SCT, select File System (Versioned) as the Source Config Type when you create a component or component template. For details, see Create components.
File System (Versioned) SCT settings
The following table describes the settings specific to the File System (Versioned) source configuration type.
|Base Path||Path to directory containing artifacts. The content of each subdirectory within the base directory is considered a distinct component version. The subdirectory with the most recent time-stamp is considered the "latest version". But it is a good practice to name the subdirectories according to your version scheme, for example, v1.0, v1.1, or v1.2.|
|Preserve Execute Permissions||When enabled, file execute permissions are saved with the files.|
|Use Latest Component Properties for Version Download||
If this is selected, the current component properties are used to download this component's version artifacts in Versions > Artifacts. Clear this selection if the component's storage location or connection details have changed since the version artifacts you want to download were imported, so that the component properties that were set when the version was created are used instead. For more details on maintaining versions externally, see Import component versions.
|Copy to CodeStation||
This option, selected by default, creates a tamper-proof copy of the artifacts and stores them in the embedded artifact management system, CodeStation. For optimal use of Deployment Automation, the check box should be selected.
If you clear theCopy to Codestation selection for this source configuration type, pointers to versions are saved in Deployment Automation rather than the versions themselves. This enables you to track the versions but limits some functionality in Deployment Automation. For more details on maintaining versions externally, see Import component versions.