From: richard Date: Thu, 11 Oct 2001 05:03:51 +0000 (+0000) Subject: Marked the roundup-admin import/export as experimental since they're not fully X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=649e3a26ec80b706b6799c38eb55c9481c640d45;p=roundup.git Marked the roundup-admin import/export as experimental since they're not fully operational. git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@294 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup-admin b/roundup-admin index 42ec532..2ee3c6e 100755 --- a/roundup-admin +++ b/roundup-admin @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: roundup-admin,v 1.25 2001-10-10 04:12:32 richard Exp $ +# $Id: roundup-admin,v 1.26 2001-10-11 05:03:51 richard Exp $ import sys if int(sys.version[0]) < 2: @@ -340,6 +340,7 @@ def do_retire(db, args): def do_export(db, args): '''Usage: export class[,class] destination_dir + ** EXPERIMENTAL ** Export the database to CSV files by class in the given directory. This action exports the current data from the database into @@ -381,6 +382,7 @@ def do_export(db, args): def do_import(db, args): '''Usage: import class file + ** EXPERIMENTAL ** Import the contents of the CSV file as new nodes for the given class. The file must define the same properties as the class (including having @@ -565,6 +567,9 @@ if __name__ == '__main__': # # $Log: not supported by cvs2svn $ +# Revision 1.25 2001/10/10 04:12:32 richard +# The setup.cfg file is just causing pain. Away it goes. +# # Revision 1.24 2001/10/10 03:54:57 richard # Added database importing and exporting through CSV files. # Uses the csv module from object-craft for exporting if it's available.