-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates after version 2.2.4: - Introduce Signposting feature - Add statistics collection backend Co-authored-by: Johannes Lares <johannes.lares@csc.fi> Co-authored-by: Harri Hirvonsalo <harri.hirvonsalo@csc.fi>
- Loading branch information
1 parent
50e2ab9
commit 9162f15
Showing
2 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
b2share/modules/upgrade/upgrades/upgrade_2_2_4_to_2_2_5.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"""Upgrade recipe migrating B2SHARE from version 2.2.4 to 2.2.5.""" | ||
|
||
|
||
from __future__ import absolute_import, print_function | ||
|
||
import pkg_resources | ||
|
||
from .common import elasticsearch_index_init | ||
|
||
from ..api import UpgradeRecipe | ||
|
||
|
||
migrate_2_2_4_to_2_2_5 = UpgradeRecipe('2.2.4', '2.2.5') | ||
|
||
# Update Elasticsearch mappings | ||
for step in [elasticsearch_index_init]: | ||
migrate_2_2_4_to_2_2_5.step()(step) | ||
|
||
# There are no changes to the db schema, so no other updates are necessary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
"""Version number.""" | ||
|
||
|
||
__version__ = "2.2.4" | ||
__version__ = "2.2.5" |