moodle-plugin-ci icon indicating copy to clipboard operation
moodle-plugin-ci copied to clipboard

Consider deprecating --clone options (add_plugin, ....) and moving to --repository

Open stronk7 opened this issue 1 year ago • 0 comments

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 :-)

stronk7 avatar Dec 06 '23 15:12 stronk7