summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f685fcd)
raw | patch | inline | side by side (parent: f685fcd)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 10 Oct 2001 04:12:32 +0000 (04:12 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 10 Oct 2001 04:12:32 +0000 (04:12 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@288 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup-admin | patch | blob | history | |
setup.cfg | [deleted file] | patch | blob | history |
diff --git a/roundup-admin b/roundup-admin
index bf8588d920021f948c20a5e1fc0ca40fcc04b7e7..42ec53237c89da289b53b70df6e4d4d8f1e5047e 100755 (executable)
--- a/roundup-admin
+++ b/roundup-admin
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
#
-# $Id: roundup-admin,v 1.24 2001-10-10 03:54:57 richard Exp $
+# $Id: roundup-admin,v 1.25 2001-10-10 04:12:32 richard Exp $
import sys
if int(sys.version[0]) < 2:
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
- a "header" line with those property names.)
+ a "header" line with those property names.) The new nodes are added to
+ the existing database - if you want to create a new database using the
+ imported data, then create a new database (or, tediously, retire all
+ the old data.)
'''
if len(args) < 2:
print do_export.__doc__
#
# $Log: not supported by cvs2svn $
+# 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.
+# Requires the csv module for importing.
+#
# Revision 1.23 2001/10/09 23:36:25 richard
# Spit out command help if roundup-admin command doesn't get an argument.
#
diff --git a/setup.cfg b/setup.cfg
--- a/setup.cfg
+++ /dev/null
@@ -1,40 +0,0 @@
-#
-# Copyright (c) 2001 Bizar Software Pty Ltd (http://www.bizarsoftware.com.au/)
-# This module is free software, and you may redistribute it and/or modify
-# under the same terms as Python, so long as this copyright message and
-# disclaimer are retained in their original form.
-#
-# IN NO EVENT SHALL BIZAR SOFTWARE PTY LTD BE LIABLE TO ANY PARTY FOR
-# DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING
-# OUT OF THE USE OF THIS CODE, EVEN IF THE AUTHOR HAS BEEN ADVISED OF THE
-# POSSIBILITY OF SUCH DAMAGE.
-#
-# BIZAR SOFTWARE PTY LTD SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING,
-# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
-# FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
-# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
-# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
-#
-# $Id: setup.cfg,v 1.5 2001-10-08 23:36:44 richard Exp $
-
-[install-scripts]
-install_dir=/usr/local/bin
-
-
-#
-# $Log: not supported by cvs2svn $
-# Revision 1.4 2001/08/07 00:24:42 richard
-# stupid typo
-#
-# Revision 1.3 2001/08/07 00:15:51 richard
-# Added the copyright/license notice to (nearly) all files at request of
-# Bizar Software.
-#
-# Revision 1.2 2001/07/27 07:20:17 richard
-# Makefile is now obsolete - setup does what it used to do.
-#
-# Revision 1.1 2001/07/27 06:56:25 richard
-# Added scripts to the setup and added the config so the default script
-# install dir is /usr/local/bin.
-#
-#