Skip to content

Commit e482b8c

Browse files
committed
docs: add compatibility notes to readme
1 parent 3e3da70 commit e482b8c

File tree

2 files changed

+66
-12
lines changed

2 files changed

+66
-12
lines changed

CHANGELOG.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,18 @@ Change Log
1212
Unreleased
1313
----------
1414

15+
[5.0.0] - 2021-11-01
16+
---------------------
17+
18+
Changed
19+
~~~~~~~
20+
* **BREAKING CHANGE**: Default backends for edxapp users, pre-enrollments and enrollments are not compatible with Juniper or older versions.
21+
22+
Added
23+
~~~~~~~
24+
* Update Users backend for Lilac with Juniper backend.
25+
* Openedx compatibility notes to readme.
26+
1527
[4.17.0] - 2021-10-21
1628
---------------------
1729

README.rst

Lines changed: 54 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -47,18 +47,6 @@ Instead of step #1, follow:
4747
1) Create a Django Oauth Toolkit Application at http://localhost:18000/admin/oauth2_provider/application/add/,
4848
copy the client-id and client-secret. Then follow 2 and 3.
4949

50-
Also, to be able to use eox-core in newer Open edX versions like lilac, backend settings must be updated as follows:
51-
52-
.. code-block:: yaml
53-
54-
EOX_CORE_USERS_BACKEND: "eox_core.edxapp_wrapper.backends.users_l_v1"
55-
EOX_CORE_PRE_ENROLLMENT_BACKEND: "eox_core.edxapp_wrapper.backends.pre_enrollment_l_v1"
56-
EOX_CORE_ENROLLMENT_BACKEND: "eox_core.edxapp_wrapper.backends.enrollment_l_v1"
57-
58-
They can be changed in `eox_core/settings/common.py` or, for example, in ansible configurations.
59-
60-
**NOTE**: the current `common.py` works with Open edX juniper version.
61-
6250
Installation on Open edX Devstack
6351
=================================
6452
- Install either the Ironwood or Juniper version of the `Open edX devstack`_
@@ -81,6 +69,60 @@ Installation on Open edX Devstack
8169
cd /edx/src/edxapp/eox-core
8270
pip install -e .
8371
72+
Compatibility Notes
73+
--------------------
74+
75+
+-------------------+----------+
76+
| Open edX Release | Version |
77+
+===================+==========+
78+
| Ironwood | < 3.0 |
79+
+-------------------+----------+
80+
| Juniper | >= 3.0 |
81+
+-------------------+----------+
82+
| Koa | >= 4.9 |
83+
+-------------------+----------+
84+
| Lilac | >= 4.9 |
85+
+-------------------+----------+
86+
87+
The following changes to the plugin settings are necessary. If the release you are looking for is
88+
not listed, then the accumulation of changes from previous releases is enough.
89+
90+
**Ironwood**
91+
92+
.. code-block:: yaml
93+
94+
EOX_CORE_USERS_BACKEND: "eox_core.edxapp_wrapper.backends.users_h_v1"
95+
EOX_CORE_PRE_ENROLLMENT_BACKEND: "eox_core.edxapp_wrapper.backends.pre_enrollment_h_v1"
96+
EOX_CORE_ENROLLMENT_BACKEND: "eox_core.edxapp_wrapper.backends.enrollment_h_v1"
97+
98+
**Juniper**
99+
100+
.. code-block:: yaml
101+
102+
EOX_CORE_USERS_BACKEND: "eox_core.edxapp_wrapper.backends.users_j_v1"
103+
EOX_CORE_PRE_ENROLLMENT_BACKEND: "eox_core.edxapp_wrapper.backends.pre_enrollment_h_v1"
104+
EOX_CORE_ENROLLMENT_BACKEND: "eox_core.edxapp_wrapper.backends.enrollment_h_v1"
105+
106+
**Koa**
107+
108+
.. code-block:: yaml
109+
110+
EOX_CORE_USERS_BACKEND: "eox_core.edxapp_wrapper.backends.users_l_v1"
111+
EOX_CORE_PRE_ENROLLMENT_BACKEND: "eox_core.edxapp_wrapper.backends.pre_enrollment_l_v1"
112+
EOX_CORE_ENROLLMENT_BACKEND: "eox_core.edxapp_wrapper.backends.enrollment_l_v1"
113+
114+
**Lilac**
115+
116+
.. code-block:: yaml
117+
118+
EOX_CORE_USERS_BACKEND: "eox_core.edxapp_wrapper.backends.users_l_v1"
119+
EOX_CORE_PRE_ENROLLMENT_BACKEND: "eox_core.edxapp_wrapper.backends.pre_enrollment_l_v1"
120+
EOX_CORE_ENROLLMENT_BACKEND: "eox_core.edxapp_wrapper.backends.enrollment_l_v1"
121+
122+
These settings can be changed in ``eox_core/settings/common.py`` or, for example, in ansible configurations.
123+
124+
**NOTE**: the current ``common.py`` works with Open edX juniper version.
125+
84126
Dependency Management
85127
=====================
86128

0 commit comments

Comments
 (0)