tutor 22.0.2__tar.gz → 23.0.0.dev3185__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/PKG-INFO +1 -14
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/pyproject.toml +4 -0
- tutor-23.0.0.dev3185/tutor/__about__.py +45 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/upgrade/__init__.py +2 -1
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/upgrade/compose.py +3 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/upgrade/k8s.py +3 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/env.py +1 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/plugins/indexes.py +2 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/Dockerfile +5 -4
- tutor-23.0.0.dev3185/tutor/templates/build/openedx/settings/lms/__init__.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/jobs/init/mysql.sh +7 -1
- tutor-22.0.2/requirements/plugins.txt +0 -14
- tutor-22.0.2/tutor/__about__.py +0 -28
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/.gitignore +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/.hatch_build.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/LICENSE.txt +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/README.rst +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/requirements/base.in +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/requirements/dev.txt +0 -0
- /tutor-22.0.2/tutor/__init__.py → /tutor-23.0.0.dev3185/requirements/plugins.txt +0 -0
- {tutor-22.0.2/tutor/commands → tutor-23.0.0.dev3185/tutor}/__init__.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/bindmount.py +0 -0
- {tutor-22.0.2/tutor/core → tutor-23.0.0.dev3185/tutor/commands}/__init__.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/cli.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/compose.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/config.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/context.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/dev.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/images.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/jobs.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/jobs_utils.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/k8s.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/local.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/mounts.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/params.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/plugins.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/commands/upgrade/common.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/config.py +0 -0
- {tutor-22.0.2/tutor/templates/apps/openedx/settings/cms → tutor-23.0.0.dev3185/tutor/core}/__init__.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/core/hooks/__init__.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/core/hooks/actions.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/core/hooks/contexts.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/core/hooks/filters.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/core/hooks/priorities.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/exceptions.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/fmt.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/hooks/__init__.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/hooks/catalog.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/images.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/interactive.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/plugins/__init__.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/plugins/base.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/plugins/openedx.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/plugins/v0.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/plugins/v1.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/py.typed +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/serialize.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/tasks.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/caddy/Caddyfile +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/config/cms.env.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/config/lms.env.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/config/partials/auth.yml +0 -0
- {tutor-22.0.2/tutor/templates/apps/openedx/settings/lms → tutor-23.0.0.dev3185/tutor/templates/apps/openedx/settings/cms}/__init__.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/cms/development.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/cms/production.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/cms/test.py +0 -0
- {tutor-22.0.2/tutor/templates/build/openedx/settings/cms → tutor-23.0.0.dev3185/tutor/templates/apps/openedx/settings/lms}/__init__.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/lms/development.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/lms/production.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/lms/test.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/partials/common_all.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/partials/common_cms.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/partials/common_lms.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/partials/common_test.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/uwsgi.ini +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/permissions/setowners.sh +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/redis/redis.conf +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/bin/reload-uwsgi +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/revisions.yml +0 -0
- {tutor-22.0.2/tutor/templates/build/openedx/settings/lms → tutor-23.0.0.dev3185/tutor/templates/build/openedx/settings/cms}/__init__.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/settings/cms/assets.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/settings/cms/i18n.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/settings/lms/assets.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/settings/lms/i18n.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/settings/partials/assets.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/settings/partials/i18n.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/settings/uwsgi.ini +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/themes/README +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/permissions/Dockerfile +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/permissions/setowner.sh +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/config/base.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/config/defaults.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/dev/docker-compose.jobs.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/dev/docker-compose.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/jobs/init/cms.sh +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/jobs/init/lms.sh +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/jobs/init/meilisearch.sh +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/jobs/init/mounted-directories.sh +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/k8s/deployments.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/k8s/jobs.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/k8s/namespace.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/k8s/override.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/k8s/services.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/k8s/volumes.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/kustomization.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/local/docker-compose.jobs.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/local/docker-compose.prod.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/local/docker-compose.yml +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/version +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/types.py +0 -0
- {tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: tutor
|
|
3
|
-
Version:
|
|
3
|
+
Version: 23.0.0.dev3185
|
|
4
4
|
Summary: The Docker-based Open edX distribution designed for peace of mind
|
|
5
5
|
Project-URL: Homepage, https://docs.tutor.edly.io/
|
|
6
6
|
Project-URL: Documentation, https://docs.tutor.edly.io/
|
|
@@ -106,19 +106,6 @@ Requires-Dist: websocket-client==1.9.0; extra == 'dev'
|
|
|
106
106
|
Requires-Dist: wheel==0.47.0; extra == 'dev'
|
|
107
107
|
Requires-Dist: zipp==3.23.1; extra == 'dev'
|
|
108
108
|
Provides-Extra: full
|
|
109
|
-
Requires-Dist: tutor-android<23.0.0,>=22.0.0; extra == 'full'
|
|
110
|
-
Requires-Dist: tutor-cairn<23.0.0,>=22.0.0; extra == 'full'
|
|
111
|
-
Requires-Dist: tutor-credentials<23.0.0,>=22.0.0; extra == 'full'
|
|
112
|
-
Requires-Dist: tutor-deck<23.0.0,>=22.0.0; extra == 'full'
|
|
113
|
-
Requires-Dist: tutor-discovery<23.0.0,>=22.0.0; extra == 'full'
|
|
114
|
-
Requires-Dist: tutor-forum<23.0.0,>=22.0.0; extra == 'full'
|
|
115
|
-
Requires-Dist: tutor-indigo<23.0.0,>=22.0.0; extra == 'full'
|
|
116
|
-
Requires-Dist: tutor-jupyter<23.0.0,>=22.0.0; extra == 'full'
|
|
117
|
-
Requires-Dist: tutor-livedeps<23.0.0,>=22.0.0; extra == 'full'
|
|
118
|
-
Requires-Dist: tutor-mfe<23.0.0,>=22.0.0; extra == 'full'
|
|
119
|
-
Requires-Dist: tutor-minio<23.0.0,>=22.0.0; extra == 'full'
|
|
120
|
-
Requires-Dist: tutor-notes<23.0.0,>=22.0.0; extra == 'full'
|
|
121
|
-
Requires-Dist: tutor-xqueue<23.0.0,>=22.0.0; extra == 'full'
|
|
122
109
|
Description-Content-Type: text/x-rst
|
|
123
110
|
|
|
124
111
|
Tutor: the Docker-based Open edX distribution designed for peace of mind
|
|
@@ -42,7 +42,11 @@ Community = "https://discuss.openedx.org/tag/tutor"
|
|
|
42
42
|
path = ".hatch_build.py"
|
|
43
43
|
|
|
44
44
|
[tool.hatch.version]
|
|
45
|
+
# The "code" source, and not the default regex source: on the main branch the version is
|
|
46
|
+
# derived in __about__.py and cannot be read from the __version__ literal.
|
|
47
|
+
source = "code"
|
|
45
48
|
path = "tutor/__about__.py"
|
|
49
|
+
expression = "__package_version__"
|
|
46
50
|
|
|
47
51
|
[build-system]
|
|
48
52
|
requires = ["hatchling"]
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import os
|
|
2
|
+
|
|
3
|
+
# Increment this version number to trigger a new release. See
|
|
4
|
+
# docs/tutor.html#versioning for information on the versioning scheme.
|
|
5
|
+
__version__ = "22.0.2"
|
|
6
|
+
|
|
7
|
+
# The version suffix will be appended to the actual version, separated by a
|
|
8
|
+
# dash. Use this suffix to differentiate between the actual released version and
|
|
9
|
+
# the versions from other branches. For instance: set the suffix to "main" in
|
|
10
|
+
# the main branch.
|
|
11
|
+
# The suffix is cleanly separated from the __version__ in this module to avoid
|
|
12
|
+
# conflicts when merging branches.
|
|
13
|
+
__version_suffix__ = "main"
|
|
14
|
+
|
|
15
|
+
# The main branch is where the next Open edX release is prepared, so it carries the
|
|
16
|
+
# version of that upcoming release. It is derived from the RELEASE number above instead
|
|
17
|
+
# of being stored there, such that the __version__ line remains identical on all
|
|
18
|
+
# branches and merging the release branch into main never conflicts.
|
|
19
|
+
if __version_suffix__ == "main":
|
|
20
|
+
__version__ = f"{int(__version__.split('.', maxsplit=1)[0]) + 1}.0.0"
|
|
21
|
+
|
|
22
|
+
# Package version, as installed by pip, does not include the version suffix.
|
|
23
|
+
# Otherwise, Tutor Main plugins will automatically install non-Main Tutor
|
|
24
|
+
# version.
|
|
25
|
+
__package_version__ = __version__
|
|
26
|
+
|
|
27
|
+
# Development releases are published to PyPI from the main branch, on every merge.
|
|
28
|
+
# The dev release number is set by CI at build time. It deliberately applies to the
|
|
29
|
+
# package version only: __version__ determines the Docker image tags, which must not
|
|
30
|
+
# change on every commit.
|
|
31
|
+
__dev_release__ = os.environ.get("TUTOR_DEV_RELEASE")
|
|
32
|
+
if __dev_release__:
|
|
33
|
+
__package_version__ += f".dev{__dev_release__}"
|
|
34
|
+
|
|
35
|
+
# The app name will be used to define the name of the default tutor root and
|
|
36
|
+
# plugin directory. To avoid conflicts between multiple locally-installed
|
|
37
|
+
# versions, the version suffix is also appended to the default app name.
|
|
38
|
+
__default_app__ = "tutor"
|
|
39
|
+
|
|
40
|
+
if __version_suffix__:
|
|
41
|
+
__version__ += "-" + __version_suffix__
|
|
42
|
+
__default_app__ += "-" + __version_suffix__
|
|
43
|
+
|
|
44
|
+
# An app name set explicitly with TUTOR_APP replaces the default.
|
|
45
|
+
__app__ = os.environ.get("TUTOR_APP", __default_app__)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Note: don't forget to change this when we upgrade from
|
|
1
|
+
# Note: don't forget to change this when we upgrade from willow
|
|
2
2
|
OPENEDX_RELEASE_NAMES = [
|
|
3
3
|
"ironwood",
|
|
4
4
|
"juniper",
|
|
@@ -14,4 +14,5 @@ OPENEDX_RELEASE_NAMES = [
|
|
|
14
14
|
"teak",
|
|
15
15
|
"ulmo",
|
|
16
16
|
"verawood",
|
|
17
|
+
"willow",
|
|
17
18
|
]
|
|
@@ -63,6 +63,9 @@ def upgrade_from(context: click.Context, from_release: str) -> None:
|
|
|
63
63
|
if running_release == "ulmo":
|
|
64
64
|
running_release = "verawood"
|
|
65
65
|
|
|
66
|
+
if running_release == "verawood":
|
|
67
|
+
running_release = "willow"
|
|
68
|
+
|
|
66
69
|
|
|
67
70
|
def upgrade_from_ironwood(context: click.Context, config: Config) -> None:
|
|
68
71
|
click.echo(fmt.title("Upgrading from Ironwood"))
|
|
@@ -62,6 +62,9 @@ def upgrade_from(context: click.Context, from_release: str) -> None:
|
|
|
62
62
|
if running_release == "ulmo":
|
|
63
63
|
running_release = "verawood"
|
|
64
64
|
|
|
65
|
+
if running_release == "verawood":
|
|
66
|
+
running_release = "willow"
|
|
67
|
+
|
|
65
68
|
|
|
66
69
|
def upgrade_from_ironwood(config: Config) -> None:
|
|
67
70
|
upgrade_mongodb(config, "3.4.24", "3.4")
|
|
@@ -13,6 +13,8 @@ from tutor.types import Config, get_typed
|
|
|
13
13
|
PLUGIN_INDEXES_KEY = "PLUGIN_INDEXES"
|
|
14
14
|
# Current release name ('zebulon' or 'main') and version (1-26)
|
|
15
15
|
RELEASE = __version_suffix__ or env.get_current_open_edx_release_name()
|
|
16
|
+
# This constant is unused within Tutor itself, but it is part of the module API
|
|
17
|
+
# and may be imported by plugins (REMOVE-AFTER-V23).
|
|
16
18
|
MAJOR_VERSION = int(__version__.split(".", maxsplit=1)[0])
|
|
17
19
|
|
|
18
20
|
|
|
@@ -113,10 +113,10 @@ RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
|
|
|
113
113
|
setuptools pip==24.0 wheel==0.43.0
|
|
114
114
|
|
|
115
115
|
# Install base requirements and asset-building requirements
|
|
116
|
-
RUN --mount=type=bind,from=edx-platform,source=/
|
|
117
|
-
--mount=type=bind,from=edx-platform,source=/
|
|
116
|
+
RUN --mount=type=bind,from=edx-platform,source=/pyproject.toml,target=/openedx/edx-platform/pyproject.toml \
|
|
117
|
+
--mount=type=bind,from=edx-platform,source=/uv.lock,target=/openedx/edx-platform/uv.lock \
|
|
118
118
|
--mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
|
|
119
|
-
|
|
119
|
+
cd /openedx/edx-platform && uv sync --frozen --no-default-groups --group bundled --group assets --no-install-project --active
|
|
120
120
|
|
|
121
121
|
# Install extra requirements
|
|
122
122
|
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
|
|
@@ -292,7 +292,8 @@ USER app
|
|
|
292
292
|
|
|
293
293
|
# Install dev python requirements
|
|
294
294
|
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
|
|
295
|
-
|
|
295
|
+
uv export --frozen --no-hashes --no-default-groups --group development | \
|
|
296
|
+
$PIP_COMMAND install -r /dev/stdin
|
|
296
297
|
# https://pypi.org/project/ipdb/
|
|
297
298
|
# https://pypi.org/project/ipython (>=Python 3.10 started with 8.20)
|
|
298
299
|
RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \
|
|
File without changes
|
|
@@ -16,6 +16,12 @@ echo "MySQL is up and running"
|
|
|
16
16
|
|
|
17
17
|
# edx-platform database
|
|
18
18
|
mysql -u {{ MYSQL_ROOT_USERNAME }} --password="{{ MYSQL_ROOT_PASSWORD }}" --host "{{ MYSQL_HOST }}" --port {{ MYSQL_PORT }} -e "CREATE DATABASE IF NOT EXISTS {{ OPENEDX_MYSQL_DATABASE }};"
|
|
19
|
-
|
|
19
|
+
# This command may fail if the specified user has created a custom view, such
|
|
20
|
+
# as is done in the enterprise app.
|
|
21
|
+
#
|
|
22
|
+
# Yes, even 'if not exists' does not prevent this. :/
|
|
23
|
+
# https://bugs.mysql.com/bug.php?id=107139
|
|
24
|
+
mysql -u {{ MYSQL_ROOT_USERNAME }} --password="{{ MYSQL_ROOT_PASSWORD }}" --host "{{ MYSQL_HOST }}" --port {{ MYSQL_PORT }} -e "CREATE USER IF NOT EXISTS '{{ OPENEDX_MYSQL_USERNAME }}';" || true
|
|
25
|
+
# If the user truly doesn't exist, we'll get an error here.
|
|
20
26
|
mysql -u {{ MYSQL_ROOT_USERNAME }} --password="{{ MYSQL_ROOT_PASSWORD }}" --host "{{ MYSQL_HOST }}" --port {{ MYSQL_PORT }} -e "ALTER USER '{{ OPENEDX_MYSQL_USERNAME }}'@'%' IDENTIFIED BY '{{ OPENEDX_MYSQL_PASSWORD }}';"
|
|
21
27
|
mysql -u {{ MYSQL_ROOT_USERNAME }} --password="{{ MYSQL_ROOT_PASSWORD }}" --host "{{ MYSQL_HOST }}" --port {{ MYSQL_PORT }} -e "GRANT ALL ON {{ OPENEDX_MYSQL_DATABASE }}.* TO '{{ OPENEDX_MYSQL_USERNAME }}'@'%';"
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# change version ranges when upgrading from verawood
|
|
2
|
-
tutor-android>=22.0.0,<23.0.0
|
|
3
|
-
tutor-cairn>=22.0.0,<23.0.0
|
|
4
|
-
tutor-credentials>=22.0.0,<23.0.0
|
|
5
|
-
tutor-deck>=22.0.0,<23.0.0
|
|
6
|
-
tutor-discovery>=22.0.0,<23.0.0
|
|
7
|
-
tutor-forum>=22.0.0,<23.0.0
|
|
8
|
-
tutor-indigo>=22.0.0,<23.0.0
|
|
9
|
-
tutor-jupyter>=22.0.0,<23.0.0
|
|
10
|
-
tutor-livedeps>=22.0.0,<23.0.0
|
|
11
|
-
tutor-mfe>=22.0.0,<23.0.0
|
|
12
|
-
tutor-minio>=22.0.0,<23.0.0
|
|
13
|
-
tutor-notes>=22.0.0,<23.0.0
|
|
14
|
-
tutor-xqueue>=22.0.0,<23.0.0
|
tutor-22.0.2/tutor/__about__.py
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
|
|
3
|
-
# Increment this version number to trigger a new release. See
|
|
4
|
-
# docs/tutor.html#versioning for information on the versioning scheme.
|
|
5
|
-
__version__ = "22.0.2"
|
|
6
|
-
|
|
7
|
-
# The version suffix will be appended to the actual version, separated by a
|
|
8
|
-
# dash. Use this suffix to differentiate between the actual released version and
|
|
9
|
-
# the versions from other branches. For instance: set the suffix to "main" in
|
|
10
|
-
# the main branch.
|
|
11
|
-
# The suffix is cleanly separated from the __version__ in this module to avoid
|
|
12
|
-
# conflicts when merging branches.
|
|
13
|
-
__version_suffix__ = ""
|
|
14
|
-
|
|
15
|
-
# The app name will be used to define the name of the default tutor root and
|
|
16
|
-
# plugin directory. To avoid conflicts between multiple locally-installed
|
|
17
|
-
# versions, if it is defined the version suffix will also be appended to the app
|
|
18
|
-
# name.
|
|
19
|
-
__app__ = os.environ.get("TUTOR_APP", "tutor")
|
|
20
|
-
|
|
21
|
-
# Package version, as installed by pip, does not include the version suffix.
|
|
22
|
-
# Otherwise, Tutor Main plugins will automatically install non-Main Tutor
|
|
23
|
-
# version.
|
|
24
|
-
__package_version__ = __version__
|
|
25
|
-
|
|
26
|
-
if __version_suffix__:
|
|
27
|
-
__version__ += "-" + __version_suffix__
|
|
28
|
-
__app__ += "-" + __version_suffix__
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/cms/development.py
RENAMED
|
File without changes
|
{tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/cms/production.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/lms/development.py
RENAMED
|
File without changes
|
{tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/lms/production.py
RENAMED
|
File without changes
|
|
File without changes
|
{tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/partials/common_all.py
RENAMED
|
File without changes
|
{tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/partials/common_cms.py
RENAMED
|
File without changes
|
{tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/partials/common_lms.py
RENAMED
|
File without changes
|
{tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/apps/openedx/settings/partials/common_test.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/settings/partials/assets.py
RENAMED
|
File without changes
|
{tutor-22.0.2 → tutor-23.0.0.dev3185}/tutor/templates/build/openedx/settings/partials/i18n.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|