Usage¶
gitlab_bulkcheckout¶
Console script for gitlab_bulkcheckout.
gitlab_bulkcheckout [OPTIONS] COMMAND [ARGS]...
Options
-
-v
,
--verbose
¶
Print debug information
-
--debug-file
<debug_file>
¶ File to be used as a stream for DEBUG logging
checkoutbulk¶
Checkout all listed projects from configured groups.
gitlab_bulkcheckout checkoutbulk
[OPTIONS]
Options
-
-h
,
--host
<host>
¶ Url from the Gitlab Server, like https://gitlab.com
-
--private-token
<private_token>
¶ Gitlab Private Acccess Token
-
-m
,
--mapping-config-path
<mapping_config_path>
¶ Bulk Checkout configuration
-
-b
,
--base
<base>
¶ The Basedirectory for the local checkout
Environment variables
-
GITLAB_HOST
- Provide a default for
--host
-
GITLAB_TOKEN
- Provide a default for
--private-token
-
GROUPS_MAPPINGS
- Provide a default for
--mapping-config-path
-
PROJECTS_BASE
- Provide a default for
--base
Config¶
4564793:
fs_prefix: "cookiecutter"
path: templating
...
[gitlabGroupId]:
# prefix for the local projects
fs_prefix: "cookiecutter"
# local folder for all projects from this group relative to $PROJECTS_BASE
path: "templating"
...