Régis Behmo
3b108d21de
🔌 Introduce a plugin system for tutor
...
This adds the basic feratures that we need for a working plugin system,
but there are still many TODOs in the codebase.
2019-06-07 22:49:45 +02:00
Régis Behmo
58d2af30a0
Minor formatting
2019-05-29 11:20:37 +02:00
Régis Behmo
ebcb08b5eb
Fix save/render for single files
2019-05-29 10:31:53 +02:00
Régis Behmo
0093198864
Refactor scripts running
...
Instead of passing a `run_func` argument, which is clumsy, we create a
BaseRunner from which local and k8s runners can inherit.
2019-05-29 09:53:54 +02:00
Régis Behmo
65dce18908
Add TUTOR_VERSION to template variables
2019-05-29 09:53:54 +02:00
Régis Behmo
0199a1e916
Add convenient fmt.echo_* functions
2019-05-29 09:53:54 +02:00
Régis Behmo
407659ff06
Major refactoring of config module
...
Configuration loading was overly complex. Here, we simplify it
drastically with reasonable defaults. Hacky additional variables are
unncessary now that we use custom jinja2 filters.
2019-05-29 09:53:54 +02:00
Régis Behmo
754da2f06f
Move command modules to dedicated directory
2019-05-29 09:53:54 +02:00
Régis Behmo
09d7b49628
Minor scripts.py refactoring/renaming
2019-05-29 09:53:54 +02:00
Régis Behmo
68d23c5dd5
Env module refactoring
...
Better naming and tests.
2019-05-29 09:53:54 +02:00
Régis Behmo
a97453135e
Blackify tests, too
2019-05-29 09:53:54 +02:00
Régis Behmo
92c9132180
Move all yaml-related code to dedicated module
2019-03-24 14:34:50 -07:00
Régis Behmo
288dc12796
Fix yaml parsing of "null"
2019-03-24 14:27:00 -07:00
Régis Behmo
6889f6fa90
Add unit tests! yay!
...
Now, that was seriously missing.
2019-03-23 16:16:44 -07:00