moodle-plugin-ci
moodle-plugin-ci copied to clipboard
Consider deprecating --clone options (add_plugin, ....) and moving to --repository
Discussed @ #176 , we have at least 2 places where we support having:
- A project that is the relative location of any github repo (owner/repo).
- A repository option that is any arbitrary URL pointing to a git repo (github or elsewhere).
In some commands (add_plugin at very least), the "repository" option is named "clone" instead.
In order to make wording consistent, this issue is about:
- In all the commands using any clone option, proceed to deprecate it (long deprecation) and create the repository option as new alternative.
- Change all the docs around it.
- Schedule the final removal of clone for next major release.
Ciao :-)