exporting records to a new record store fomat

8 views
Skip to first unread message

Daniel Wheeler

unread,
May 31, 2013, 12:32:04 PM5/31/13
to sumatr...@googlegroups.com
What would be the best command line interface for extracting records and importing them into a new record store format? Could use
 
   $ smt export
   $ smt upgrade --force --store=postgres:...

where the "--force" ignores the sumatra version check and the "--store" updates the project to have a new store location. I think this is a very simple change to the upgrade function in commands.py. I just wanted to check before hacking it. As far as I can tell, there isn't already a way to do this from the command line.

--
Daniel Wheeler

Andrew Davison

unread,
May 31, 2013, 12:58:47 PM5/31/13
to sumatr...@googlegroups.com
I think the most intuitive interface would be to add a "--store" option to "smt configure", with the transfer of records from the old recordstore to the new one happening behind the scenes.

Daniel Wheeler

unread,
May 31, 2013, 2:49:56 PM5/31/13
to sumatr...@googlegroups.com
Sounds good. I'll try and make it happen.

--
Daniel Wheeler
Reply all
Reply to author
Forward
0 new messages