Package¶
A Package is a directory that contains the instructions and files needed to put a repository into the desired state.
Manifest¶
- class rcmt.package.manifest.Manifest(name)¶
The Manifest describes the Actions that rcmt applies to each repository. Every Package contains at least a Manifest file. The name of the Manifest file is
manifest.py
.- Parameters
name (
str
) – Name of the Manifest.
Example
Take a look at the simple example on GitHub.
- add_action(action)¶
Adds an Action. rcmt applies Actions in the order in which they are added to the Manifest.
- Parameters
action (
Action
) – The Action to add.- Return type
None
The Manifest describes the Actions that rcmt applies to each repository.
Every Package contains at least a Manifest file. The name of the Manifest file is
manifest.py
.
Example¶
Take a look at the simple example at GitHub.