Skip to content

Commit 28c0775

Browse files
committed
feat: Add the ability to easily update the plugin version.
Make the value of the pip target configurable so that we can update it on the fly without having to re-build the plugin.
1 parent 53ea46d commit 28c0775

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
2-
pip install git+https://github.com/feanil/openedx-ltistore.git@feanil/lti1p3_fixes
2+
pip install {{ LTISTORE_PIP_INSTALL }}

plugins/tutor-contrib-ltistore/tutor_ltistore/plugin.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717
# Each new setting is a pair: (setting_name, default_value).
1818
# Prefix your setting names with 'LTISTORE_'.
1919
("LTISTORE_VERSION", __version__),
20+
# It's useful to change this to git sources during development
21+
# so we're making this a config value you can change.
22+
(
23+
"LTISTORE_PIP_INSTALL",
24+
"git+https://github.com/feanil/openedx-ltistore.git@feanil/minimal_lti1p3_fixes",
25+
),
2026
]
2127
)
2228

0 commit comments

Comments
 (0)