Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#560411: debian-policy: Document debconf's SETTITLE command in the debconf-spec

1 view
Skip to first unread message

Frans Pop

unread,
Dec 10, 2009, 6:20:02 PM12/10/09
to
Package: debian-policy
Version: 3.8.3.0
Severity: wishlist
Tags: patch
X-Debbugs-CC: deb...@packages.debian.org

Attached a patch to document the SETTITLE command in the debconf policy.
Inclusion of this command should not pose any problems as it has been
supported since 1993 (debconf version 1.3.22).


debconf_spec.patch

Russ Allbery

unread,
Jun 4, 2010, 2:10:01 AM6/4/10
to
Frans Pop <ele...@planet.nl> writes:

> Attached a patch to document the SETTITLE command in the debconf policy.
> Inclusion of this command should not pose any problems as it has been
> supported since 1993 (debconf version 1.3.22).

Seconded (belatedly).

> diff -ur debian-policy.orig/debconf_spec/debconf_specification.xml debian-policy/debconf_spec/debconf_specification.xml
> --- debian-policy.orig/debconf_spec/debconf_specification.xml 2009-08-16 02:19:11.000000000 +0200
> +++ debian-policy/debconf_spec/debconf_specification.xml 2009-12-10 23:58:22.000000000 +0100
> @@ -10,8 +10,8 @@
>
> <articleinfo>
> <title>Configuration management</title>
> - <subtitle>Protocol version 2</subtitle>
> - <releaseinfo>Revision 7.0</releaseinfo>
> + <subtitle>Protocol version 2.1</subtitle>
> + <releaseinfo>Revision 7.1</releaseinfo>
> <author>
> <firstname>
> Wichert
> diff -ur debian-policy.orig/debconf_spec/include/commands.xml debian-policy/debconf_spec/include/commands.xml
> --- debian-policy.orig/debconf_spec/include/commands.xml 2009-08-16 02:19:11.000000000 +0200
> +++ debian-policy/debconf_spec/include/commands.xml 2009-12-10 23:58:22.000000000 +0100
> @@ -6,7 +6,7 @@
> <para>
> This exchanges with the frontend the protocol version
> number that is being used. The current version is
> - 2.0. Versions in the 2.x series will be
> + 2.1. Versions in the 2.x series will be
> backwards-compatible. You may specify the protocol version
> number you are speaking. The frontend will return the version
> of the protocol it speaks. If the version you specify is too
> @@ -53,10 +53,10 @@
> </table>
> </para>
> </listitem>
> -<listitem id="command_title">
> +<listitem id="command_settitle">
> <para>
> - TITLE
> - <parameter>string</parameter>
> + SETTITLE
> + <parameter>template</parameter>
> </para>
> <para>
> You can use this command to set a title in the
> @@ -65,6 +65,22 @@
> of the frontend's window. If you don't specify anything, a
> title will automatically be generated.
> </para>
> + <para>
> + Using a template has the advantage that titles are translatable
> + and that they can be maintained in the same place as other text
> + displayed to users.
> + </para>
> +</listitem>
> +<listitem id="command_title">
> + <para>
> + TITLE
> + <parameter>string</parameter>
> + </para>
> + <para>
> + Similar to SETTITLE, but takes a string instead of a template as
> + parameter. Consequence is that the title will not be translatable,
> + unless some other mechanism (like gettext) is used.
> + </para>
> </listitem>
> <listitem id="command_stop">
> <para>
> diff -ur debian-policy.orig/debconf_spec/include/types.xml debian-policy/debconf_spec/include/types.xml
> --- debian-policy.orig/debconf_spec/include/types.xml 2009-08-16 02:19:11.000000000 +0200
> +++ debian-policy/debconf_spec/include/types.xml 2009-12-10 23:58:22.000000000 +0100
> @@ -69,6 +69,13 @@
> as is possible.
> </entry>
> </row>
> + <row>
> + <entry>title</entry>
> + <entry>
> + Holds a (short) string that can be displayed using the SETTITLE
> + command. Only the value of the short description will be used.
> + </entry>
> + </row>
> </tbody>
> </tgroup>
> </table>

--
Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/>

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Russ Allbery

unread,
Jun 21, 2010, 12:40:02 PM6/21/10
to
Frans Pop <ele...@planet.nl> writes:

> Attached a patch to document the SETTITLE command in the debconf policy.
> Inclusion of this command should not pose any problems as it has been
> supported since 1993 (debconf version 1.3.22).

This has been merged for the next release.

0 new messages