Bug#427832: developers-reference: Should no longer discourage the use of "error" debconf templates

2007-06-06 Thread Christian Perrier
> > Patch attached. Please check the wording.
> Patch reversed; and,

Yes, sorry for that. Raphaƫl pointed this to me on IRC

> 
> > -It is recommended to use this type for any message that needs user 
> > attentionfor a correction of any kind.
> s/attention/& /

nice catch. Hastily written patches are never good but I was pointed
to that inconsistency while explaining to a maintainer why error
templates Are Good and first wanted to make sure that I don't forget
about sending the correction.




signature.asc
Description: Digital signature


Bug#427832: developers-reference: Should no longer discourage the use of "error" debconf templates

2007-06-06 Thread Justin Pryzby
On Wed, Jun 06, 2007 at 08:33:37PM +0200, Christian Perrier wrote:
> Package: developers-reference
> Version: 3.3.8
> Severity: normal
> Tags: patch
> 
> The Developer's Reference should no longer discourage the use of "error"
> debconf templates as these are supported since debconf 1.4.69 (pre-etch
> version).
> 
> This template type should even be encouraged when needing some special user
> attention.
> 
> Patch attached. Please check the wording.
Patch reversed; and,

> -It is recommended to use this type for any message that needs user 
> attentionfor a correction of any kind.
s/attention/& /


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



Bug#427832: developers-reference: Should no longer discourage the use of "error" debconf templates

2007-06-06 Thread Christian Perrier
Package: developers-reference
Version: 3.3.8
Severity: normal
Tags: patch

The Developer's Reference should no longer discourage the use of "error"
debconf templates as these are supported since debconf 1.4.69 (pre-etch
version).

This template type should even be encouraged when needing some special user
attention.

Patch attached. Please check the wording.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

developers-reference depends on no packages.

Versions of packages developers-reference recommends:
ii  debian-policy 3.7.2.2Debian Policy Manual and related d

-- no debconf information
--- developers-reference.sgml   2007-06-06 20:28:43.172100891 +0200
+++ developers-reference.sgml.old   2007-06-06 20:26:32.678380132 +0200
@@ -4383,12 +4383,17 @@
 
error:

-This type is designed to handle error messages. It is mostly similar to
+THIS TEMPLATE TYPE IS NOT HANDLED BY DEBCONF YET.
+   
+It has been added to cdebconf, the C version of debconf, first used in
+the Debian Installer.
+   
+Please do not use it unless debconf supports it.
+   
+This type is designed to handle error message. It is mostly similar to
 the "note" type. Frontends may present it differently (for instance,
 the dialog frontend of cdebconf draws a red screen instead of the
 usual blue one).
-   
-It is recommended to use this type for any message that needs user 
attentionfor a correction of any kind.
 
 
Description: short and extended description