orion icon indicating copy to clipboard operation
orion copied to clipboard

Add command lines `orion db dump` and `orion db load`

Open notoraptor opened this issue 1 year ago • 0 comments

Description

Hi @bouthilx ! This is a PR to fix #953 . Commands orion db dump and orion db load are added.

  • orion db dump show already fully work
  • orion db load should work with parameter --exp, and for full import if there is no ID collision.

TODO

  • Make orion db load work when there is ID collision on full import.
  • Add testing

Changes

Add commands orion db dump and orion db load

Checklist

Tests

  • [ ] I added corresponding tests for bug fixes and new features. If possible, the tests fail without the changes
  • [ ] All new and existing tests are passing ($ tox -e py38; replace 38 by your Python version if necessary)

Documentation

  • [ ] I have updated the relevant documentation related to my changes

Quality

  • [ ] I have read the CONTRIBUTING doc
  • [ ] My commits messages follow this format
  • [ ] My code follows the style guidelines ($ tox -e lint)

notoraptor avatar Oct 04 '22 12:10 notoraptor