Package: Create Dependency Definition
The module determines the dependencies of a package and creates a dependency definition automatically. The creation of the definition can be influence by setting an operator and a base version.
Designation
- Name
- pm.DependencyDefinitionCreate
Configuration
- Ausgabe
- Optionen
- Package (
package
) - Name of the package
- Operator (
operator
) - defines the operator to use for the dependency definitionMögliche Werte: Approximate Equal (~=) (
~=
), Greater Equal (>=) (>=
)
- Base Version (
base-version
) - defines the base version for the dependency definitionMögliche Werte: Major (
major
), Minor (minor
)
(mode
)
:
Mögliche Werte: add (add
), overwrite (overwrite
)
Description
The standard mode overwrite (overwrite) completely replaces the dependencies stored in the metadata variable.
The alternative mode add (add) leaves the dependencies already stored in the metadata variable unchanged. If there is already a dependency with the specified operator for the package found, it is skipped. Only if this is not the case is an additional dependency entered in the metadata variable.