Bug#1115895: server-refcard not in sync with server-control
On Sun, Sep 21, 2025 at 12:51:01PM -0700, Don Armstrong wrote:
> On Sun, 21 Sep 2025, Bill Allombert wrote:n
> > But we also need to go the other way, convert server-control.wml to
> > server-control.in.html...
>
> Yep. I'd personally suggest doing the modifications to the wml and then
> updating the debbugs source to match.
But,I do not have any modification to do to server-control.wml. Do you know
which modification have been made with respect to server-control.in.html ?
I join a patch to generate the list of tags in this file from the config.
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
>From 090615361b5cf3804659aaf20d84e6f6c3fe4c6c Mon Sep 17 00:00:00 2001
From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
Date: Wed, 24 Sep 2025 13:45:15 +0200
Subject: [PATCH] server-control: generate tag list from config
---
html/server-control.html.in | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/html/server-control.html.in b/html/server-control.html.in
index 95649cc..f5d5065 100644
--- a/html/server-control.html.in
+++ b/html/server-control.html.in
@@ -1,3 +1,4 @@
+$gTagList = join(", ", map {"<code>$_</code>"} @gTags);
$gControlHtml = <<HTML_END
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
@@ -260,12 +261,7 @@ mailservers is available via the WWW, in
tags 123456 = moreinfo unreproducible
</pre>
- <p>Available tags currently include <code>patch</code>, <code>wontfix</code>,
- <code>moreinfo</code>, <code>unreproducible</code>, <code>help</code>,
- <code>pending</code>, <code>fixed</code>, <code>security</code>,
- <code>upstream</code>, <code>potato</code>, <code>woody</code>,
- <code>sarge</code>,
- <code>sid</code> and <code>experimental</code>.
+ <p>The list of available tags is $gTagList.
<p>For <a href="Developer.html#tags">their meanings</a> please consult the
general developers' documentation for the $gBug system.
--
2.39.5
Reply to: