[Python-apps-commits] r11512 - in packages/fookebox/trunk/debian (3 files)

cockroach-guest at users.alioth.debian.org cockroach-guest at users.alioth.debian.org
Sun Nov 2 05:30:15 UTC 2014


    Date: Sunday, November 2, 2014 @ 05:30:14
  Author: cockroach-guest
Revision: 11512

Removed create-database.py script

Modified:
  packages/fookebox/trunk/debian/changelog
  packages/fookebox/trunk/debian/install
Deleted:
  packages/fookebox/trunk/debian/create-database.py

Modified: packages/fookebox/trunk/debian/changelog
===================================================================
--- packages/fookebox/trunk/debian/changelog	2014-11-02 05:27:58 UTC (rev 11511)
+++ packages/fookebox/trunk/debian/changelog	2014-11-02 05:30:14 UTC (rev 11512)
@@ -6,6 +6,7 @@
     - Depend on libjs-jquery and libjs-jquery-ui
     - Dropped python-sqlalchemy dependency
   * debian/postinst: Do not create the status database anymore
+  * Removed create-database.py script
   * Updated 01_javascript-urls.patch
   * Updated apache configuration files to work with apache 2.4
   * Ask for database removal on upgrade

Deleted: packages/fookebox/trunk/debian/create-database.py
===================================================================
--- packages/fookebox/trunk/debian/create-database.py	2014-11-02 05:27:58 UTC (rev 11511)
+++ packages/fookebox/trunk/debian/create-database.py	2014-11-02 05:30:14 UTC (rev 11512)
@@ -1,14 +0,0 @@
-#!/usr/bin/env python
-from sqlalchemy import *
-
-engine = create_engine('sqlite:////var/lib/fookebox/fookebox.sqlite')
-metadata = MetaData()
-
-events = Table('Events', metadata,
-		Column('id', Integer, primary_key=True),
-		Column('index', Integer),
-		Column('type', Integer, nullable=False),
-		Column('name', String(100), nullable=False),
-		Column('time', Time, nullable=False))
-
-metadata.create_all(engine)

Modified: packages/fookebox/trunk/debian/install
===================================================================
--- packages/fookebox/trunk/debian/install	2014-11-02 05:27:58 UTC (rev 11511)
+++ packages/fookebox/trunk/debian/install	2014-11-02 05:30:14 UTC (rev 11512)
@@ -1,3 +1,2 @@
 debian/conf/* /etc/fookebox/
 fookebox/i18n/* usr/share/locale/
-debian/create-database.py usr/share/fookebox/




More information about the Python-apps-commits mailing list