[Dbconfig-common-devel] dbconfig-common/debian TODO,1.5,1.6 changelog,1.7,1.8 dbconfig-common.postinst,1.2,1.3 dbconfig-common.templates,1.6,1.7

seanius@haydn.debian.org seanius@haydn.debian.org


Update of /cvsroot/dbconfig-common/dbconfig-common/debian
In directory haydn:/org/alioth.debian.org/chroot/home/users/seanius/tmp/cvs-serv26038/debian

Modified Files:
	TODO changelog dbconfig-common.postinst 
	dbconfig-common.templates 
Log Message:
big commit, this brings in all the latest code i've been working on.
support for postgresql is slightly more tested, and seems to work
on remote and local hosts.  more decisions still need to be made regarding
authentication/connections methods, but things have gotten stable enough
to make a new release before trudging onwards :)

	sean



Index: TODO
===================================================================
RCS file: /cvsroot/dbconfig-common/dbconfig-common/debian/TODO,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- TODO	30 Dec 2004 18:37:20 -0000	1.5
+++ TODO	25 Jan 2005 14:48:19 -0000	1.6
@@ -5,13 +5,13 @@
 - database support
   - mysql
     - installation
-      - does not honor alternate port setting (requires hacking wwwconfig)
-      - does not honor ssl setting (ditto)
+      - can't do ssl (see bug #291945)
+      - removing user issues
   - pgsql
     - installation
-      - haven't verified that it works on remote hosts
       - haven't verified that the script method works
       - support the various forms of pgsql authentication
+      - whatever new debconf templates we need
     - upgrading
       - haven't verified that the script method works
 
@@ -30,3 +30,6 @@
      
 - security related
   - don't send passwords on the cmdline (requires hacking/replacing wwwconfig)
+
+- unresolved issues
+  - mysql does not support ssl for the time being

Index: changelog
===================================================================
RCS file: /cvsroot/dbconfig-common/dbconfig-common/debian/changelog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- changelog	30 Dec 2004 18:37:20 -0000	1.7
+++ changelog	25 Jan 2005 14:48:19 -0000	1.8
@@ -1,3 +1,15 @@
+dbconfig-common (1.1) experimental; urgency=low
+
+  * huge re-write of internal db management code.  this fixes a lot
+    of things from the TODO that couldn't be done with dbconfig-common,
+    as well as addressing some security concerns presented (passing
+    passwords and other data on the cmdline).
+  * api change, so the major version number does as well.
+  * updated documentation for api changes
+  * german debconf translations, thanks to andreas tille.
+
+ -- sean finney <seanius@debian.org>  Wed, 19 Jan 2005 18:16:33 -0500
+
 dbconfig-common (0.9) experimental; urgency=low
 
   * we now support for packages that support multiple underlying
@@ -22,6 +34,7 @@
   * initial version of dbconfig-generate-include, for taking db
     configuration to generate code scriptlets (php, perl, et c) with
     the db configuration needed to use the database. 
+  * documentation updated to reflect changes
 
  -- sean finney <seanius@debian.org>  Fri, 24 Dec 2004 01:25:58 -0800
 

Index: dbconfig-common.postinst
===================================================================
RCS file: /cvsroot/dbconfig-common/dbconfig-common/debian/dbconfig-common.postinst,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dbconfig-common.postinst	30 Dec 2004 18:37:20 -0000	1.2
+++ dbconfig-common.postinst	25 Jan 2005 14:48:19 -0000	1.3
@@ -6,13 +6,14 @@
 
 # get some of our helper functions
 . /usr/share/dbconfig-common/dpkg/common
+dbc_config 
 
 db_get dbconfig-common/remember-admin-pass
-remember_admin_pass="$RET"
+dbc_remember_admin_pass="$RET"
 
 db_get dbconfig-common/remember-app-pass
-remember_app_pass="$RET"
+dbc_remember_app_pass="$RET"
 
-write_global_config
+dbc_write_global_config
 
 #DEBHELPER#

Index: dbconfig-common.templates
===================================================================
RCS file: /cvsroot/dbconfig-common/dbconfig-common/debian/dbconfig-common.templates,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- dbconfig-common.templates	30 Dec 2004 18:37:20 -0000	1.6
+++ dbconfig-common.templates	25 Jan 2005 14:48:19 -0000	1.7
@@ -152,7 +152,7 @@
 
 Template: dbconfig-common/mysql/method
 Type: select
-Choices: unix socket, tcp/ip, tcp/ip over ssl
+Choices: unix socket, tcp/ip
 Default: unix socket
 _Description: How should ${pkg} connect to its mysql database?
  By default, ${pkg} will be configured to use a mysql server
@@ -235,7 +235,7 @@
 
 Template: dbconfig-common/pgsql/method
 Type: select
-Choices: unix socket, tcp/ip, tcp/ip over ssl
+Choices: unix socket, tcp/ip
 Default: unix socket
 _Description: How should ${pkg} connect to its PostgreSQL database?
  By default, ${pkg} will be configured to use a PostgreSQL server