tutor 23.0.0.dev3218__tar.gz → 23.0.0.dev3226__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-23.0.0.dev3218 → tutor-23.0.0.dev3226}/PKG-INFO +1 -1
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/mounts.py +8 -2
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/Dockerfile +5 -1
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/.gitignore +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/.hatch_build.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/LICENSE.txt +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/README.rst +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/pyproject.toml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/requirements/base.in +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/requirements/dev.txt +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/requirements/plugins.txt +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/__about__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/bindmount.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/cli.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/compose.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/config.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/context.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/dev.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/images.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/jobs.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/jobs_utils.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/k8s.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/local.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/params.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/plugins.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/upgrade/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/upgrade/common.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/upgrade/compose.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/commands/upgrade/k8s.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/config.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/core/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/core/hooks/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/core/hooks/actions.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/core/hooks/contexts.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/core/hooks/filters.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/core/hooks/priorities.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/env.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/exceptions.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/fmt.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/hooks/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/hooks/catalog.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/images.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/interactive.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/plugins/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/plugins/base.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/plugins/indexes.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/plugins/openedx.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/plugins/v0.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/plugins/v1.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/py.typed +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/serialize.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/tasks.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/caddy/Caddyfile +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/config/cms.env.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/config/lms.env.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/config/partials/auth.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/granian-config +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/cms/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/cms/development.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/cms/production.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/cms/test.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/lms/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/lms/development.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/lms/production.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/lms/test.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/partials/common_all.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/partials/common_cms.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/partials/common_lms.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/partials/common_test.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/permissions/fix-volume-permissions.sh +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/permissions/setowners.sh +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/redis/redis.conf +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/bin/reload-granian +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/bin/run-granian +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/revisions.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/cms/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/cms/assets.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/cms/i18n.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/granian-config +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/lms/__init__.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/lms/assets.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/lms/i18n.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/partials/assets.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/partials/i18n.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/themes/README +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/permissions/Dockerfile +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/permissions/setowner.sh +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/config/base.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/config/defaults.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/dev/docker-compose.jobs.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/dev/docker-compose.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/jobs/init/cms.sh +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/jobs/init/lms.sh +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/jobs/init/meilisearch.sh +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/jobs/init/mounted-directories.sh +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/jobs/init/mysql.sh +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/k8s/deployments.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/k8s/jobs.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/k8s/namespace.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/k8s/override.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/k8s/services.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/k8s/volumes.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/kustomization.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/local/docker-compose.jobs.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/local/docker-compose.prod.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/local/docker-compose.yml +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/version +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/types.py +0 -0
- {tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: tutor
|
|
3
|
-
Version: 23.0.0.
|
|
3
|
+
Version: 23.0.0.dev3226
|
|
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/
|
|
@@ -111,14 +111,20 @@ def mounts_add(context: click.Context, mounts: list[str]) -> None:
|
|
|
111
111
|
|
|
112
112
|
|
|
113
113
|
@click.command(name="remove")
|
|
114
|
+
@click.option("-a", "--all", "remove_all", is_flag=True, help="Remove all bind-mounts")
|
|
114
115
|
@click.argument("mounts", metavar="mount", type=MountParamType(), nargs=-1)
|
|
115
116
|
@click.pass_context
|
|
116
|
-
def mounts_remove(context: click.Context, mounts: list[str]) -> None:
|
|
117
|
+
def mounts_remove(context: click.Context, remove_all: bool, mounts: list[str]) -> None:
|
|
117
118
|
"""
|
|
118
119
|
Remove a bind-mounted folder
|
|
119
120
|
|
|
120
|
-
The bind-mounted folder will be removed from the ``MOUNTS`` project setting.
|
|
121
|
+
The bind-mounted folder will be removed from the ``MOUNTS`` project setting. Pass
|
|
122
|
+
``--all`` to remove all bind-mounted folders at once.
|
|
121
123
|
"""
|
|
124
|
+
if remove_all:
|
|
125
|
+
if mounts:
|
|
126
|
+
raise exceptions.TutorError("Cannot pass both --all and mount arguments")
|
|
127
|
+
mounts = bindmount.get_mounts(tutor_config.load(context.obj.root))
|
|
122
128
|
removed_mounts = []
|
|
123
129
|
for mount in mounts:
|
|
124
130
|
if not bindmount.parse_explicit_mount(mount):
|
|
@@ -98,7 +98,11 @@ FROM python AS python-requirements
|
|
|
98
98
|
ENV PATH=/openedx/venv/bin:${PATH}
|
|
99
99
|
ENV VIRTUAL_ENV=/openedx/venv/
|
|
100
100
|
ENV XDG_CACHE_HOME=/openedx/.cache
|
|
101
|
-
|
|
101
|
+
# uv reuses wheels it built from source regardless of the glibc they were linked
|
|
102
|
+
# against, so keep a separate cache per base image: wheels built on a newer Ubuntu
|
|
103
|
+
# (e.g. by another Tutor release) fail to import here. Keep in sync with the
|
|
104
|
+
# "minimal" stage base image.
|
|
105
|
+
ENV UV_CACHE_DIR=$XDG_CACHE_HOME/pip/ubuntu-22.04
|
|
102
106
|
|
|
103
107
|
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
|
|
104
108
|
--mount=type=cache,target=/var/lib/apt,sharing=locked \
|
|
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
|
|
File without changes
|
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/config/cms.env.yml
RENAMED
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/config/lms.env.yml
RENAMED
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/config/partials/auth.yml
RENAMED
|
File without changes
|
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/cms/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/cms/test.py
RENAMED
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/lms/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/apps/openedx/settings/lms/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
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/bin/reload-granian
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/cms/__init__.py
RENAMED
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/cms/assets.py
RENAMED
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/cms/i18n.py
RENAMED
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/granian-config
RENAMED
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/lms/__init__.py
RENAMED
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/lms/assets.py
RENAMED
|
File without changes
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/build/openedx/settings/lms/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
|
{tutor-23.0.0.dev3218 → tutor-23.0.0.dev3226}/tutor/templates/jobs/init/mounted-directories.sh
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
|