[Pkg-privacy-commits] [tails-installer] 183/210: Change the order of the front page releases

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:26:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to tag 3.90.0
in repository tails-installer.

commit 011297d721f02cd322145ba4843b0100905c711f
Author: Martin Briza <mbriza at redhat.com>
Date:   Thu Oct 22 15:43:37 2015 +0200

    Change the order of the front page releases
---
 liveusb/releases.py | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/liveusb/releases.py b/liveusb/releases.py
index 21a60ae..ba848bf 100644
--- a/liveusb/releases.py
+++ b/liveusb/releases.py
@@ -212,20 +212,21 @@ def getProducts(url='https://getfedora.org/'):
         productName = i('h4').html()
 
         if productName != "Cloud":
-            products.append(getProductDetails(productUrl, productName))
+            products.append(getProductDetails(productUrl, prductName))
 
     return products
 
 def get_fedora_flavors():
-    releases = [{'name': _('Custom OS...'),
-              'description': _('<p>Here you can choose a OS image from your hard drive to be written to your flash disk</p><p>Currently it is only supported to write raw disk images (.iso or .bin)</p>'),
-              'logo': 'qrc:/icon-folder.svg',
-              'screenshots': [],
-              'summary': _('Pick a file from your drive(s)'),
-              'releaseDate': '',
-              'source': 'Local',
-              'variants': {'': dict(url='', sha256='', size=0)}}]
+    releases = []
     releases += getProducts('https://getfedora.org/')
+    releases += [{'name': _('Custom OS...'),
+                  'description': _('<p>Here you can choose a OS image from your hard drive to be written to your flash disk</p><p>Currently it is only supported to write raw disk images (.iso or .bin)</p>'),
+                  'logo': 'qrc:/icon-folder.svg',
+                  'screenshots': [],
+                  'summary': _('Pick a file from your drive(s)'),
+                  'releaseDate': '',
+                  'source': 'Local',
+                  'variants': {'': dict(url='', sha256='', size=0)}}]
     releases += getSpins("http://spins.fedoraproject.org", "Spins")
     releases += getSpins("http://labs.fedoraproject.org", "Labs")
     return releases
@@ -299,9 +300,9 @@ def get_fedora_releases():
 
 # A backup list of releases, just in case we can't fetch them.
 fedora_releases = [
-{'releaseDate': '', 'source': 'Local', 'name': u'Custom OS...', 'logo': 'qrc:/icon_folder', 'variants': {'': {'url': '', 'sha256': '', 'size': 0}}, 'summary': u'Pick a file from your drive(s)', 'screenshots': [], 'description': u'Here you can choose a OS image from your hard drive to be written to your flash disk'},
 {'releaseDate': '', 'source': 'Workstation', 'name': 'Fedora Workstation', 'logo': 'qrc:/logo_workstation', 'description': "<p>Fedora Workstation is a reliable, user-friendly, and powerful operating system for your laptop or desktop computer. It supports a wide range of developers, from hobbyists and students to professionals in corporate environments.</p>\n        <blockquote><p>“The plethora of tools provided by  Fedora allows me to get the job done.  It just works.”</p>\n  [...]
 {'releaseDate': '', 'source': 'Server', 'name': 'Fedora Server', 'logo': 'qrc:/logo_server', 'description': "<blockquote><p>“The simplicity introduced with rolekit and cockpit have made server deployments a breeze. What took me a few days on other operating systems took less than an hour with Fedora 22 Server. It just works.”</p>\n            <p align=right> \xe2\x80\x95 <em>Dan Mossor, Systems Engineer</em></p></blockquote><p>Fedora Server is a powerful, flexible operating s [...]
+{'releaseDate': '', 'source': 'Local', 'name': u'Custom OS...', 'logo': 'qrc:/icon_folder', 'variants': {'': {'url': '', 'sha256': '', 'size': 0}}, 'summary': u'Pick a file from your drive(s)', 'screenshots': [], 'description': u'Here you can choose a OS image from your hard drive to be written to your flash disk'},
 {'releaseDate': '', 'source': '', 'name': 'Fedora Spins', 'logo': '', 'description': '', 'screenshots': '', 'variants': {'x86_64': {}, 'i686': {}, 'armv7hl': {}}, 'summary': 'Alternative desktops for Fedora'},
 {'releaseDate': '', 'source': 'Spins', 'name': 'Fedora KDE Plasma Desktop', 'logo': 'qrc:/logo_plasma', 'description': u'<p>The Fedora KDE Plasma Desktop Edition is a powerful Fedora-based operating system utilizing the KDE Plasma Desktop as the main user interface.</p><p>Fedora KDE Plasma Desktop comes with many pre-selected top quality applications that suit all modern desktop use cases - from online communication like web browsing, instant messaging and electronic mail correspondence, [...]
 {'releaseDate': '', 'source': 'Spins', 'name': 'Fedora Xfce Desktop', 'logo': 'qrc:/logo_xfce', 'description': u'<p>The Fedora Xfce spin showcases the Xfce desktop, which aims to be fast and lightweight, while still being visually appealing and user friendly.</p><p>Fedora Xfce is a full-fledged desktop using the freedesktop.org standard.</p>', 'screenshots': ['http://spins.fedoraproject.org/en/xfce/../static/images/screenshots/screenshot-xfce.jpg'], 'variants': {'x86_64': {'url': 'https: [...]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git



More information about the Pkg-privacy-commits mailing list