[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#922553: Make link to the last release point announcement in the index page of each release

Package: www.debian.org
User: www.debian.org@packages.debian.org
Usertag: scripts
Severity: normal

Dear all

Currently we have this kind of code in /english/releases/*/index.wml
(and translations):

<p>Debian <current_release_stretch> was
released <current_release_date_stretch>.
<ifneq "9.0" "<current_release>"
  "Debian 9.0 was initially released on <:=spokendate('2017-06-17'):>."
The release included many major
changes, described in
our <a href="$(HOME)/News/2017/20170617">press release</a> and
the <a href="releasenotes">Release Notes</a>.</p>

It would be nice if, apart of linking to the announcement of the initial
release, the announcement to the last point release of each release is
also linked.

I'm attaching a patch for stretch, as an example of what I mean.
If we like it, we would add the tags for each release in
release_info.wml template and update each release index.wml file (and
translations, if possible).

Kind regards
Laura Arjona Reina
diff --git a/english/releases/stretch/index.wml b/english/releases/stretch/index.wml
index 887daf77b95..af0f78937f9 100644
--- a/english/releases/stretch/index.wml
+++ b/english/releases/stretch/index.wml
@@ -6,7 +6,9 @@
 <if-stable-release release="stretch">
 <p>Debian <current_release_stretch> was
-released <current_release_date_stretch>.
+released on <a href="$(HOME)/News/<current_release_newsurl_stretch/>"><current_release_date_stretch></a>.
 <ifneq "9.0" "<current_release>"
   "Debian 9.0 was initially released on <:=spokendate('2017-06-17'):>."
diff --git a/english/template/debian/release_info.wml b/english/template/debian/release_info.wml
index 55f6de018f0..fe41e58cf55 100644
--- a/english/template/debian/release_info.wml
+++ b/english/template/debian/release_info.wml
@@ -28,6 +28,7 @@
 <define-tag current_release_date_jessie><:=spokendate('2018-06-23'):></define-tag>
 <define-tag current_release_stretch>9.8</define-tag>
 <define-tag current_release_date_stretch><:=spokendate('2019-02-16'):></define-tag>
+<define-tag current_release_newsurl_stretch>2019/20190216</define-tag>
 <define-tag current_release_buster>10.0</define-tag>
 <define-tag current_release_date_buster>TBA</define-tag>

Reply to: