example_repo:
versions: '1.35, 1.36'
removed: false
latest: true
repo_url: 'https://github.com/example/example-repo'
path: 'extensions/example'
branch: 'REL1_X'
commit: '1234abc'
alpha_branch: 'main'
recurse_submodules: false
shallow_submodules: true
composer: true
-
versions:
- A comma-separated list of versions for which the repository should be installed. If undefined, the repository will be installed for all versions.
-
removed:
- Optional. If set to true, ensures the repository is absent.
-
latest:
- Optional. If set to true, ensures the repository is the latest version. This means it would automatically be updated whenever puppet runs.
-
repo_url:
- The URL of the Git repository.
-
path:
- The path where the repository will be cloned.
-
branch:
- The Git branch to be cloned. If '_branch_' is used, it adapts based on the main MediaWiki branch.
-
commit:
- Optional. The Git commit to checkout. Requires branch to be set to a real branch that the commit exists on.
-
alpha_branch:
- Optional. The alpha branch to be used if the MediaWiki core branch is 'master'. This is only needed if the repo's main branch is not also 'master'.
-
recurse_submodules:
- Optional. If set to false, will not clone any existing submodules.
-
shallow_submodules:
- Optional. If set to true, clones submodules with only the latest commit.
-
composer:
- Optional. If set to true, runs Composer install for the repository.
NOTE: top-level keys in mediawiki-repos.yaml MUST be sorted alphabetically.