[Pkg-roundcube-maintainers] Bug#612511: roundcube-pgsql: no clear database upgrade path for postgresql databases from previous versions of roundcube

Vincent Bernat bernat at debian.org
Tue Feb 8 21:46:44 UTC 2011


OoO En cette  soirée bien amorcée du mardi 08  février 2011, vers 22:38,
Daniel Kahn Gillmor <dkg at fifthhorseman.net> disait :

> /usr/share/doc/roundcube-core/UPGRADING suggests either running
> ./bin/update.sh or executing commands in ./SQL/[yourdbtype].update.sql
> that are superscribed with the currently installed version number.

> the roundcube packages do not appear to ship either of these files,
> which means that to upgrade from the 0.3.1 package to 0.5.x packages
> requires finding the upstream source and picking the commands out of
> there.

> it'd be nice to at least include the relevant SQL files in
> /usr/share/doc/roundcube-{pgsql,mysql,sqlite}/

> i haven't lookd into whether including the update.sh script makes any
> sense from debian's point of view.

> Thanks for keeping roundcube in debian.

The normal  way is to use  dbconfig-common. There is  a debconf question
that asks if the user wants  to use dbconfig-common. If yes, the upgrade
is automatic.

However,  this is  optional and  the package  may contain  some fallback
instructions.  The SQL files to use are in:
 /usr/share/dbconfig-common/data/roundcube
-- 
BOFH excuse #308:
CD-ROM server needs recalibration
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20110208/039db00c/attachment.pgp>


More information about the Pkg-roundcube-maintainers mailing list