Release info is not really correct
Hi all,
I noticed that release information at
https://www.debian.org/releases/index.en.html
has some glitch:
Quote:
"The current "stable" distribution of Debian is version 9, codenamed stretch.
It was initially released as version 9 on June 17th, 2017 and its latest update,
version 9.0, was released on June 17th, 2017. "
The logic for above paragraph is not working correctly, when the current
release is 9.0 (say no point release has happen).
Today with 9.0 being the actual release version, it should display:
"The current "stable" distribution of Debian is version 9, codenamed stretch.
It was released on June 17th, 2017. "
It seems that the implemented logic has never worked correctly (for the time
between x.0 and x.1 release).
I have attached a patch which would work.
Another approach would need one more entity which is probably not wanted,
since it makes the whole thing more and more complicated (entity-wise).
I can commit my proposal myself, if you want...
Holger
--
============================================================
Created with Sylpheed 3.5.0 under
D E B I A N L I N U X 8 . 0 " J E S S I E " .
Registered Linux User #311290 - https://linuxcounter.net/
============================================================
Index: english/releases/index.wml
===================================================================
RCS file: /cvs/webwml/webwml/english/releases/index.wml,v
retrieving revision 1.67
diff -u -r1.67 index.wml
--- english/releases/index.wml 18 Jun 2017 10:00:05 -0000 1.67
+++ english/releases/index.wml 27 Jun 2017 20:32:54 -0000
@@ -19,10 +19,10 @@
<p>
The current <q>stable</q> distribution of Debian is version
<:=substr '<current_initial_release>', 0, 1:>, codenamed <em><current_release_name></em>.
-<ifeq "<current_initial_release>" "<current_release>"
+<ifeq "9.0" "<current_release>"
"It was released on <current_release_date>."
/>
-<ifneq "<current_initial_release>" "<current_release>"
+<ifneq "9.0" "<current_release>"
"It was initially released as version <current_initial_release>
on <current_initial_release_date> and its latest
update, version <current_release>, was released on <current_release_date>."
Reply to: