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

Laura Arjona Reina <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <a3cd377f-0d3a-ff8b-2b80-f158b78e2acf__32986.6868139774$1550450726$gmane$org@debian.org>
Package: www.debian.org
User: [email protected]
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
https://wiki.debian.org/LauraArjona
release_point_url_stretch.diff (text/x-patch, 1.2 KB)
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>.
+</p>
+<p>
 <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>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.