Régis Behmo
9620447a4d
Add the lts plugin to the tutor binary
2019-12-25 01:09:53 +01:00
Régis Behmo
5675af4d42
Fix jinja2 dependency
...
jinja2 should include the `tojson` filter, which is only available in
2.9 (Released 2017-01-07, codename Derivation).
2019-10-14 06:26:25 +02:00
Régis Behmo
f7a45ebc7d
Upgrade pyyaml
2019-10-09 13:22:00 +02:00
Régis Behmo
1224313e7c
Make sure twine & pip are up-to-date in CI
...
We were affected by the following bug when installing pyinstaller in CI:
https://github.com/pyinstaller/pyinstaller/issues/4006
https://github.com/pypa/pip/issues/6163
As a consequence, pip is upgraded in CI. Also, twine is now part of dev
requirements.
2019-10-09 13:22:00 +02:00
Régis Behmo
a94cbc2914
Move plugins to dedicated repositories
...
minio, notes and xqueue plugins are moved to tutor-* github repos.
2019-08-21 18:32:39 +02:00
Régis Behmo
7790028cf7
Move tutor-minio to dedicated plugin repo
2019-08-20 17:46:53 +02:00
Régis Behmo
be1ff08917
Add all plugins (with data) to binary bundle
...
All existing plugins are added to the binary bundle, in their latest
version, so that users don't need to pip install tutor.
Also, the tutor MANIFEST.in file was removed to simplify the management
of package data.
Close #242 .
2019-08-20 17:03:46 +02:00
Régis Behmo
11e735f4e5
Migrate notes to a dedicated plugin
2019-07-04 09:31:12 +08:00
Régis Behmo
07a0323d8e
Move Xqueue to a dedicated plugin
...
This gives us the opportunity to develop new hooks: build-image and
remote-image.
2019-07-04 09:31:12 +08:00
Régis Behmo
4c96e83e3c
Get rid of kubernetes requirement from pypi package
...
v3.4.0 package from pypi was still installing the kubernetes
requirement, although is wasn't required anymore.
2019-06-23 13:22:59 +02:00
Régis Behmo
c43e041e23
Get rid of kubernetes pip package dependency
...
This is not required anymore, now that we fetch the pod name from the
command line.
2019-06-07 22:49:45 +02:00
Régis Behmo
334f3e720e
Towards a stable Kubernetes integration
...
Missing features:
- https certificates
- xqueue
- lms/cms workers
Moreover, we scalability issues due to the uploaded file storage in the
lms/cms. To address this issue we need to develop the MinIO plugin so
that it becomes compatible with Open edX.
Close #126 #179 #187
2019-06-07 22:49:45 +02:00
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
4ac7dff06a
Switch from nose to unittest for running tests
...
This harmonizes test running between CI and local development.
2019-05-05 12:30:20 +02:00
Régis Behmo
9dd4c26706
Introduce automatic code formatting/linting
...
Code formatting makes sure that the python code looks decent, but it
does not check for coding errors.
https://black.readthedocs.io/en/stable/
Code linting runs static error detection on the python code, but does
not bother about formatting: https://pylint.readthedocs.io/en/latest/
2019-05-05 12:30:20 +02:00
Régis Behmo
5f625f7baa
Simplify docs requirement management
...
It is assumed that users who compile the documentation also need base
requirements.
2019-04-20 00:47:20 +02:00
Régis Behmo
5e36febce4
Upgrade urllib3 following vulnerability alert
...
https://nvd.nist.gov/vuln/detail/CVE-2019-11324
2019-04-20 00:45:48 +02:00
Régis Behmo
d2f6783306
Fix security issue with jinja2 requirement
...
https://nvd.nist.gov/vuln/detail/CVE-2019-10906
To fix this issue, all requirements were simply upgraded to the latest
version.
2019-04-17 08:18:45 +02:00
Régis Behmo
ddbcedab5a
Fix pyyaml deprecated warning
...
We were getting the following warning with the latest version of pyyaml:
YAMLLoadWarning: calling yaml.load() without Loader=... is
deprecated, as the default Loader is unsafe. Please read
https://msg.pyyaml.org/load for full details.
2019-03-24 14:43:17 -07:00
Régis Behmo
7324d71d2c
Add missing nose requirements
...
This should fix ci build.
2019-03-24 09:40:33 -07:00
Régis Behmo
6889f6fa90
Add unit tests! yay!
...
Now, that was seriously missing.
2019-03-23 16:16:44 -07:00
Régis Behmo
786778e5fb
Add requirements for docs generation
2019-02-20 12:52:57 +01:00
Régis Behmo
5b4beed1d1
Minimum required click version is 7.0
...
Close #171
2019-02-13 17:14:10 +01:00
Régis Behmo
4331bc5712
Tutor v3 complete rewrite
...
Replace all make commands by a single "tutor" binary. Environment and
data are all moved to ~/.tutor/local/share/tutor. We take the
opportunity to add a web UI and revamp the documentation.
This is a complete rewrite.
Close #121 .
Close #147 .
2019-02-09 20:30:01 +01:00