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.
Files changed (22) hide show
  1. ol_openedx_git_auto_export-0.8.2/CHANGELOG.rst +12 -0
  2. {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/PKG-INFO +1 -1
  3. {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
  4. {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/pyproject.toml +6 -13
  5. {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/.gitignore +0 -0
  6. {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/LICENSE +0 -0
  7. {ol_openedx_git_auto_export-0.8.1 → ol_openedx_git_auto_export-0.8.2}/README.rst +0 -0
  8. {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
  9. {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
  10. {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
  11. {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
  12. {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
  13. {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
  14. {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
  15. {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
  16. {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
  17. {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
  18. {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
  19. {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
  20. {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
  21. {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
  22. {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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ol-openedx-git-auto-export
3
- Version: 0.8.1
3
+ Version: 0.8.2
4
4
  Summary: A plugin that auto saves the course OLX to git when an author publishes it
5
5
  Author: MIT Office of Digital Learning
6
6
  License-Expression: BSD-3-Clause
@@ -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(f"Processing repository creation for {course.id}...")
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), export_course=True)
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.1"
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
- "ol_openedx_git_auto_export/**/*.py",
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_*"]