ol-openedx-git-auto-export 0.8.1__tar.gz → 0.8.2__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.
- ol_openedx_git_auto_export-0.8.2/CHANGELOG.rst +12 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/PKG-INFO +1 -1
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/management/commands/migrate_giturl.py +4 -2
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/pyproject.toml +6 -13
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/.gitignore +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/LICENSE +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/README.rst +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/__init__.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/admin.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/app.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/constants.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/management/commands/__init__.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/migrations/0001_initial.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/migrations/0002_contentgitrepository.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/migrations/__init__.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/models.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/settings/__init__.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/settings/common.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/settings/production.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/signals.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/tasks.py +0 -0
- {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/ol_openedx_git_auto_export/utils.py +0 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Change Log
|
|
2
|
+
==========
|
|
3
|
+
|
|
4
|
+
Version 0.8.2 (2026-06-10)
|
|
5
|
+
---------------------------
|
|
6
|
+
|
|
7
|
+
* Fixed ``migrate_giturl`` management command passing a stale ``export_course``
|
|
8
|
+
keyword to ``async_create_github_repo``, which raised ``TypeError`` during
|
|
9
|
+
parallel repository creation.
|
|
10
|
+
* Fixed ``migrate_giturl`` reporting a possibly-unbound loop variable in its
|
|
11
|
+
repository-creation progress message; it now reports the count of courses.
|
|
12
|
+
* Added tests for the ``migrate_giturl`` command.
|
|
@@ -139,7 +139,9 @@ class Command(BaseCommand):
|
|
|
139
139
|
repos_to_create.append(course.id)
|
|
140
140
|
|
|
141
141
|
if repos_to_create:
|
|
142
|
-
self.stdout.write(
|
|
142
|
+
self.stdout.write(
|
|
143
|
+
f"Creating repositories for {len(repos_to_create)} course(s)..."
|
|
144
|
+
)
|
|
143
145
|
self._process_repositories_in_parallel(repos_to_create, migration_logs)
|
|
144
146
|
|
|
145
147
|
self._display_migration_summary(migration_logs)
|
|
@@ -157,7 +159,7 @@ class Command(BaseCommand):
|
|
|
157
159
|
|
|
158
160
|
# Create group of tasks for all repositories
|
|
159
161
|
job = group(
|
|
160
|
-
async_create_github_repo.s(str(course_id),
|
|
162
|
+
async_create_github_repo.s(str(course_id), export_content=True)
|
|
161
163
|
for course_id in repos_to_create
|
|
162
164
|
)
|
|
163
165
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "ol-openedx-git-auto-export"
|
|
3
|
-
version = "0.8.
|
|
3
|
+
version = "0.8.2"
|
|
4
4
|
description = "A plugin that auto saves the course OLX to git when an author publishes it"
|
|
5
|
-
authors = [
|
|
6
|
-
{name = "MIT Office of Digital Learning"}
|
|
7
|
-
]
|
|
5
|
+
authors = [{ name = "MIT Office of Digital Learning" }]
|
|
8
6
|
license = "BSD-3-Clause"
|
|
9
7
|
readme = "README.rst"
|
|
10
8
|
requires-python = ">=3.11"
|
|
@@ -25,19 +23,14 @@ requires = ["hatchling"]
|
|
|
25
23
|
build-backend = "hatchling.build"
|
|
26
24
|
|
|
27
25
|
[tool.hatch.build.targets.wheel]
|
|
28
|
-
include = [
|
|
29
|
-
|
|
30
|
-
]
|
|
31
|
-
exclude = [
|
|
32
|
-
"ol_openedx_git_auto_export/**/test_*"
|
|
33
|
-
]
|
|
26
|
+
include = ["ol_openedx_git_auto_export/**/*.py"]
|
|
27
|
+
exclude = ["ol_openedx_git_auto_export/**/test_*"]
|
|
34
28
|
|
|
35
29
|
[tool.hatch.build.targets.sdist]
|
|
36
30
|
include = [
|
|
37
31
|
"ol_openedx_git_auto_export/**/*",
|
|
38
32
|
"README.rst",
|
|
33
|
+
"CHANGELOG.rst",
|
|
39
34
|
"pyproject.toml",
|
|
40
35
|
]
|
|
41
|
-
exclude = [
|
|
42
|
-
"ol_openedx_git_auto_export/**/test_*"
|
|
43
|
-
]
|
|
36
|
+
exclude = ["ol_openedx_git_auto_export/**/test_*"]
|
|
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
|