gocd-contrib / gomatic

A Python API for configuring GoCD
https://pypi.python.org/pypi/gomatic
MIT License
142 stars 60 forks source link

adding config repos #22

Closed dudadornelles closed 7 years ago

dudadornelles commented 7 years ago

Usage is:

configurator.ensure_config_repos().ensure_config_repo(git_url='url', plugin='<plugin type>')
# or for short
configurator.ensure_config_repos().ensure_yaml_config_repo(git_url='url')
configurator.ensure_config_repos().ensure_json_config_repo(git_url='url')
dudadornelles commented 7 years ago

Before we merge I want to add a ConfigRepos#ensure_replacement_of_config_repo()