invenio-app-rdm 13.0.0rc7__py2.py3-none-any.whl → 13.0.0rc9__py2.py3-none-any.whl
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.
- invenio_app_rdm/__init__.py +1 -1
- invenio_app_rdm/upgrade_scripts/migrate_12_0_to_13_0.py +7 -5
- {invenio_app_rdm-13.0.0rc7.dist-info → invenio_app_rdm-13.0.0rc9.dist-info}/METADATA +9 -1
- {invenio_app_rdm-13.0.0rc7.dist-info → invenio_app_rdm-13.0.0rc9.dist-info}/RECORD +8 -8
- {invenio_app_rdm-13.0.0rc7.dist-info → invenio_app_rdm-13.0.0rc9.dist-info}/WHEEL +0 -0
- {invenio_app_rdm-13.0.0rc7.dist-info → invenio_app_rdm-13.0.0rc9.dist-info}/entry_points.txt +0 -0
- {invenio_app_rdm-13.0.0rc7.dist-info → invenio_app_rdm-13.0.0rc9.dist-info}/licenses/LICENSE +0 -0
- {invenio_app_rdm-13.0.0rc7.dist-info → invenio_app_rdm-13.0.0rc9.dist-info}/top_level.txt +0 -0
invenio_app_rdm/__init__.py
CHANGED
|
@@ -72,7 +72,7 @@ def run_upgrade(has, migrate):
|
|
|
72
72
|
if draft_error_counter > 0 or record_error_counter > 0:
|
|
73
73
|
db.session.rollback()
|
|
74
74
|
secho(
|
|
75
|
-
f"{record_error_counter} records had failures and {draft_error_counter} drafts had failures",
|
|
75
|
+
f"Migration failed: {record_error_counter} records had failures and {draft_error_counter} drafts had failures",
|
|
76
76
|
fg="red",
|
|
77
77
|
)
|
|
78
78
|
secho(
|
|
@@ -83,11 +83,13 @@ def run_upgrade(has, migrate):
|
|
|
83
83
|
elif draft_success_counter > 0 or record_success_counter > 0:
|
|
84
84
|
db.session.commit()
|
|
85
85
|
secho(
|
|
86
|
-
f"{record_success_counter} records have been updated and {
|
|
86
|
+
f"Migration completed: {record_success_counter} records have been updated and {draft_success_counter} drafts have been updated",
|
|
87
87
|
fg="green",
|
|
88
88
|
)
|
|
89
89
|
else:
|
|
90
|
-
secho(
|
|
90
|
+
secho(
|
|
91
|
+
"Migration completed: no records or drafts required updating.", fg="green"
|
|
92
|
+
)
|
|
91
93
|
|
|
92
94
|
|
|
93
95
|
def run_upgrade_for_thesis():
|
|
@@ -104,11 +106,11 @@ def run_upgrade_for_thesis():
|
|
|
104
106
|
# Common query filter
|
|
105
107
|
has_thesis = dsl.Q("exists", field="custom_fields.thesis:university")
|
|
106
108
|
|
|
107
|
-
secho("
|
|
109
|
+
secho("Thesis upgrade has started.", fg="green")
|
|
108
110
|
|
|
109
111
|
run_upgrade(has_thesis, migrate_thesis_university)
|
|
110
112
|
|
|
111
|
-
secho("
|
|
113
|
+
secho("Thesis upgrade has finished.", fg="green")
|
|
112
114
|
|
|
113
115
|
|
|
114
116
|
def execute_upgrade():
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: invenio-app-rdm
|
|
3
|
-
Version: 13.0.
|
|
3
|
+
Version: 13.0.0rc9
|
|
4
4
|
Summary: Invenio Research Data Management.
|
|
5
5
|
Home-page: https://github.com/inveniosoftware/invenio-app-rdm
|
|
6
6
|
Author: CERN
|
|
@@ -101,6 +101,14 @@ https://inveniordm.docs.cern.ch
|
|
|
101
101
|
Changes
|
|
102
102
|
=======
|
|
103
103
|
|
|
104
|
+
Version v13.0.0rc9 (released 2025-07-23)
|
|
105
|
+
|
|
106
|
+
- fix(migration): wrong variable used
|
|
107
|
+
|
|
108
|
+
Version v13.0.0rc8 (released 2025-07-23)
|
|
109
|
+
|
|
110
|
+
- migration: improve text in v13 upgrade script
|
|
111
|
+
|
|
104
112
|
Version v13.0.0rc7 (released 2025-07-22)
|
|
105
113
|
|
|
106
114
|
- fix: license due to copy pasting
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
invenio_app_rdm/__init__.py,sha256=
|
|
1
|
+
invenio_app_rdm/__init__.py,sha256=vCekijNq27g9vZCVKSExgbQ5enM497OZqLUY0XTgctc,700
|
|
2
2
|
invenio_app_rdm/cli.py,sha256=G6QqNU2W6n6ICtTMnpeKFXIsdorncDmVXwwwsGH5F2k,2746
|
|
3
3
|
invenio_app_rdm/config.py,sha256=MQYHg0C5p5xAphuGOh3lqxp7k9Dboi27uxn7WHkv2JU,52040
|
|
4
4
|
invenio_app_rdm/ext.py,sha256=K7syn5CU5If7yOclFeNOCZX_u5q6VB7NJEQVm41mlng,5286
|
|
@@ -461,7 +461,7 @@ invenio_app_rdm/upgrade_scripts/fix_migrated_records_from_1_0_to_2_0.py,sha256=S
|
|
|
461
461
|
invenio_app_rdm/upgrade_scripts/fix_migrated_records_from_8_0_to_9_0.py,sha256=p6qTNjUMAJ-0tnrSwar7jtDX_sg6V9kFj7fzH-wrbkY,2769
|
|
462
462
|
invenio_app_rdm/upgrade_scripts/migrate_10_0_to_11_0.py,sha256=TX6FCWXY4qM4z7IYzDO5qaMTheo3zAjFrmR1sXaEf4U,1333
|
|
463
463
|
invenio_app_rdm/upgrade_scripts/migrate_11_0_to_12_0.py,sha256=Tp7jfT2JHrYCFzF2qIYqG7yr7k-GhX2zkw61CWJGA78,6941
|
|
464
|
-
invenio_app_rdm/upgrade_scripts/migrate_12_0_to_13_0.py,sha256=
|
|
464
|
+
invenio_app_rdm/upgrade_scripts/migrate_12_0_to_13_0.py,sha256=iE5oJsCslLIACdShhgNJP3vmsUc4Sgvroj0T6rb3aAU,4564
|
|
465
465
|
invenio_app_rdm/upgrade_scripts/migrate_1_0_records_to_2_0.py,sha256=mRDv_Ao5zMgA6X0aogMfvhspO1CIApKtDW_ziJp5fjI,3325
|
|
466
466
|
invenio_app_rdm/upgrade_scripts/migrate_2_0_to_3_0.py,sha256=jL_2I61Q9qt3fjBzYYueeT4EMQ9FlNPxYE4nzDQbLEY,2698
|
|
467
467
|
invenio_app_rdm/upgrade_scripts/migrate_3_0_to_4_0.py,sha256=BNjGufwLBvLHnu0gz5b_Are-FuxYjXlCtkLgNQckV3U,4768
|
|
@@ -482,9 +482,9 @@ invenio_app_rdm/users_ui/views/__init__.py,sha256=SMdY2NJj9GICfr3Xuok7qdNYVtA2bJ
|
|
|
482
482
|
invenio_app_rdm/users_ui/views/dashboard.py,sha256=iUn2PrODAwb8ugmMosJKAjPhUzjCiWiAWoXQr9RUFuc,1793
|
|
483
483
|
invenio_app_rdm/users_ui/views/ui.py,sha256=W_eXM8dLVIrNHQB2UEh37C9BYoHauft6RyvcDNFHovA,1742
|
|
484
484
|
invenio_app_rdm/utils/files.py,sha256=CruDyO2gDVadSlWEJD-WHpWHeOQ0juh-Ei9jz3D9yjc,3923
|
|
485
|
-
invenio_app_rdm-13.0.
|
|
486
|
-
invenio_app_rdm-13.0.
|
|
487
|
-
invenio_app_rdm-13.0.
|
|
488
|
-
invenio_app_rdm-13.0.
|
|
489
|
-
invenio_app_rdm-13.0.
|
|
490
|
-
invenio_app_rdm-13.0.
|
|
485
|
+
invenio_app_rdm-13.0.0rc9.dist-info/licenses/LICENSE,sha256=AZXFHRrZa5s4m9DV7zZr4bPGTMUvcEPCodeV_AmFI8k,1204
|
|
486
|
+
invenio_app_rdm-13.0.0rc9.dist-info/METADATA,sha256=J8AflPaQur4om8hGNUXvd6ppnrE0e1Jq0yKIvFnABkA,18523
|
|
487
|
+
invenio_app_rdm-13.0.0rc9.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
488
|
+
invenio_app_rdm-13.0.0rc9.dist-info/entry_points.txt,sha256=rfzEeOEdtGy99NlpWzeW-32CoO5XrEpBvlZwLD2Th88,2158
|
|
489
|
+
invenio_app_rdm-13.0.0rc9.dist-info/top_level.txt,sha256=quZejDUw2vLfKQboNIuVLJ9fxZifdnCT_s2PNf1dfmk,16
|
|
490
|
+
invenio_app_rdm-13.0.0rc9.dist-info/RECORD,,
|
|
File without changes
|
{invenio_app_rdm-13.0.0rc7.dist-info → invenio_app_rdm-13.0.0rc9.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{invenio_app_rdm-13.0.0rc7.dist-info → invenio_app_rdm-13.0.0rc9.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|