esmero / archipelago-deployment-live

A Cloud / Local production ready Archipelago Deployment using Docker / Kubernetes
GNU General Public License v3.0
3 stars 13 forks source link

ISSUE-81: Export/import metadata Displays script using JSON API and JQ #82

Closed aksm closed 2 years ago

aksm commented 2 years ago

Starts to resolve #81

The script is functional for import/export but will need work, improvements, testing, and documentation. Currently it's able to export to the directory from which it's run or optionally any provided directory (same for importing). It can also be run to import to a remote server so for example, export on a local deployment and import to a remote production deployment.

DiegoPino commented 2 years ago

So cool!! @aksm this looks pretty awesome and thorough! Will test by noon :)

DiegoPino commented 2 years ago

@aksm happy to test. Can you give me a short instructional explanation on what/how to test? Thanks so much for your commits!

aksm commented 2 years ago

@DiegoPino I added a help option ./import_export.sh -h. Glad to explain further if it's not clear. I think I still need to expand on that help documentation.

DiegoPino commented 2 years ago

Thanks @aksm !!!

DiegoPino commented 2 years ago

@aksm I see the lock being committed, then reverted and them committed. Maybe it is not needed here? If so can you simply remove any changes to that file and commit that. Thanks a lot!

aksm commented 2 years ago

@DiegoPino Sorry about that! Need to make a permanent sticky to always check upstream changes before pushing.

DiegoPino commented 2 years ago

No worries! You fixed It so all good. Thanks!