azerbini / eamena_dev

Arches is a web-based, geospatial information system for cultural heritage inventory and management.
GNU Affero General Public License v3.0
1 stars 2 forks source link

Eamena v1 v2 migration #134

Closed mradamcox closed 5 years ago

mradamcox commented 5 years ago

Description of Change

Initial merge of support for the v1-v2 data migration operations.

The workflow at the time of this merge is

  1. python manage.py convert_v1_data --prepare

    This step loads extra resource graph nodes that are necessary to support the slightly modified E27 for v2 data. Note that this step relies on changes to have been made to the package repo (EAMENA app), which are not in this PR. Specifically, the commits in this pr https://github.com/eamena-oxford/eamena-egypt-app/pull/1 must be applied to whichever app is being migrated before this --prepare command is run.

  2. python manage.py convert_v1_data -s <path/to/v1data.json>

This will convert the input data into resources that should load into v2, but it will not load them directly.

  1. python manage.py packages -o load_resources -s <path/to/new/v2data.json>

Standard loading resources process.

Issues Solved

Types of changes

Checklist

Further comments