[Pkg-roundcube-maintainers] roundcube update script

Vincent Bernat bernat at debian.org
Sat Mar 14 09:24:49 UTC 2015


 ❦ 13 mars 2015 23:27 +0100, Sandro Knauß <bugs at sandroknauss.de> :

> I'll have stared now an idea how to upgrade the config files from prior 1.0 
> version. Because upstream has already a update script i thought it is a good 
> idea to extend this a little bit use the default config dir /etc/roundcube. 
> The attached patch added all the nessary parts to the update scripts so they 
> can be run for a debian installation.
>
> bin/update.sh
>
> Do you think this is a good way to go? Or are any concers against the upstream 
> update script.
>
> If you think this I a good idea I'll go further and integrate it in postinst 
> debhelper.

Hi Sandro!

Yes, it could work. It would be great that conffile management would not
be broken by that. Here are some test scenarios :

 1. Install Roundcube 0.9.5
 2. Install Roundcube 1.1, configuration gets converted (with or without
    Debconf question, don't try something too complex here)
 3. Install future version, configuration upgraded without question
    (because unmodified)

 1. Install Roundcube 0.9.5. Modify a configuration file.
 2. Install Roundcube 1.1, configuration gets converted (with Debconf
    question)
 3. Install future version, configuration upgraded with question
    (through ucf)

I mean, ucf should be able to handle future upgrades.

And I think that the upgrade script would be in preinst (it's easier,
because otherwise, you'll get the new conffiles in the way).

BTW, if you are interested in Roundcube maintainance in Debian, we can
put you in the team. Both of the current maintainers don't have time
right now.

Also, if you finally find the task too difficult, I am open to an half
upgrade: don't upgrade the existing configuration, point the users to
some link to explain they should upgrade by themselves. But, don't have
time to implement that myself.
-- 
Make it clear before you make it faster.
            - The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-roundcube-maintainers/attachments/20150314/ec902219/attachment.sig>


More information about the Pkg-roundcube-maintainers mailing list