Hello, I've created a small python script that convert JSON to .ARCHES. I hope I can get help from this community for testing it. The link to the script: https://github.com/oixhwotl/archesproject3/raw/master/exported/arches_json_to_arches.py
The Arches command for exporting data is shown as below: $ python manage.py packages -o export_resources -d <new_out_file_path> (e.g) ...:~/my_hip_app2$ python packages -o export_resource -d exported/backup_201603292124 The script needs two arguments, and creates a sample.arches file under <path_to_source_data>/business_data/ $ python arches_json_to_arches.py <new_out_file_path> <path_to_source_data> (e.g) ...:~/my_hip_app2$ python exported/arches_json_to_arches.py exported/backup_201603292124 my_hip_app/source_data If BUSISNESS_DATA_FILES is set in settings.py, you can reinitialize Arches with following command: python manage.py packages -o install or you can just add the new .arches with following command: $ python manage.py packages -o import_resources -s <path_to_source_data>/business_data/sample.arches (e.g) ...:~/my_hip_app2$ python manage.py packages -o import_resources my_hip_app/source_data/business_data/sample.arches It has one problem. It can't recover RELATION_TYPE field in .relations file. Can anybody help me by testing it? I must warn you that you should have your data backed up some place safe. If this script works without any problem, then I don't have to explain how to create .arches files to my project stakeholders. Thank you in advance. -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.