The branch, master has been updated via 1dae9fd86fb31f7b9ee3540ee4e104795562a643 (commit) via 1319ba55de0ff620adb9b6e83dd8120365473714 (commit) from 53dd297c4898930c867207c8d570c0f75b56e92f (commit)
- Log ----------------------------------------------------------------- commit 1dae9fd86fb31f7b9ee3540ee4e104795562a643 Author: Michal Čihař mcihar@novell.com Date: Wed Mar 2 14:58:39 2011 +0100
Do not list old releases on downloads page as there is too much of them.
commit 1319ba55de0ff620adb9b6e83dd8120365473714 Author: Michal Čihař mcihar@novell.com Date: Wed Mar 2 14:57:40 2011 +0100
Cope with 1.x releases
-----------------------------------------------------------------------
Summary of changes: render.py | 7 ++++++- templates/downloads.tpl | 8 ++------ 2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/render.py b/render.py index d612a74..ef6296a 100755 --- a/render.py +++ b/render.py @@ -227,7 +227,9 @@ class SFGenerator: ''' Returns description to the phpMyAdmin version. ''' - if version[:2] == '2.': + if version[:2] == '1.': + text ='Historical release.' + elif version[:2] == '2.': text ='Version compatible with PHP 4+ and MySQL 3+.' elif version[:2] == '3.': text = 'Version compatible with PHP 5 and MySQL 5.' @@ -425,6 +427,9 @@ class SFGenerator: for stable in outversions.keys(): version = releases[outversions[stable]]['version'] major_branch = MAJOR_BRANCH_REGEXP.match(version).group(1) + if major_branch == '1': + del outversions[stable] + continue for check in outversions.keys(): try: check_version = releases[outversions[check]]['version'] diff --git a/templates/downloads.tpl b/templates/downloads.tpl index ac7ae3a..c692300 100644 --- a/templates/downloads.tpl +++ b/templates/downloads.tpl @@ -70,15 +70,11 @@
<h2>Older Releases</h2> <p> - You can find some older releases on <a + You can find older releases on <a href="https://sourceforge.net/projects/phpmyadmin/files/">SourceForge - files page</a>. If you want to see other releases, you need to get them + files page</a>. You can also get them from our Git repository (check <a href="${base_url}improve.${file_ext}#devel">developer information</a> for instructions). </p> - <py:for each="release in releases_older"> - <h3>${release.fullname}</h3> - <xi:include href="_release.tpl" /> - </py:for>
<h2><a id="distributions"></a>Distributions</h2> <h3>Debian</h3>
hooks/post-receive