tutor/tutor/commands
Régis Behmo 71ed7a8618 feat: refactor hooks API for simplification
The hooks API had several issues which are summarized in this comment:
https://github.com/openedx/wg-developer-experience/issues/125#issuecomment-1313553526

1. "consts" was a bad name
2. "hooks.filters" and "hooks.Filters" could easily be confused
3. docs made it difficult to understand that plugin developers should use the catalog

To address these issues, we:

1. move "consts.py" to "catalog.py"
2. Remove "hooks.actions", "hooks.filters", "hooks.contexts" from the API.
3. re-organize the docs and give better usage examples in the catalog.

This change is a partial fix for https://github.com/openedx/wg-developer-experience/issues/125
2023-01-31 10:17:58 +01:00
..
upgrade fix: respect RUN_MYSQL on k8s maple upgrade 2023-01-09 13:01:48 +01:00
__init__.py Move command modules to dedicated directory 2019-05-29 09:53:54 +02:00
cli.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
compose.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
config.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
context.py feat: pluggable `local/dev/k8s do <job>` commands 2022-11-15 09:46:08 +01:00
dev.py refactor: annotation with __future__.annotations 2023-01-18 08:36:14 +01:00
images.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
jobs.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
k8s.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
local.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00
plugins.py feat: refactor hooks API for simplification 2023-01-31 10:17:58 +01:00