commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r5290 - in trunk/gnue-common/src/datasources/drivers: oracle/cxoracle or


From: jcater
Subject: r5290 - in trunk/gnue-common/src/datasources/drivers: oracle/cxoracle oracle/dcoracle postgresql postgresql/popy postgresql/psycopg postgresql/pygresql postgresql/pypgsql sqlite sqlite/sqlite sqlrelay sqlrelay/sqlrelay sybase sybase/sybase
Date: Wed, 10 Mar 2004 17:13:31 -0600 (CST)

Author: jcater
Date: 2004-03-10 17:13:30 -0600 (Wed, 10 Mar 2004)
New Revision: 5290

Modified:
   trunk/gnue-common/src/datasources/drivers/oracle/cxoracle/Info.py
   trunk/gnue-common/src/datasources/drivers/oracle/cxoracle/__init__.py
   trunk/gnue-common/src/datasources/drivers/oracle/dcoracle/Info.py
   trunk/gnue-common/src/datasources/drivers/postgresql/Info.py
   trunk/gnue-common/src/datasources/drivers/postgresql/__init__.py
   trunk/gnue-common/src/datasources/drivers/postgresql/popy/Info.py
   trunk/gnue-common/src/datasources/drivers/postgresql/popy/__init__.py
   trunk/gnue-common/src/datasources/drivers/postgresql/psycopg/Info.py
   trunk/gnue-common/src/datasources/drivers/postgresql/psycopg/__init__.py
   trunk/gnue-common/src/datasources/drivers/postgresql/pygresql/Info.py
   trunk/gnue-common/src/datasources/drivers/postgresql/pygresql/__init__.py
   trunk/gnue-common/src/datasources/drivers/postgresql/pypgsql/Info.py
   trunk/gnue-common/src/datasources/drivers/postgresql/pypgsql/__init__.py
   trunk/gnue-common/src/datasources/drivers/sqlite/Info.py
   trunk/gnue-common/src/datasources/drivers/sqlite/__init__.py
   trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/Info.py
   trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/__init__.py
   trunk/gnue-common/src/datasources/drivers/sqlrelay/Info.py
   trunk/gnue-common/src/datasources/drivers/sqlrelay/__init__.py
   trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/Connection.py
   trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/Info.py
   trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/__init__.py
   trunk/gnue-common/src/datasources/drivers/sybase/Info.py
   trunk/gnue-common/src/datasources/drivers/sybase/__init__.py
   trunk/gnue-common/src/datasources/drivers/sybase/sybase/Connection.py
   trunk/gnue-common/src/datasources/drivers/sybase/sybase/Info.py
   trunk/gnue-common/src/datasources/drivers/sybase/sybase/__init__.py
Log:
finished converting the remaining drivers to the Info.py format

Modified: trunk/gnue-common/src/datasources/drivers/oracle/cxoracle/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/oracle/cxoracle/Info.py   
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/oracle/cxoracle/Info.py   
2004-03-10 23:13:30 UTC (rev 5290)
@@ -0,0 +1,59 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Information on this driver
+"""
+
+#
+# Notes on this driver
+#
+__name__ = _("CX_Oracle SQLNet Driver")
+__url__ = "http://www.computronix.com/utilities/";
+__doc__ = """
+Description
+-----------
+An Oracle driver from Computronix.  Works with Oracle 7.3, 8.x, and 9i via
+Oracle's SQL-Net OCI interface.
+
+Support
+-------
+POSIX Support: YES
+Win32 Support: YES [prebuilt binaries]
+
+Platforms Tested:
+  * Debian Woody/Sarge/Sid
+
+Supported Properties
+--------------------
+service  -- This is the Oracle TNS connection name
+
+Examples
+--------
+[myconn]
+provider=cxoracle       # Use the CX Oracle adapter
+service=mytnsname       # The TNS connection string of the database
+
+Notes
+-----
+1. Requires Oracle Client Libraries.
+
+2. Does not recognize the TWO_TASK environment setting.
+"""

Modified: trunk/gnue-common/src/datasources/drivers/oracle/cxoracle/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/oracle/cxoracle/__init__.py       
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/oracle/cxoracle/__init__.py       
2004-03-10 23:13:30 UTC (rev 5290)
@@ -26,19 +26,7 @@
 Oracle implementation of dbdriver using Python DB-SIG v2
 specification.
 """
-# NOTES:
-#
 
-__description__ = _("CX_Oracle Data Driver for Oracle 7.3/8i/9i+ (OCI8)")
-__driverurl__ = "http://www.computronix.com/utilities/";
-__examples__ = """
-   Supported attributes (via connections.conf or <connection> tag)
-
-     service=    This is the Oracle TNS name for your connection  (required)
-"""
-
-__doc__ = ""
-
 #
 # Stub code to not initialize the Connection until needed.
 # This greatly helps with error messages.

Modified: trunk/gnue-common/src/datasources/drivers/oracle/dcoracle/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/oracle/dcoracle/Info.py   
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/oracle/dcoracle/Info.py   
2004-03-10 23:13:30 UTC (rev 5290)
@@ -0,0 +1,60 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Information on this driver
+"""
+
+#
+# Notes on this driver
+#
+__name__ = _("DCOracle2 OCI Driver")
+__url__ = "http://www.zope.org/Products/DCOracle2/";
+__doc__ = """
+Description
+-----------
+An Oracle driver from Digital Creations (Zope).  Works with Oracle
+7.3, 8.x, 9i via Oracle's SQL-Net OCI interface.
+
+Support
+-------
+POSIX Support: YES
+Win32 Support: YES [prebuilt binaries (WinNT only)]
+
+Platforms Tested:
+  * Debian Woody/Sarge/Sid
+  * Redhat 7.x
+  * SuSE
+
+Supported Properties
+--------------------
+service  -- This is the Oracle TNS connection name
+
+Examples
+--------
+provider=oracle         # Use the DCOracle2 adapter
+service=mytnsname       # The TNS connection string of the database
+
+Notes
+-----
+1. Requires Oracle Client Libraries.
+
+2. Does not recognize the TWO_TASK environment setting.
+"""

Modified: trunk/gnue-common/src/datasources/drivers/postgresql/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/Info.py        
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/Info.py        
2004-03-10 23:13:30 UTC (rev 5290)
@@ -0,0 +1,41 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Info for this database.
+"""
+
+#
+# Documentation
+#
+__name__ = "PostgreSQL"
+__url__ = "http://www.postgresql.org/";
+__description__ = """
+PostgreSQL is an free object-relational database, which supports a large part
+of SQL-99.  It is under continuous development and each release implements
+more of the SQL standard, to the extent that it is now probably more compliant
+than most commercial databases.  It also supports some object-oriented
+features. PostgreSQL is a full-featured, multi-user RDBMS that scales well
+from a few users to an entire organization.
+
+PostgreSQL is the primary database used by GNUe developers.
+"""
+__isfree__ = True  # Should be false for non-free DBMSs... we don't want to
+                   # show URLs for non-free on our website

Modified: trunk/gnue-common/src/datasources/drivers/postgresql/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/__init__.py    
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/__init__.py    
2004-03-10 23:13:30 UTC (rev 5290)
@@ -23,21 +23,3 @@
 """
 
 DRIVERS=['psycopg','popy','pygresql','pypgsql']
-
-#
-# Documentation
-#
-__name__ = "PostgreSQL"
-__url__ = "http://www.mysql.org/";
-__description__ = """
-PostgreSQL is an free object-relational database, which supports a large part
-of SQL-99.  It is under continuous development and each release implements
-more of the SQL standard, to the extent that it is now probably more compliant
-than most commercial databases.  It also supports some object-oriented
-features. PostgreSQL is a full-featured, multi-user RDBMS that scales well
-from a few users to an entire organization.
-
-PostgreSQL is the primary database used by GNUe developers.
-"""
-__isfree__ = True  # Should be false for non-free DBMSs... we don't want to
-                   # show URLs for non-free on our website

Modified: trunk/gnue-common/src/datasources/drivers/postgresql/popy/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/popy/Info.py   
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/popy/Info.py   
2004-03-10 23:13:30 UTC (rev 5290)
@@ -0,0 +1,61 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Information on this driver
+"""
+
+#
+# Notes on this driver
+#
+__name__ = _("popy")
+__url__ = "http://popy.sf.net/";
+__doc__ = """
+Description
+-----------
+Written by Thierry Michel and friends. Strong multi-thread support.
+
+Support
+-------
+POSIX Support: YES
+Win32 Support: ???
+
+Platforms Tested:
+  * Debian
+  * Redhat
+
+Supported Properties
+--------------------
+host       -- This is the name of the database host, or, on Linux,
+              directory containing the network socket (required)
+dbname     -- This is the database to use (required)
+port       -- Port that PostgreSQL is running on (defaults to 5432) (optional)
+
+Examples
+--------
+[myconn]
+provider=popy           # Use the PoPy adapter
+host=localhost          # The hostname/IP of the postgresql host
+dbname=mydb             # The name of the pg database
+
+Notes
+-----
+1. Available in Debian [sid,woody] as: "apt-get install python-popy
+""""

Modified: trunk/gnue-common/src/datasources/drivers/postgresql/popy/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/popy/__init__.py       
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/popy/__init__.py       
2004-03-10 23:13:30 UTC (rev 5290)
@@ -26,14 +26,7 @@
 Postgresql implementation of dbdriver using Python DB-SIG v2
 specification.
 """
-# NOTES:
-#
 
-__description__ = _("PoPy Data Driver for PostgreSQL")
-__driverurl__ = "http://????";
-__examples__ = ""
-__doc__ = ""
-
 #
 # Stub code to not initialize the Connection until needed.
 # This greatly helps with error messages.

Modified: trunk/gnue-common/src/datasources/drivers/postgresql/psycopg/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/psycopg/Info.py        
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/psycopg/Info.py        
2004-03-10 23:13:30 UTC (rev 5290)
@@ -0,0 +1,63 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Information on this driver
+"""
+
+#
+# Notes on this driver
+#
+__name__ = _("Psycopg")
+__url__ = "http://initd.org/software/psycopg/";
+__doc__ = """
+Description
+-----------
+From the Psycopg website: "It was written from scratch with the aim of
+being very small and fast, and stable as a rock."  Written by initd.org
+volunteers.
+
+Support
+-------
+POSIX Support: YES
+Win32 Support: ???
+
+Platforms Tested:
+  * Debian
+  * Redhat
+
+Supported Properties
+--------------------
+host       -- This is the name of the database host, or, on Linux,
+              directory containing the network socket (required)
+dbname     -- This is the database to use (required)
+port       -- Port that PostgreSQL is running on (defaults to 5432) (optional)
+
+Examples
+--------
+  [myconn]
+  provider=psycopg        # Use the psycopg adapter
+  host=localhost          # The hostname/IP of the postgresql host
+  dbname=mydb             # The name of the pg database
+
+Notes
+-----
+1. Available in Debian [sid,woody] as: "apt-get install python-popy
+""""

Modified: 
trunk/gnue-common/src/datasources/drivers/postgresql/psycopg/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/psycopg/__init__.py    
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/psycopg/__init__.py    
2004-03-10 23:13:30 UTC (rev 5290)
@@ -26,15 +26,7 @@
 Postgresql implementation of dbdriver using Python DB-SIG v2
 specification.
 """
-# NOTES:
-#
 
-__description__ = _("Psycopg Data Driver for PostgreSQL")
-__driverurl__ = "http://????";
-__examples__ = ""
-__doc__ = ""
-
-
 #
 # Stub code to not initialize the Connection until needed.
 # This greatly helps with error messages.

Modified: trunk/gnue-common/src/datasources/drivers/postgresql/pygresql/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/pygresql/Info.py       
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/pygresql/Info.py       
2004-03-10 23:13:30 UTC (rev 5290)
@@ -0,0 +1,63 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Information on this driver
+"""
+
+#
+# Notes on this driver
+#
+__name__ = _("Psycopg")
+__url__ = "http://initd.org/software/psycopg/";
+__doc__ = """
+Description
+-----------
+From the Psycopg website: "It was written from scratch with the aim of
+being very small and fast, and stable as a rock."  Written by initd.org
+volunteers.
+
+Support
+-------
+POSIX Support: YES
+Win32 Support: ???
+
+Platforms Tested:
+  * Debian
+  * Redhat
+
+Supported Properties
+--------------------
+host       -- This is the name of the database host, or, on Linux,
+              directory containing the network socket (required)
+dbname     -- This is the database to use (required)
+port       -- Port that PostgreSQL is running on (defaults to 5432) (optional)
+
+Examples
+--------
+  [myconn]
+  provider=psycopg        # Use the psycopg adapter
+  host=localhost          # The hostname/IP of the postgresql host
+  dbname=mydb             # The name of the pg database
+
+Notes
+-----
+1.  Available in Debian [sid] as: "apt-get install python-psycopg"
+""""

Modified: 
trunk/gnue-common/src/datasources/drivers/postgresql/pygresql/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/pygresql/__init__.py   
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/pygresql/__init__.py   
2004-03-10 23:13:30 UTC (rev 5290)
@@ -26,14 +26,7 @@
 Postgresql implementation of dbdriver using Python DB-SIG v2
 specification.
 """
-# NOTES:
-#
 
-__description__ = _("PyGreSQL Data Driver for PostgreSQL")
-__driverurl__ = "http://????";
-__examples__ = ""
-__doc__ = ""
-
 #
 # Stub code to not initialize the Connection until needed.
 # This greatly helps with error messages.

Modified: trunk/gnue-common/src/datasources/drivers/postgresql/pypgsql/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/pypgsql/Info.py        
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/pypgsql/Info.py        
2004-03-10 23:13:30 UTC (rev 5290)
@@ -0,0 +1,58 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Information on this driver
+"""
+
+#
+# Notes on this driver
+#
+__name__ = _("PyPgSQL")
+__url__ = "http://pypgsql.sf.net/";
+__doc__ = """
+Description
+-----------
+Written by Billy Allie, PyPgSQL is a database interface for PostgreSQL 7.x.
+
+Support
+-------
+POSIX Support: YES
+Win32 Support: YES [prebuilt binaries]
+
+Platforms Tested:
+ * GNU/Linux [Debian 2.x, 3.x, Slackware 8.0, RedHat ]
+ * Windows 98/2000/XP
+
+Supported Properties
+--------------------
+host       -- This is the name of the database host, or, on Linux,
+              directory containing the network socket (required)
+dbname     -- This is the database to use (required)
+port       -- Port that PostgreSQL is running on (defaults to 5432) (optional)
+
+Examples
+--------
+  [myconn]
+  provider=pypgsql        # Use the pypgsql adapter
+  host=localhost          # The hostname/IP of the postgresql host
+  dbname=mydb             # The name of the pg database
+
+""""

Modified: 
trunk/gnue-common/src/datasources/drivers/postgresql/pypgsql/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/postgresql/pypgsql/__init__.py    
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/postgresql/pypgsql/__init__.py    
2004-03-10 23:13:30 UTC (rev 5290)
@@ -26,14 +26,7 @@
 Postgresql implementation of dbdriver using Python DB-SIG v2
 specification.
 """
-# NOTES:
-#
 
-__description__ = _("PyPGsql Data Driver for PostgreSQL")
-__driverurl__ = "http://????";
-__examples__ = ""
-__doc__ = ""
-
 #
 # Stub code to not initialize the Connection until needed.
 # This greatly helps with error messages.

Modified: trunk/gnue-common/src/datasources/drivers/sqlite/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlite/Info.py    2004-03-10 
17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sqlite/Info.py    2004-03-10 
23:13:30 UTC (rev 5290)
@@ -0,0 +1,39 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Info for this database.
+"""
+
+#
+# Documentation
+#
+__name__ = "SQLite Embedded Database"
+__url__ = "http://www.sqlite.org/";
+__description__ = """
+SQLite is a C library that implements an embeddable SQL database engine.
+Programs that link with the SQLite library can have SQL database access
+without running a separate RDBMS process.
+
+SQLite is a great database to use with GNUe for single-user installations
+where a self-contained, distributable package is desired.
+"""
+__isfree__ = True  # Should be false for non-free DBMSs... we don't want to
+                   # show URLs for non-free on our website

Modified: trunk/gnue-common/src/datasources/drivers/sqlite/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlite/__init__.py        
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sqlite/__init__.py        
2004-03-10 23:13:30 UTC (rev 5290)
@@ -23,19 +23,3 @@
 """
 
 DRIVERS=['sqlite']
-
-#
-# Documentation
-#
-__name__ = "SQLite Embedded Database"
-__url__ = "http://www.sqlite.org/";
-__description__ = """
-SQLite is a C library that implements an embeddable SQL database engine.
-Programs that link with the SQLite library can have SQL database access
-without running a separate RDBMS process.
-
-SQLite is a great database to use with GNUe for single-user installations
-where a self-contained, distributable package is desired.
-"""
-__isfree__ = True  # Should be false for non-free DBMSs... we don't want to
-                   # show URLs for non-free on our website

Modified: trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/Info.py     
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/Info.py     
2004-03-10 23:13:30 UTC (rev 5290)
@@ -0,0 +1,60 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Information on this driver
+"""
+
+#
+# Notes on this driver
+#
+__name__ = _("PySQLite Driver")
+__url__ = "http://pysqlite.sourceforge.net/";
+__doc__ = """
+Description
+-----------
+PySQLite is a Python extension for SQLite that conforms to the Python
+Database API Specification 2.0. The source is released under the
+Python license.
+
+Support
+-------
+POSIX Support: YES
+Win32 Support: YES
+
+Platforms Tested:
+  * Debian GNU/Linux 3.x
+
+Supported Properties
+--------------------
+dbname     -- This is the file name of the sqlite database (required)
+
+Examples
+--------
+[myconn]
+provider=sqlite         # Use the SQLite adapter
+dbname=/usr/db/testdb   # The filename for the SQLite database
+
+Notes
+-----
+1. The database engine stores all data in string format. Many
+   SQL statements won't work. Comparison of date types won't work
+   correctly, etc.
+"""

Modified: trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/__init__.py 
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sqlite/sqlite/__init__.py 
2004-03-10 23:13:30 UTC (rev 5290)
@@ -22,11 +22,6 @@
 sqlite init file
 """
 
-__description__ = _("SQLite Data Driver")
-__driverurl__ = "http://????";
-__examples__ = ""
-__doc__ = ""
-
 #
 # Stub code to not initialize the Connection until needed.
 # This greatly helps with error messages.

Modified: trunk/gnue-common/src/datasources/drivers/sqlrelay/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlrelay/Info.py  2004-03-10 
17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sqlrelay/Info.py  2004-03-10 
23:13:30 UTC (rev 5290)
@@ -0,0 +1,36 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Info for this database.
+"""
+
+#
+# Documentation
+#
+__name__ = "SQLRelay"
+__url__ = "http://sqlrelay.sourceforge.net/";
+__description__ = """
+From FirstWork's website: "SQL Relay is a persistent database
+connection pooling, proxying and load balancing system for Unix
+and Linux."
+"""
+__isfree__ = True  # Should be false for non-free DBMSs... we don't want to
+                   # show URLs for non-free on our website

Modified: trunk/gnue-common/src/datasources/drivers/sqlrelay/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlrelay/__init__.py      
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sqlrelay/__init__.py      
2004-03-10 23:13:30 UTC (rev 5290)
@@ -23,14 +23,3 @@
 """
 
 DRIVERS=['sqlrelay']
-
-#
-# Documentation
-#
-__name__ = "SQLRelay"
-__url__ = "http://sqlrelay.sourceforge.net/";
-__description__ = """
-SQL Relay is a persistent database connection pooling, proxying and load 
balancing system for Unix and Linux supporting ODBC, Oracle, MySQL, mSQL, 
PostgreSQL, Sybase, MS SQL Server, IBM DB2, Interbase, Lago and SQLite.
-"""
-__isfree__ = True  # Should be false for non-free DBMSs... we don't want to
-                   # show URLs for non-free on our website

Modified: 
trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/Connection.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/Connection.py   
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/Connection.py   
2004-03-10 23:13:30 UTC (rev 5290)
@@ -74,11 +74,10 @@
   def connect(self, connectData={}):
     GDebug.printMesg(1,"SQLRelay database driver initializing")
 
+    host = connectData['host']
     try:
-      host, port = string.split(connectData['host'],':')
-      port = int(port)
+      port = int(connectData['port'])
     except ValueError:
-      host = connectData['host']
       port = 9000
 
     try:

Modified: trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/Info.py 
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/Info.py 
2004-03-10 23:13:30 UTC (rev 5290)
@@ -0,0 +1,62 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Information on this driver
+"""
+
+#
+# Notes on this driver
+#
+__name__ = _("SQLRelay Python Client")
+__url__ = "http://sqlrelay.sourceforge.net/";
+__doc__ = """
+Description
+-----------
+Python driver for SQLRelay.
+
+Support
+-------
+POSIX Support: YES
+Win32 Support: ???
+
+Platforms Tested:
+  * We need testers.
+
+Supported Properties
+--------------------
+host       -- This is the hostname of the server running SQLRealy (required)
+port       -- This is the port that SQLRelay is running on (defaults to 9000) 
(optional)
+
+Examples
+--------
+  [myconn]
+  provider=sqlrelay       # Use the SQLRelay adapter
+  host=hostname           # The host running SQLRelay
+  port=9000
+
+Notes
+-----
+1. This driver has not been fully tested.  If you are successfully using
+   this driver, please let us know.
+
+2. This driver does not support schema introspection, so you will not
+   be able to use Wizards in GNUe Designer.
+"""

Modified: 
trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/__init__.py     
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sqlrelay/sqlrelay/__init__.py     
2004-03-10 23:13:30 UTC (rev 5290)
@@ -22,11 +22,6 @@
 sqlrelay init file
 """
 
-__description__ = _("SQLRelay Data Driver")
-__driverurl__ = "http://????";
-__examples__ = ""
-__doc__ = ""
-
 #
 # Stub code to not initialize the Connection until needed.
 # This greatly helps with error messages.

Modified: trunk/gnue-common/src/datasources/drivers/sybase/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sybase/Info.py    2004-03-10 
17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sybase/Info.py    2004-03-10 
23:13:30 UTC (rev 5290)
@@ -0,0 +1,34 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Info for this database.
+"""
+
+#
+# Documentation
+#
+__name__ = "Sybase"
+__url__ = ""
+__description__ = """
+Sybase Adaptive Server Enterprise is a commercial database.
+"""
+__isfree__ = False  # Should be false for non-free DBMSs... we don't want to
+                    # show URLs for non-free on our website

Modified: trunk/gnue-common/src/datasources/drivers/sybase/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sybase/__init__.py        
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sybase/__init__.py        
2004-03-10 23:13:30 UTC (rev 5290)
@@ -23,14 +23,3 @@
 """
 
 DRIVERS=['sybase']
-
-#
-# Documentation
-#
-__name__ = "Sybase"
-__url__ = ""
-__description__ = """
-Sybase Adaptive Server Enterprise is a commercial database.
-"""
-__isfree__ = False  # Should be false for non-free DBMSs... we don't want to
-                    # show URLs for non-free on our website

Modified: trunk/gnue-common/src/datasources/drivers/sybase/sybase/Connection.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sybase/sybase/Connection.py       
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sybase/sybase/Connection.py       
2004-03-10 23:13:30 UTC (rev 5290)
@@ -30,7 +30,7 @@
 #   Supported attributes (via connections.conf or <database> tag)
 #
 #     service=    This is the Sybase DSN for your connection  (required)
-#     dbame=      This is the Sybase database to use (optional)
+#     dbname=     This is the Sybase database to use (optional)
 #
 
 ####                                   ####

Modified: trunk/gnue-common/src/datasources/drivers/sybase/sybase/Info.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sybase/sybase/Info.py     
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sybase/sybase/Info.py     
2004-03-10 23:13:30 UTC (rev 5290)
@@ -0,0 +1,61 @@
+#
+# This file is part of GNU Enterprise.
+#
+# GNU Enterprise is free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License as published by the Free Software Foundation; either
+# version 2, or(at your option) any later version.
+#
+# GNU Enterprise is distributed in the hope that it will be
+# useful, but WITHOUT ANY WARRANTY; without even the implied
+# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public
+# License along with program; see the file COPYING. If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place
+# - Suite 330, Boston, MA 02111-1307, USA.
+#
+# Copyright 2000-2004 Free Software Foundation
+#
+"""
+Information on this driver
+"""
+
+#
+# Notes on this driver
+#
+__name__ = _("Sybase Python Driver")
+__url__ = "http://www.object-craft.com.au/projects/sybase/";
+__doc__ = """
+Description
+-----------
+Driver to provide access to data via Dave Cole's Sybase ASE/Python Driver.
+
+Support
+-------
+POSIX Support: YES
+Win32 Support: YES [no prebuilt binaries]
+
+Platforms Tested:
+  * We need testers.
+
+Supported Properties
+--------------------
+service  -- This is the Sybase DSN for your connection  (required)
+dbname   -- This is the Sybase database to use (optional)
+
+Examples
+--------
+  provider=sybase         # Use the Sybase adapter
+  service=DSNname         # The Sybase DSN name
+  dbname=mydb             # The name of the Sybase database
+
+Notes
+-----
+1. This driver has not been fully tested.  If you are successfully using
+    this driver, please let us know.
+
+2. This driver does not yet support schema introspection, so you will not
+    be able to use Wizards in GNUe Designer.
+"""

Modified: trunk/gnue-common/src/datasources/drivers/sybase/sybase/__init__.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/sybase/sybase/__init__.py 
2004-03-10 17:11:20 UTC (rev 5289)
+++ trunk/gnue-common/src/datasources/drivers/sybase/sybase/__init__.py 
2004-03-10 23:13:30 UTC (rev 5290)
@@ -22,11 +22,6 @@
 sybase init file
 """
 
-__description__ = _("Sybase Data Driver")
-__driverurl__ = "http://????";
-__examples__ = ""
-__doc__ = ""
-
 #
 # Stub code to not initialize the Connection until needed.
 # This greatly helps with error messages.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]