-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from scaife-viewer/atlas/data-model-version
Retire DATA_MODEL_ID setting
- Loading branch information
Showing
4 changed files
with
16 additions
and
11 deletions.
There are no files selected for viewing
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
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
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,15 @@ | ||
import base64 | ||
|
||
|
||
""" | ||
`VERSION` is a base64 encoded representation of the last ATLAS release | ||
(in `YYYY-MM-DD-###` format) where a backwards incompatible schema change | ||
occurred. | ||
Site developers can use the value of this setting to help inform when ATLAS | ||
content should be re-ingested due to BI schema changes, e.g.: | ||
* Leveraging the `prepare_atlas_db` management command | ||
* Comparing a site-level setting to the current VERSION constant | ||
""" | ||
VERSION = base64.b64encode(b"2020-09-08-001\n").decode() |
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 |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
author_email="[email protected]", | ||
description="Aligned Text and Linguistic Annotation Server (ATLAS)", | ||
name="scaife-viewer-atlas", | ||
version="0.1a7", | ||
version="0.1a8", | ||
url="http://github.com/scaife-viewer/backend/", | ||
license="MIT", | ||
packages=find_packages(), | ||
|