Package: Initialize
The module creates a template for a new package by creating the necessary sub-folders and a variable for metadata
Designation
- Name
- pm.Init
- Aliases
- TemplateCreate, pm.PackageTemplateCreate, pm.PackageInit
Configuration
- Optionen
- Package (
package
) - Name of the package
- Overwrite existing package (
overwrite
) - Overwrites the base structure of an existing package
- Custom values for metdata variable (
custom-metadata
) - A file in CSV format containing custom values for the metadata variable
- Metadata title (
metadata-title
) - Defines the title of the metadata variable
- Base folder (
base-folder
) - Defines the base folder where the package should be locatedMögliche Werte: PACKAGES/BEST-BLU (
PACKAGES/BEST-BLU
), PACKAGES/BEST4AUTOMIC (PACKAGES/BEST4AUTOMIC
), SYSTEM (SYSTEM
), INTERNAL (INTERNAL
), TEST_SUITE (TEST_SUITE
), TRASHPKG (TRASHPKG
), DEMO (DEMO
), PACKAGES (PACKAGES
)
- Package Title (
package-title
) - The package title can be used to set a title for the package folder
Description
Which subfolders are created and which values are entered in the metadata can be defined via configuration entries in the pm.conf file.
- pm-folders: a comma-separated list of subfolders
- pm-metadata-entry-<number>: These values define the entries in the metadata variable. <number> must be a consecutive series starting with 1. The value of these entries can be structured as follows
- <key>:<value>
- <Key>
The values for the metadata variable can be overwritten with a variable.
If the package already exists in another base folder, it is moved according to the value of the base-folder option.