The current flow of our website does not allow easily advertising

that we will be soon entering the release cycle.  As such, we are
not able to easily link to the upcoming release schedule.html page
from the index page unless we already have BETA release builds on
the FTP mirrors.

Implement some evil to eliminate this limitation:

 - In share/xml/release.l10n.ent, move reusable text from the
   'helptest' header, and into a beta.helptest macro, and include
   the new macro in beta.desc.

 - Add a new entity, beta.local.where, which is ignored by default.
   When enabled in the schedule.xml for the upcoming release, it
   prints information about where to download the testing builds.

 - Add two new entities, beta.upcoming and beta2.upcoming, which
   are used in index.xsl, and when set, direct the URL to the
   upcoming release schedule.html page instead of directly to
   where.html.  With this change, we can advertise that a release
   cycle is about to start, and not need downloadable images yet.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2014-05-23 22:46:38 +00:00
parent 8f8512d2fb
commit 4f9a076331
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=44927
3 changed files with 44 additions and 14 deletions

View file

@ -83,13 +83,13 @@
href="&u.rel2.announce;">&rel2.current;</a>,
<a
href="&u.rel3.announce;">&rel3.current;</a></li>
<xsl:if test="'&beta.testing;' != 'IGNORE'">
<li>Upcoming: <a
href="&base;/where.html#helptest">&betarel.current;-&betarel.vers;</a></li>
<xsl:if test="'&beta.upcoming;' != 'IGNORE'">
<li>Upcoming:<br/><a
href="&u.betarel.schedule;">&betarel.current;-&betarel.vers;</a></li>
</xsl:if>
<xsl:if test="'&beta2.testing;' != 'IGNORE'">
<li>Upcoming: <a
href="&base;/where.html#helptest">&betarel2.current;-&betarel2.vers;</a></li>
<xsl:if test="'&beta2.upcoming;' != 'IGNORE'">
<li>Upcoming:<br/><a
href="&u.betarel2.schedule;">&betarel2.current;-&betarel2.vers;</a></li>
</xsl:if>
</ul>
</div> <!-- FRONTRELEASESCONTENT -->