Skip to contentSkip to conversation

Improve the download information on the website

PATCH New Thomas Huth 1 participant 5 messages Jun 16, 2021

lore
Share & tools
lore
#1 lore raw

PATCH 1/4 Show only the latest three releases on the website

In reply to Thomas Huth

The QEMU project is only maintaining the very latest releases, so this could be the current RC version, followed by the current stable release and maybe also still the previous stable release (in case there are severe bugs). But it does not make sense to show a fourth release that we very likely do not update anymore. Thus don't show the fourth release anymore to avoid that people still get the impression that we support it (and then report bugs in that old release that we do not maintain anymore).

---
 _includes/releases.html | 2 +-
 assets/css/style.css    | 4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)
_includes/releases.html +1 -1
index 2e95631..5600e10 100644
@@ -1,5 +1,5 @@
 <ul>
-{% for release in site.data.releases offset: 0 limit: 4 %}
+{% for release in site.data.releases offset: 0 limit: 3 %}
 <li><strong><a
   href="https://download.qemu.org/qemu-{{release.branch}}.{{release.patch}}.tar.xz">{{release.branch}}.{{release.patch}}</a></strong>
   {{release.date}}<br><a
assets/css/style.css +3 -1
index 7f018b4..6ee82c4 100644
@@ -477,13 +477,15 @@
 	#releases ul, #releases p
 	{
 		margin: 0em;
+		padding-left: 0.2em;
+		padding-right: 0.2em;
 	}
 
 	#releases ul > li
 	{
 		list-style: none;
 		display: inline-block;
-		width: 40%;
+		width: 30%;
 		margin: 1em 0em;
 	}
 
Signature · 1 line
2.27.0
#2 lore raw

PATCH 2/4 css: Improve the hover effect of the buttons

In reply to Thomas Huth

The hover effect of buttons was hardly visible since the color did not change much. Use a brighter color to make it clear that the button can be pressed.

Resolves: https://gitlab.com/qemu-project/qemu-web/-/issues/1

---
 assets/css/style.css | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
assets/css/style.css +1 -1
index 6ee82c4..bed0bf4 100644
@@ -304,7 +304,7 @@
 
 	.button:hover
 	{
-		background: #F01111;
+		background: #F68811;
 		text-decoration: none;
 	}
 
Signature · 1 line
2.27.0
#0 lore raw

cover Improve the download information on the website

Make it more clear that QEMU only supports the latest versions, improve the color of a button, and put the emphasis on the source code tarballs.

Thomas Huth (4):
Show only the latest three releases on the website
css: Improve the hover effect of the buttons
State that there is no official support for older releases Present the source code on the first tab of the download page

 _includes/releases.html |  2 +-
 assets/css/style.css    |  6 ++++--
 download.html           | 15 ++++++++-------
 support.md              |  3 ++-
 4 files changed, 15 insertions(+), 11 deletions(-)
Signature · 1 line
2.27.0
#4 lore raw

PATCH 4/4 Present the source code on the first tab of the download page

The QEMU project provides the source code of QEMU, and not any binaries. So most people will come here for downloading the latest version of the source code and not for getting instructions on how to install the pre-packaged QEMU of their favourite distribution. Thus let's put the information about the source code first.

---
 download.html | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
download.html +8 -7
index e3fc789..a2e4187 100644
@@ -5,12 +5,19 @@ permalink: /download/
 
 <div class="horiz-menu">
 <ul style="display: none;">
+<li><a href="#source">Source code</a></li>
 <li><a href="#linux">Linux</a></li>
 <li><a href="#macos">macOS</a></li>
 <li><a href="#windows">Windows</a></li>
-<li><a href="#source">Source code</a></li>
 </ul>
 
+<article id="source" class="active">
+	<header>
+	<h2>Source code</h2>
+	</header>
+	{% include_relative _download/source.html %}
+</article>
+
 <article id="linux" class="active">
 	<header>
 	<h2>Linux</h2>
@@ -32,12 +39,6 @@ permalink: /download/
 	{% markdown_relative _download/windows.md %}
 </article>
 
-<article id="source" class="active">
-	<header>
-	<h2>Source code</h2>
-	</header>
-	{% include_relative _download/source.html %}
-</article>
 </div>
 
 <h2>Version numbering</h2>
Signature · 1 line
2.27.0
#3 lore raw

PATCH 3/4 State that there is no official support for older releases

In reply to Thomas Huth

Looking at some new tickets in the bug tracker, some people still seem to expect support for older releases. Let's make it a little bit more clear that the QEMU project only focuses on the very latest version.

---
 support.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
support.md +2 -1
index b622362..82f7af1 100644
@@ -13,7 +13,8 @@ through your distribution's support channels. This includes questions
 about a specifically packaged version of QEMU. The QEMU developers are
 generally concerned with the latest release and the current state of
 the [master branch](https://gitlab.com/qemu-project/qemu) and do not
-provide support for QEMU binaries shipped by Linux distributions.
+provide support for older releases or QEMU binaries shipped by third
+party distributions.
 
 Questions about complex configurations of networking and storage are
 usually met with a recommendation to use management tools like
Signature · 1 line
2.27.0