[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Help wanted for template improvements [Bug#805455]



Control: tags -1 help

Dear Debian-l10n-english people, dear Dan,

On 18-11-15 11:45, 積丹尼 Dan Jacobson wrote:
> Package: dbconfig-common
> Version: 1.8.57
> Severity: wishlist
> File: /var/lib/dpkg/info/dbconfig-common.templates
> 
> User is used to doing
> $BROWSER http://localhost/phpmyadmin/
> and seeing all his databases.
> 
> So upon
> # aptitude purge phpmyadmin
> user sees
> 
> Template: dbconfig-common/dbconfig-remove
> Type: boolean
> Default: true
> Description: Deconfigure database for ${pkg} with dbconfig-common?
>  Since you are removing ${pkg}, it's possible that you no longer
>  want the underlying database and the privileges for the user
>  associated with this package.
>  .
>  Please choose whether database removal and privilege revocation should be
>  handled with dbconfig-common.
>  .
>  If you choose this option, dbconfig-common will check if ${pkg} provided
>  scripts and database commands to undo package specific operations and run
>  them if they exist. Then it will ask if you want to purge the database and
>  revoke the standard privileges for the user of ${pkg}. If you don't want
>  any of this, or if you want to handle this manually, you should refuse
>  this option.
> 
> and the even more scary:
> 
> Template: dbconfig-common/purge
> Type: boolean
> Default: false
> Description: Purge the database for ${pkg}?
>  If you no longer need the database for ${pkg} and the privileges of
>  the database user of ${pkg}, you can choose to remove the database and
>  revoke the privileges now.
>  .
>  If you no longer have need of the data being stored by ${pkg}, you
>  should choose this option. If you want to keep this data,
>  or if you would rather handle this process manually, you should
>  refuse this option.
> 
> Whereupon user has a 1/10 suspicion that this just might mean sweeping
> away all his MySQL databases in addition to just the phpmyadmin MySQL
> database...
> 
> So maybe clarify via a listing right there, of what goes, and what
> stays, so he can scroll through it to get a better grasp of what is
> about to happen.

I acknowledge that if you are suspicious (and maybe also not a native
English reader) the text may not be perfect, although we already tried
hard in the past to make the text as clear as possible. I feel I can't
do better than we already did without making the text much longer than
it already is. (I don't think that making it longer is going to help).
Also, I don't think that creating a list is appropriate as not all
database types support it and there is only one database that is going
to be removed, the one associated with the package. Apart from that,
dbconfig-common has no knowledge of what is going to happen in the
maintainer scripts that it executes on behalf of the package.

So, if anybody has a good idea on how to improve the text, I am open for
it. However, I am not myself going to propose new text.

Paul
By the way, help with rephrasing other parts of the dbconfig-common
templates to solve bug 802941¹ is also more than welcome.

¹ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802941

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: