Bug#491919: qmail-src: Prompts should use debconf

2008-07-22 Thread Dominic Hargreaves
Package: qmail-src
Version: 1.03-45
Severity: important

Policy 3.9.1 suggests that user prompting should be done via debconf,
not directly to the terminal.

qmail's prerm (at least) prompts directly to the terminal, thus
presenting an unfamiliar interface to users.



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



Bug#491919: qmail-src: Prompts should use debconf

2008-07-22 Thread Jon Marler
Let's please not re-open that debacle.  I was informed that Debconf  
was specifically -*not*- to be used to preset information to users,  
and had one of those spray-and-pray bugs filed against the package.  I  
ripped all of it out because there was no other solution.  You can't  
show it in debconf, and you can't show it in the terminal.


Those messages are there strictly for informative purposes, and would  
violate policy if moved to debconf.  If you feel that strongly that  
they shouldn't be there, they will have to be removed entirely.


They only provide helpful guidance to an admin that may be  
accidentally attempting to remove qmail.  I will remove them in true  
Debian fashion if you don't see their value, or believe that their  
presence violates the rules.


Cheers!

Jon

On Jul 22, 2008, at 2:09 PM, Dominic Hargreaves wrote:


Package: qmail-src
Version: 1.03-45
Severity: important

Policy 3.9.1 suggests that user prompting should be done via debconf,
not directly to the terminal.

qmail's prerm (at least) prompts directly to the terminal, thus
presenting an unfamiliar interface to users.







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



Bug#491919: qmail-src: Prompts should use debconf

2008-07-22 Thread Dominic Hargreaves
On Tue, Jul 22, 2008 at 02:43:49PM -0500, Jon Marler wrote:
 Let's please not re-open that debacle.  I was informed that Debconf  
 was specifically -*not*- to be used to preset information to users,  
 and had one of those spray-and-pray bugs filed against the package.  I  
 ripped all of it out because there was no other solution.  You can't  
 show it in debconf, and you can't show it in the terminal.
 
 Those messages are there strictly for informative purposes, and would  
 violate policy if moved to debconf.  If you feel that strongly that  
 they shouldn't be there, they will have to be removed entirely.
 
 They only provide helpful guidance to an admin that may be  
 accidentally attempting to remove qmail.  I will remove them in true  
 Debian fashion if you don't see their value, or believe that their  
 presence violates the rules.

Maybe I'm confused, but you're prompting for user input and then doing
something as a result (and as part of the prompting you're giving the
user some information). This looks to me like it would be a
perfectly natural and uncontroversial use of Debconf.

[I'm talking in particular about the the prompt about removing qmail
even if messages are left in the queue.]

I don't feel particularly strongly about this though so if you think
otherwise, please feel free to close.

Dominic.

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)



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