Create "gmg convert_mongo_to_sql" command
authorElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 16 Feb 2012 23:09:30 +0000 (00:09 +0100)
committerElrond <elrond+mediagoblin.org@samba-tng.org>
Thu, 23 Feb 2012 22:49:09 +0000 (23:49 +0100)
commit98913512561e10d409e1cce067b4ed42b72e337c
tree4552030f2723aebc35835e8eda67064399c92694
parent15821817015868b370a5a1bf52452bd8d3c96317
Create "gmg convert_mongo_to_sql" command

Finally, to make testing of sql a bit easier, create a
bin/gmg command to do the conversion from mongo to sql.
It's currently named "convert_mongo_to_sql".

The most important option is the gmg -cf option to give a
configfile with the appropiate sql_engine definition.
mediagoblin/db/sql/convert.py
mediagoblin/gmg_commands/__init__.py
mediagoblin/gmg_commands/mongosql.py [new file with mode: 0644]