[Zope-CVS] SVN: mysqldbda/trunk/ Make package releasable

Stephan Richter srichter at cosmos.phy.tufts.edu
Sat Nov 6 17:04:46 EST 2004


Log message for revision 28366:
  Make package releasable
  

Changed:
  A   mysqldbda/trunk/DEPENDENCIES.cfg
  A   mysqldbda/trunk/PACKAGE.cfg
  A   mysqldbda/trunk/PUBLICATION.cfg
  D   mysqldbda/trunk/README.TXT
  A   mysqldbda/trunk/README.txt
  A   mysqldbda/trunk/SETUP.cfg

-=-
Added: mysqldbda/trunk/DEPENDENCIES.cfg
===================================================================
--- mysqldbda/trunk/DEPENDENCIES.cfg	2004-11-06 22:04:11 UTC (rev 28365)
+++ mysqldbda/trunk/DEPENDENCIES.cfg	2004-11-06 22:04:46 UTC (rev 28366)
@@ -0,0 +1,2 @@
+MySQLdb
+zope.app
\ No newline at end of file

Added: mysqldbda/trunk/PACKAGE.cfg
===================================================================
--- mysqldbda/trunk/PACKAGE.cfg	2004-11-06 22:04:11 UTC (rev 28365)
+++ mysqldbda/trunk/PACKAGE.cfg	2004-11-06 22:04:46 UTC (rev 28366)
@@ -0,0 +1,18 @@
+# Load the license from an external source, so we don't have to keep a
+# copy of it sitting around:
+<load>
+  LICENSE.txt  http://svn.zope.org/*checkout*/Zope3/trunk/ZopePublicLicense.txt?rev=25177
+</load>
+
+# Add a few things to the distribution root.
+<distribution>
+  README.txt
+</distribution>
+
+# Specify what is included in the component.
+<collection>
+  *.txt
+  *.py
+  *.zcml
+  tests
+</collection>

Added: mysqldbda/trunk/PUBLICATION.cfg
===================================================================
--- mysqldbda/trunk/PUBLICATION.cfg	2004-11-06 22:04:11 UTC (rev 28365)
+++ mysqldbda/trunk/PUBLICATION.cfg	2004-11-06 22:04:46 UTC (rev 28366)
@@ -0,0 +1,9 @@
+Metadata-Version: 1.0
+Name: mysqldbda
+Summary: MySQL Database Adapter for Zope 3
+Author: Zope Corporation and Contributors
+Author-email: zope3-dev at zope.org
+License: ZPL 2.1
+Description:
+        This package allows Zope 3 to connect to any MySQL database via
+        the common Zope 3 RDB connection facilities.

Deleted: mysqldbda/trunk/README.TXT
===================================================================
--- mysqldbda/trunk/README.TXT	2004-11-06 22:04:11 UTC (rev 28365)
+++ mysqldbda/trunk/README.TXT	2004-11-06 22:04:46 UTC (rev 28366)
@@ -1,72 +0,0 @@
-This files helps you installing the MySQL Database adapter in Zope 3
-In this document I'm assuming your Zope3 lives in ~/Zope3.
-
-Installing mysqldbda
-
-  1. Check out the mysqldbda product into ~/Zope3/src
-
-       cd ~/Zope3/src
-       cvs -d :pserver:anonymous at cvs.zope.org:/cvs-repository login
-       cvs -d :pserver:anonymous at cvs.zope.org:/cvs-repository checkout \
-                                                mysqldbda
-
-  2. Create a file named 'mysqldbda-configure.zcml' inside
-     ~/Zope3/package-includes with the following contents:
-
-       <include package='mysqldbda' />
-
-Creating Database Connections
-
-  It is time to add some connections. A connection in Zope 3 is
-  registered as a utility.
-
-  3. Open a web browser on your Zope root folder (http://localhost:8080/ if
-     you use the default settings in zope.conf.in).
-
-  4. Click on the 'Manage Site' action on the right side of the
-     screen. You should see a screen which reads 'Common Site
-     Management Tasks'
-
-  5. Around the middle of that page, you should see a link named 'Add
-     Utility'. Click on it.
-
-  6. Select 'MySQL DA' and type in a name at the bottom of the page.
-
-  7. Enter the database connection string.  It looks like this:
-
-        dbi://username:password@host:port/databasename
-
-  8. Click on the 'Add' button.
-
-  9. You should be on a page which reads 'Add Database Connection
-     Registration'. There you can configure the permission needed to
-     use the database connection, the name of the registration and the
-     registration status. You can use any name for 'Register As'
-     field, as long as it doesn't clash with an existing one. Choose a
-     permission. Choose between 'Registered' and 'Active' for  the
-     'Registration Status'. Only one component of a kind can be
-     'Active' at a time, so be careful.
-
-  10. You should be redirected to the 'Edit' screen of the connection
-      utility.
-
-  11. If you want to, you can go to the Test page and execute arbitrary SQL
-      queries to see whether the connection is working as expected.
-
-Using SQL Scripts
-
-  You can create SQL Scripts in the content space.  For example:
-
-  12. Go to Zope root.
-
-  13. Add an SQL script (you can use the Common Tasks box on the left, or
-      the Add action on the right).
-
-  14. Click on the name of your new SQL script.
-
-  15. Choose a connection name (the one you entered in step 29) from the
-      drop-down.
-
-  16. Enter your query and click on the 'Save Changes' button.
-
-  17. You can test the script in the -- surprise! -- Test page.
\ No newline at end of file

Copied: mysqldbda/trunk/README.txt (from rev 28364, mysqldbda/trunk/README.TXT)

Added: mysqldbda/trunk/SETUP.cfg
===================================================================
--- mysqldbda/trunk/SETUP.cfg	2004-11-06 22:04:11 UTC (rev 28365)
+++ mysqldbda/trunk/SETUP.cfg	2004-11-06 22:04:46 UTC (rev 28366)
@@ -0,0 +1,5 @@
+# Tell zpkg how to install the ZCML slugs.
+
+<data-files zopeskel/etc/package-includes>
+  mysqldbda-*.zcml
+</data-files>



More information about the Zope-CVS mailing list