[Python-modules-commits] r13214 - in packages/sqlobject/trunk/debian (6 files)

chaica-guest at users.alioth.debian.org chaica-guest at users.alioth.debian.org
Wed Jun 2 23:22:07 UTC 2010


    Date: Wednesday, June 2, 2010 @ 23:21:56
  Author: chaica-guest
Revision: 13214

  * Added debian/install to copy sqlobject directory and sqlobject-admin
    script
  * Added debian/sqlobject-admin.1
  * Added debian/manpages

Added:
  packages/sqlobject/trunk/debian/manpages
  packages/sqlobject/trunk/debian/sqlobject-admin.1
Modified:
  packages/sqlobject/trunk/debian/changelog
  packages/sqlobject/trunk/debian/control
  packages/sqlobject/trunk/debian/install
  packages/sqlobject/trunk/debian/preinst

Modified: packages/sqlobject/trunk/debian/changelog
===================================================================
--- packages/sqlobject/trunk/debian/changelog	2010-06-02 06:04:18 UTC (rev 13213)
+++ packages/sqlobject/trunk/debian/changelog	2010-06-02 23:21:56 UTC (rev 13214)
@@ -3,7 +3,10 @@
   * New upstream version
   * Added preinst script to get rid of pycentral
   * Removed outdated debian/examples file
-  * Added debian/install to copy sqlobject directory
+  * Added debian/install to copy sqlobject directory and sqlobject-admin
+    script
+  * Added debian/sqlobject-admin.1
+  * Added debian/manpages
   * debian/control
     - switched from python-central to python-support in Build-Depends
     - bump debhelper to 7.0.50~ in Build-Depends
@@ -16,7 +19,7 @@
   * debian/watch
     - updated the regex
 
- -- Carl Chenet <chaica at ohmytux.com>  Tue, 01 Jun 2010 00:06:16 +0200
+ -- Carl Chenet <chaica at ohmytux.com>  Thu, 03 Jun 2010 01:21:25 +0200
 
 sqlobject (0.12.2-1) unstable; urgency=low
 

Modified: packages/sqlobject/trunk/debian/control
===================================================================
--- packages/sqlobject/trunk/debian/control	2010-06-02 06:04:18 UTC (rev 13213)
+++ packages/sqlobject/trunk/debian/control	2010-06-02 23:21:56 UTC (rev 13214)
@@ -14,11 +14,9 @@
 Package: python-sqlobject
 Architecture: all
 Depends: ${python:Depends}, python-pkg-resources (>=0.6c8), python-formencode, ${misc:Depends}
-Replaces: python2.3-sqlobject, python2.4-sqlobject
-Conflicts: python2.3-sqlobject, python2.4-sqlobject
-Suggests: python-mysqldb, python-sqlite, python-psycopg, python-kinterbasdb, python-maxdb
+Suggests: python-mysqldb, python-sqlite, python-psycopg2, python-kinterbasdb, python-maxdb
 XB-Python-Version: ${python:Versions}
-Description: Python module for SQLObject
+Description: object relational manager providing an object interface to your database
  SQLObject is an object-relational mapper. It allows you to translate RDBMS
  table rows into Python objects, and manipulate those objects to transparently
  manipulate the database.

Modified: packages/sqlobject/trunk/debian/install
===================================================================
--- packages/sqlobject/trunk/debian/install	2010-06-02 06:04:18 UTC (rev 13213)
+++ packages/sqlobject/trunk/debian/install	2010-06-02 23:21:56 UTC (rev 13214)
@@ -1 +1,2 @@
 sqlobject/ usr/share/pyshared/
+scripts/sqlobject-admin usr/bin

Added: packages/sqlobject/trunk/debian/manpages
===================================================================
--- packages/sqlobject/trunk/debian/manpages	                        (rev 0)
+++ packages/sqlobject/trunk/debian/manpages	2010-06-02 23:21:56 UTC (rev 13214)
@@ -0,0 +1 @@
+debian/sqlobject-admin.1

Modified: packages/sqlobject/trunk/debian/preinst
===================================================================
--- packages/sqlobject/trunk/debian/preinst	2010-06-02 06:04:18 UTC (rev 13213)
+++ packages/sqlobject/trunk/debian/preinst	2010-06-02 23:21:56 UTC (rev 13214)
@@ -5,7 +5,7 @@
         pycentral pkgremove python-sqlobject
 
        for pyversion in 2.4 2.5; do
-           if [ -d /usr/lib/python$pyversion/site-packages/sqlobject-* ]; then
+           if [ -d /usr/lib/python$pyversion/site-packages/SQLObject-* ]; then
                rm -rf /usr/lib/python$pyversion/site-packages/sqlobject \
 /usr/lib/python$pyversion/site-packages/SQLObject-*
            fi

Added: packages/sqlobject/trunk/debian/sqlobject-admin.1
===================================================================
--- packages/sqlobject/trunk/debian/sqlobject-admin.1	                        (rev 0)
+++ packages/sqlobject/trunk/debian/sqlobject-admin.1	2010-06-02 23:21:56 UTC (rev 13214)
@@ -0,0 +1,131 @@
+'\" t
+.\"     Title: sqlobject-admin
+.\"    Author: [see the "AUTHORS" section]
+.\" Generator: DocBook XSL Stylesheets v1.75.1 <http://docbook.sf.net/>
+.\"      Date: 06/03/2010
+.\"  Language: English
+.\"
+.TH "SQLOBJECT\-ADMIN" "1" "06/03/2010"
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+sqlobject-admin \- manage your database as defined with SQLObject classes
+.SH "SYNOPSIS"
+.sp
+\fBsqlobject\-admin\fR [\fIoptions\fR] \fIcommand\fR
+.SH "DESCRIPTION"
+.sp
+The sqlobject\-admin tool included with SQLObject allows you to manage your database as defined with SQLObject classes\&.
+.sp
+Some of the features include creating tables, checking the status of the database, recording a version of a schema, and updating the database to match the version of the schema in your code\&.
+.SH "COMMANDS"
+.sp
+The following commands are recognized:
+.PP
+\fBhelp\fR
+.RS 4
+Show the help text\&.
+.RE
+.PP
+\fBcreate\fR
+.RS 4
+Find the tables and create them\&. Existing tables are simply skipped\&.
+.RE
+.PP
+\fBsql\fR
+.RS 4
+Show the SQL to create all the tables\&.
+.RE
+.PP
+\fBdrop\fR
+.RS 4
+Drop tables\&. Missing tables are skipped\&.
+.RE
+.PP
+\fBexecute\fR
+.RS 4
+Execute an arbitrary SQL expression\&.
+.RE
+.PP
+\fBlist\fR
+.RS 4
+List out all the found classes\&.
+.RE
+.PP
+\fBstatus\fR
+.RS 4
+Show if tables are present in the database\&.
+.RE
+.PP
+\fBrecord\fR
+.RS 4
+Record historical information about the database status
+.RE
+.PP
+\fBupgrade\fR
+.RS 4
+Update the database to a new version (as created by record)
+.RE
+.SH "OPTIONS"
+.PP
+\fB\-c\fR \fICONNECTION\fR\fB, \-\-connection\fR=\fICONNECTION\fR
+.RS 4
+Connection string for the database \&.
+.RE
+.PP
+\fB\-f\fR \fIFILENAME\fR\fB, \-\-config\-file=\fR\fIFILENAME\fR
+.RS 4
+Configuration file from which to get the connection to the database\&.
+.RE
+.PP
+\fB\-m\fR \fIMODULE\fR\fB, \-\-module=\fR\fIMODULE\fR
+.RS 4
+A module to look in for classes\&.
+.RE
+.PP
+\fB\-p\fR \fIPACKAGE\fR\fB, \-\-package=\fR\fIPACKAGE\fR
+.RS 4
+A package to look in\&.
+.RE
+.PP
+\fB\-\-class\fR=\fICLASSMATCH\fR
+.RS 4
+Restricting the found classes to the matching classes\&.
+.RE
+.PP
+\fB\-\-egg\fR=\fIEGG_SPEC\fR
+.RS 4
+Egg description that should be loaded\&.
+.RE
+.SH "AUTHORS"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+This manual page was written by Carl Chenet <chaica at ohmytux\&.com>\&.
+.fi
+.if n \{\
+.RE
+.\}
+.SH "LICENSE"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+This package is licensed under the GNU Lesser General Public License\&. You can
+find the full text of the LGPL in /usr/share/common\-licenses/LGPL in your
+Debian system\&.
+.fi
+.if n \{\
+.RE
+.\}




More information about the Python-modules-commits mailing list