Package: www.debian.org Severity: wishlist Tags: patch
Hi, currently with 10.0 released, we have the following at https://www.debian.org/releases/index.en.html: "The current stable distribution of Debian is version 10, codenamed buster. It was initially released as version 10 on July 6th, 2019 and its latest update, version 10.0, was released on July 6th, 2019." There is code in the relevant index.wml to display text like this: "The current stable distribution of Debian is version 10, codenamed buster. It was released on July 6th, 2019." That would be the correct phrase. But this code does not work, since it requires the entity <current_initial_release> to be set to "10.0" however it has "10" ATM. I have attached a patch, which changes the _initial_ entity to "10.0" and introduces a new entity to hold the "10" major release number, which is also required at another place of the page. Holger -- Holger Wansing <hwans...@mailbox.org> PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076
diff --git a/english/releases/index.wml b/english/releases/index.wml index 8242ed5a917..79ab2201ad4 100644 --- a/english/releases/index.wml +++ b/english/releases/index.wml @@ -18,7 +18,7 @@ three releases in active maintenance: <q>stable</q>, <q>testing</q> and </p> <p> The current <q>stable</q> distribution of Debian is version - <:=substr '<current_initial_release>', 0, 2:>, codenamed <em><current_release_name></em>. + <current_release_major_number>, codenamed <em><current_release_name></em>. <ifeq "<current_initial_release>" "<current_release>" "It was released on <current_release_date>." /> diff --git a/english/template/debian/release_info.wml b/english/template/debian/release_info.wml index 139ff3af212..0dfa1c05f52 100644 --- a/english/template/debian/release_info.wml +++ b/english/template/debian/release_info.wml @@ -7,7 +7,8 @@ <define-tag current_release><current_release_buster/></define-tag> <define-tag current_release_date><current_release_date_buster/></define-tag> -<define-tag current_initial_release>10</define-tag> +<define-tag current_release_major_number>10</define-tag> +<define-tag current_initial_release>10.0</define-tag> <define-tag current_initial_release_date><:=spokendate('2019-07-06'):></define-tag> <define-tag current_release_potato>2.2r7</define-tag>