Bug#363917: webcalendar: create automatically the database when using sql backend

2006-04-24 Thread Tim Peeler
On Fri, Apr 21, 2006 at 10:49:10PM +0200, Arnaud Fontaine wrote:
 Hello,
 
 I was talking about  doing the following command automatically (depeding
 on the backend used) :
 
 mysql -u foo -p  /usr/share/doc/webcalendar/sql/tables-mysql.sql
 
 I don't think this kind of things is already done, right ?
 
 Regards,
 Arnaud Fontaine
 

This is actually done by dbconfig-common, check
/usr/share/dbconfig-common/data/webcalendar/install/{mysql,pgsql}.  The
webcalendar/sql/tables-mysql.sql (and others) is provided so you can do a
manual install if you prefer.  dbconfig-common makes handling common
database install/maintanance relatively easy.

Tim

-- 
Timothy Peeler [EMAIL PROTECTED]
Senior Programmer, Systems Administrator
LinuxForce Inc. (http://www.LinuxForce.net)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#363917: webcalendar: create automatically the database when using sql backend

2006-04-24 Thread Arnaud Fontaine
Hello,

Thanks for your answer. I didn't know that.

Regards,
Arnaud Fontaine


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#363917: webcalendar: create automatically the database when using sql backend

2006-04-21 Thread Tim Peeler
On Thu, Apr 20, 2006 at 05:30:52PM +0200, Arnaud Fontaine wrote:
 Package: webcalendar
 Version: 1.0.2-2
 Severity: wishlist
 
 Hello,
 
 I wonder  if it could be  possible to automatically  create the database
 during  the   installation  and   after  the  debconf   questions  using
 /usr/share/webcalendar/sql/tables-* sql files if the user has decided to
 use the sql backend (pgsql or mysql).

The database is created and populated using dbconfig-common since 1.0.2-1


 
 Regards,
 Arnaud Fontaine
 
 
 -- System Information:
 Debian Release: testing/unstable
   APT prefers unstable
   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
 'experimental')
 Architecture: i386 (i686)
 Shell:  /bin/sh linked to /bin/bash
 Kernel: Linux 2.6.16.1-maggie
 Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
 
 Versions of packages webcalendar depends on:
 ii  apache [httpd]  1.3.34-2 versatile, high-performance HTTP 
 s
 ii  dbconfig-common 1.8.11   common framework for packaging 
 dat
 ii  debconf [debconf-2.0]   1.4.72   Debian configuration management 
 sy
 ii  php44:4.4.2-1server-side, HTML-embedded 
 scripti
 ii  php4-cli4:4.4.2-1+b1 command-line interpreter for the 
 p
 ii  php4-mysql  4:4.4.2-1+b1 MySQL module for php4 
 ii  ucf 2.008Update Configuration File: 
 preserv
 
 Versions of packages webcalendar recommends:
 ii  mysql-server5.0.20-1 mysql database server (current 
 ver
 ii  mysql-server-5.0 [mysql-ser 5.0.20-1 mysql database server binaries
 ii  php4-cli4:4.4.2-1+b1 command-line interpreter for the 
 p
 
 -- debconf information excluded
 

-- 
Timothy Peeler [EMAIL PROTECTED]
Senior Programmer, Systems Administrator
LinuxForce Inc. (http://www.LinuxForce.net)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#363917: webcalendar: create automatically the database when using sql backend

2006-04-21 Thread Arnaud Fontaine
Hello,

I was talking about  doing the following command automatically (depeding
on the backend used) :

mysql -u foo -p  /usr/share/doc/webcalendar/sql/tables-mysql.sql

I don't think this kind of things is already done, right ?

Regards,
Arnaud Fontaine


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#363917: webcalendar: create automatically the database when using sql backend

2006-04-20 Thread Arnaud Fontaine
Package: webcalendar
Version: 1.0.2-2
Severity: wishlist

Hello,

I wonder  if it could be  possible to automatically  create the database
during  the   installation  and   after  the  debconf   questions  using
/usr/share/webcalendar/sql/tables-* sql files if the user has decided to
use the sql backend (pgsql or mysql).

Regards,
Arnaud Fontaine


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.1-maggie
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages webcalendar depends on:
ii  apache [httpd]  1.3.34-2 versatile, high-performance HTTP s
ii  dbconfig-common 1.8.11   common framework for packaging dat
ii  debconf [debconf-2.0]   1.4.72   Debian configuration management sy
ii  php44:4.4.2-1server-side, HTML-embedded scripti
ii  php4-cli4:4.4.2-1+b1 command-line interpreter for the p
ii  php4-mysql  4:4.4.2-1+b1 MySQL module for php4 
ii  ucf 2.008Update Configuration File: preserv

Versions of packages webcalendar recommends:
ii  mysql-server5.0.20-1 mysql database server (current ver
ii  mysql-server-5.0 [mysql-ser 5.0.20-1 mysql database server binaries
ii  php4-cli4:4.4.2-1+b1 command-line interpreter for the p

-- debconf information excluded


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]