[Pkg-privacy-commits] [tails-installer] 126/210: Merge remote-tracking branch 'origin/master' into feature/new-ui

Intrigeri intrigeri at moszumanska.debian.org
Wed May 24 15:26:37 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 b2d033b4ca3279b089c9239a38c65b37fc3441ae
Merge: 03f81a3 4f6f567
Author: Martin Briza <mbriza at redhat.com>
Date:   Tue Jul 28 16:43:05 2015 +0200

    Merge remote-tracking branch 'origin/master' into feature/new-ui
    
    Conflicts:
    	liveusb-creator.spec
    	liveusb/gui.py
    	liveusb/releases.py

 data/liveusb-creator.appdata.xml |   2 +-
 liveusb-creator                  |   2 +-
 liveusb-creator.spec             | 112 ++++++++++++++++++++-------------------
 liveusb/releases.py              |  94 +++++++++++---------------------
 setup.py                         |   2 +-
 5 files changed, 91 insertions(+), 121 deletions(-)

diff --cc liveusb-creator.spec
index cd03205,6fab7df..ed0fc7f
--- a/liveusb-creator.spec
+++ b/liveusb-creator.spec
@@@ -1,55 -1,300 +1,57 @@@
- 
- # -*- mode: python -*-
- from PyInstaller.hooks.hookutils import qt5_qml_data
- 
- def stripDebug(list):
-     for dll in list:
-         if dll[0].endswith("d.dll"):
-             for dll2 in list:
-                 if dll2 != dll and dll2[0].endswith(".dll") and dll[0][:-5] == dll2[0][:-4]:
-                     list.remove(dll)
-                     break
- 
- a = Analysis(['liveusb-creator'],
-              pathex=['Z:\\home\\mbriza\\upstream\\liveusb-creator'],
-              hiddenimports=[],
-              hookspath=None,
-              runtime_hooks=None)
- pyz = PYZ(a.pure)
- 
- #first get rid of the old qml files
- for data in a.datas:
-     if data[0].startswith("qml"):
-         a.datas.remove(data)
- 
- newqml = []
- newqml += Tree("C:\\Qt\\Qt5.4.1\\5.4\\mingw491_32\\qml\\QtQuick", prefix = 'QtQuick')
- newqml += Tree("C:\\Qt\\Qt5.4.1\\5.4\\mingw491_32\\qml\\QtQuick.2", prefix = 'QtQuick.2')
- newqml += Tree("C:\\Qt\\Qt5.4.1\\5.4\\mingw491_32\\qml\\QtQml", prefix = 'QtQml')
- 
- # there seems to be a bug somewhere leaving a bunch of libraries in the lists nevertheless, so let's run the cleanup thrice o\
- stripDebug(a.binaries)
- stripDebug(a.datas)
- stripDebug(newqml)
- stripDebug(a.binaries)
- stripDebug(a.datas)
- stripDebug(newqml)
- stripDebug(a.binaries)
- stripDebug(a.datas)
- stripDebug(newqml)
- 
- exe = EXE(pyz,
-           a.scripts,
-           exclude_binaries=True,
-           name='liveusb-creator.exe',
-           debug=False,
-           strip=False,
-           upx=True,
-           console=True )
- coll = COLLECT(exe,
-                a.binaries,
-                a.datas,
-                newqml,
-                strip=False,
-                upx=True,
-                name='liveusb-creator')
 -%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+ 
 -%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7)
 -%global with_desktop_vendor_tag 1
 -%else
 -%global with_desktop_vendor_tag 0
 -%endif
+ 
 -Name:           liveusb-creator
 -Version:        3.14.2
 -Release:        1%{?dist}
 -Summary:        A liveusb creator
++# -*- mode: python -*-
++from PyInstaller.hooks.hookutils import qt5_qml_data
++
++def stripDebug(list):
++    for dll in list:
++        if dll[0].endswith("d.dll"):
++            for dll2 in list:
++                if dll2 != dll and dll2[0].endswith(".dll") and dll[0][:-5] == dll2[0][:-4]:
++                    list.remove(dll)
++                    break
++
++a = Analysis(['liveusb-creator'],
++             pathex=['Z:\\home\\mbriza\\upstream\\liveusb-creator'],
++             hiddenimports=[],
++             hookspath=None,
++             runtime_hooks=None)
++pyz = PYZ(a.pure)
++
++#first get rid of the old qml files
++for data in a.datas:
++    if data[0].startswith("qml"):
++        a.datas.remove(data)
++
++newqml = []
++newqml += Tree("C:\\Qt\\Qt5.4.1\\5.4\\mingw491_32\\qml\\QtQuick", prefix = 'QtQuick')
++newqml += Tree("C:\\Qt\\Qt5.4.1\\5.4\\mingw491_32\\qml\\QtQuick.2", prefix = 'QtQuick.2')
++newqml += Tree("C:\\Qt\\Qt5.4.1\\5.4\\mingw491_32\\qml\\QtQml", prefix = 'QtQml')
++
++# there seems to be a bug somewhere leaving a bunch of libraries in the lists nevertheless, so let's run the cleanup thrice o\
++stripDebug(a.binaries)
++stripDebug(a.datas)
++stripDebug(newqml)
++stripDebug(a.binaries)
++stripDebug(a.datas)
++stripDebug(newqml)
++stripDebug(a.binaries)
++stripDebug(a.datas)
++stripDebug(newqml)
++
++exe = EXE(pyz,
++          a.scripts,
++          exclude_binaries=True,
++          name='liveusb-creator.exe',
++          debug=False,
++          strip=False,
++          upx=True,
++          console=True )
++coll = COLLECT(exe,
++               a.binaries,
++               a.datas,
++               newqml,
++               strip=False,
++               upx=True,
++               name='liveusb-creator')
+ 
 -Group:          Applications/System
 -License:        GPLv2
 -URL:            https://fedorahosted.org/liveusb-creator
 -Source0:        https://fedorahosted.org/releases/l/i/liveusb-creator/%{name}-%{version}.tar.bz2
 -BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 -
 -BuildArch:      noarch
 -ExcludeArch:    ppc
 -ExcludeArch:    ppc64
 -ExcludeArch:    %{arm}
 -
 -BuildRequires:  python-devel, python-setuptools, PyQt4-devel, desktop-file-utils gettext
 -
 -Requires:       syslinux
 -Requires:       PyQt4
 -Requires:       isomd5sum
 -Requires:       python-urlgrabber
 -Requires:       pyparted >= 2.0
 -Requires:       syslinux-extlinux
 -Requires:       udisks2
 -Requires:       polkit
 -Requires:       polkit-gnome
 -
 -%description
 -A liveusb creator from Live Fedora images
 -
 -%prep
 -%setup -q
 -
 -%build
 -%{__python} setup.py build
 -make mo
 -
 -%install
 -rm -rf %{buildroot}
 -%{__python} setup.py install -O1 --skip-build --root %{buildroot}
 -%{__rm} -r liveusb/urlgrabber
 -
 -# program needs root, move to sbin
 -mkdir -p %{buildroot}%{_sbindir}
 -mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name}
 -
 -# polkit stuff
 -mkdir -p %{buildroot}%{_datadir}/polkit-1/actions
 -%{__install} -p -m644 \
 -	org.fedoraproject.pkexec.run-liveusb-creator.policy \
 -	%{buildroot}%{_datadir}/polkit-1/actions/
 -%{__install} -p -m755 \
 -	liveusb-creator_polkit \
 -	%{buildroot}%{_bindir}/
 -
 -desktop-file-install \
 -%if %{with_desktop_vendor_tag}
 -  --vendor fedora \
 -%endif
 ---dir=%{buildroot}%{_datadir}/applications           \
 -%{buildroot}/%{_datadir}/applications/liveusb-creator.desktop
 -%if %{with_desktop_vendor_tag}
 -rm -rf %{buildroot}/%{_datadir}/applications/liveusb-creator.desktop
 -%endif
 -
 -%find_lang %{name}
 -
 -%clean
 -rm -rf %{buildroot}
 -
 -%files -f %{name}.lang
 -%defattr(-,root,root,-)
 -%doc README.rst LICENSE.txt
 -%{python_sitelib}/*
 -%{_bindir}/*
 -%{_sbindir}/*
 -%{_datadir}/applications/*liveusb-creator.desktop
 -%{_datadir}/pixmaps/fedorausb.png
 -%{_datadir}/appdata/%{name}.appdata.xml
 -#%{_datadir}/locale/*/LC_MESSAGES/liveusb-creator.mo
 -%{_datadir}/polkit-1/actions/org.fedoraproject.pkexec.run-liveusb-creator.policy
 -
 -%changelog
 -* Mon May 25 2015 Luke Macken <lmacken at redhat.com> - 3.14.0-1
 -- Patched to fix black window issue on F22 (#1212180)
 -
 -* Fri May 22 2015 Luke Macken <lmacken at redhat.com> - 3.14.0-1
 -- Require udisks2
 -
 -* Thu Nov 27 2014 Luke Macken <lmacken at redhat.com> - 3.13.1-1
 -- Latest upstream release
 -
 -* Thu Nov 27 2014 Gene Czarcinski <gczarcinski at gmail.com> 3.13.0-2
 -- convert to using polkit (pkexec) instead of consolehelper
 -
 -* Wed Nov 26 2014 Luke Macken <lmacken at redhat.com> - 3.13.0-1
 -- Latest upstream release with bug fixes and interface improvements.
 -
 -* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.12.1-2
 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 -
 -* Fri Feb 21 2014 Luke Macken <lmacken at redhat.com> 3.12.1-1
 -- Update to 3.12.1 with more translations
 -
 -* Wed Oct 16 2013 Luke Macken <lmacken at redhat.com> 3.12.0-1
 -- Update to 3.12.0
 -
 -* Wed Aug 14 2013 Luke Macken <lmacken at redhat.com> 3.11.8-6
 -- Fix the ExcludeArch for arm
 -
 -* Sat Aug 10 2013 Luke Macken <lmacken at redhat.com> 3.11.8-5
 -- Exclude building for armhfp, since syslinux is not available.
 -
 -* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.11.8-4
 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 -
 -* Wed Jun 26 2013 Adam Williamson <awilliam at redhat.com> - 3.11.8-3
 -- require usermode-gtk (or else it doesn't run from menus): #976415
 -
 -* Fri Apr 26 2013 Jon Ciesla <limburgher at gmail.com> - 3.11.8-2
 -- Drop desktop vendor tag.
 -
 -* Mon Apr 22 2013 Luke Macken <lmacken at redhat.com> - 3.11.8-1
 -- Update to 3.11.8
 -
 -* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.11.7-3
 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 -
 -* Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.11.7-2
 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 -
 -* Tue Jun 12 2012 Luke Macken <lmacken at redhat.com> - 3.11.7-1
 -- Update to 3.11.7
 -
 -* Mon Mar 19 2012 Luke Macken <lmacken at redhat.com> - 3.11.6-3
 -- Add an explicit udisks requirement (#796489)
 -
 -* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.11.6-2
 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 -
 -* Tue Nov 08 2011 Luke Macken <lmacken at redhat.com> - 3.11.6-1
 -- Update to 3.11.6
 -
 -* Wed Nov 02 2011 Luke Macken <lmacken at redhat.com> - 3.11.5-1
 -- Update to 3.11.5
 -
 -* Tue Jun 21 2011 Luke Macken <lmacken at redhat.com> - 3.11.4-1
 -- 3.11.4 bugfix release
 -
 -* Tue Jun 21 2011 Luke Macken <lmacken at redhat.com> - 3.11.3-1
 -- 3.11.3 bugfix release
 -
 -* Sun Jun 12 2011 Luke Macken <lmacken at redhat.com> - 3.11.2-1
 -- Fix traceback that occurs when extlinux is not installed (#712722)
 -
 -* Tue May 24 2011 Luke Macken <lmacken at redhat.com> - 3.11.1-1
 -- Bump to support downloading Fedora 15
 -
 -* Mon Apr 25 2011 Luke Macken <lmacken at redhat.com> - 3.11.0-1
 -- Latest upstream release
 -
 -* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.9.3-2
 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 -
 -* Mon Jan 10 2011 Luke Macken <lmacken at redhat.com> - 3.9.3-1
 -- Update to 3.9.3
 -- Require syslinux-extlinux (#664093, #665002)
 -
 -* Wed Jul 21 2010 David Malcolm <dmalcolm at redhat.com> - 3.9.2-2
 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
 -
 -* Tue Jun 15 2010 Luke Macken <lmacken at redhat.com> - 3.9.2-1
 -- 3.9.2
 -
 -* Tue Dec 08 2009 Luke Macken <lmacken at redhat.com> - 3.9.1-1
 -- 3.9.1 bugfix release
 -
 -* Tue Dec 01 2009 Luke Macken <lmacken at redhat.com> - 3.9-1
 -- 3.9 release
 -
 -* Tue Dec 01 2009 Luke Macken <lmacken at redhat.com> - 3.8.9-1
 -- 3.8.9, fixes bug #540255
 -
 -* Tue Dec 01 2009 Luke Macken <lmacken at redhat.com> - 3.8.8-1
 -- 3.8.8, bugfix release
 -
 -* Tue Nov 17 2009 Luke Macken <lmacken at redhat.com> - 3.8.7-1
 -- 3.8.7, containing the F12 release
 -
 -* Sat Nov 07 2009 Luke Macken <lmacken at redhat.com> - 3.8.6-1
 -- 3.8.6
 -
 -* Thu Aug 27 2009 Luke Macken <lmacken at redhat.com> - 3.7.3-1
 -- 3.7.3
 -
 -* Wed Aug 05 2009 Luke Macken <lmacken at redhat.com> - 3.7.2-1
 -- 3.7.2
 -
 -* Sat Jun 27 2009 Luke Macken <lmacken at redhat.com> - 3.7.1-1
 -- 3.7.1
 -
 -* Wed Jun 24 2009 Luke Macken <lmacken at redhat.com> - 3.7
 -- Latest upstream bugfix release
 -
 -* Fri Jun 12 2009 Luke Macken <lmacken at redhat.com> - 3.6.8-1
 -- Latest upstream bugfix release
 -
 -* Tue Jun 09 2009 Luke Macken <lmacken at redhat.com> - 3.6.7-1
 -- Fix a bug with ext formatted sticks
 -
 -* Tue Jun 09 2009 Luke Macken <lmacken at redhat.com> - 3.6.6-1
 -- Update to v3.6.6
 -- Merge the dcon-unfreeze patch upstream
 -- Add Fedora 11 to the release list
 -
 -* Wed May 20 2009 Christoph Wickert <cwickert at fedoraproject.org> - 3.6.5-3
 -- Make olpc.fth unfreeze disply for newer BIOSes than Q2E30 (#501688)
 -
 -* Thu Apr 09 2009 Luke Macken <lmacken at redhat.com> 3.6.5-2
 -- Fix the checksum verification to support sha256
 -
 -* Thu Apr 09 2009 Luke Macken <lmacken at redhat.com> 3.6.5-1
 -- Update to v3.6.5, which supports F11 beta, and the latest SoaS releases
 -
 -* Wed Mar 18 2009 Luke Macken <lmacken at redhat.com> 3.6.4-1
 -- Update to v3.6.4, which works with the PyParted 2.0 API
 -
 -* Thu Mar 12 2009 Luke Macken <lmacken at redhat.com> 3.6.3-1
 -- Update to v3.6.3
 -
 -* Mon Mar 09 2009 Luke Macken <lmacken at redhat.com> 3.6-1
 -- Require pyparted
 -- Update to v3.6
 -
 -* Fri Mar 06 2009 wwp <subscript at free.fr> 3.5-2
 -- Fix dd commands when output path contain whitespaces
 -
 -* Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> 3.5-3
 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 -
 -* Fri Jan 16 2009 Luke Macken <lmacken at redhat.com> 3.5-1
 -- Update to v3.5
 -
 -* Fri Jan 16 2009 Luke Macken <lmacken at redhat.com> 3.4-1
 -- Update to 3.4.
 -
 -* Fri Jan 16 2009 Luke Macken <lmacken at redhat.com> 3.3-2
 -- Require python-urlgrabber
 -
 -* Thu Jan 15 2009 Luke Macken <lmacken at redhat.com> 3.3-1
 -- Update to 3.3
 -
 -* Fri Jan 02 2009 Luke Macken <lmacken at redhat.com> 3.2-1
 -- Fixed some syslinux-related issues (#167)
 -- Fixed some windows-related logging problems (#337)
 -- Mitigate a DBus/HAL-related segfault by unmounting upon termination
 -
 -* Thu Jan 01 2009 Luke Macken <lmacken at redhat.com> 3.1-1
 -- Latest upstream release, containing some windows-specific
 -  optimizations and fixes.
 -
 -* Mon Dec 29 2008 Luke Macken <lmacken at redhat.com> 3.0-4
 -- Latest upstream release.
 -- Fedora 10 support
 -- Update to the latest sugar spin
 -- Lots of bug fixes and code improvements
 -- Improved OLPC support with the --xo flag
 -- Translation improvements
 -    - Greek translation (Nikos Charonitakis)
 -    - Slovak translation (Ondrej Sulek)
 -    - Catalan translation (Xavier Conde)
 -    - French translation (PabloMartin-Gomez)
 -    - Serbian (Milos Komarcevic)
 -    - Chinese (sainrysec)
 -
 -* Fri Oct 03 2008 Luke Macken <lmacken at redhat.com> 3.0-2
 -- Exclude ppc and ppc64, as syslinux will not work on those architectures.
 -
 -* Fri Aug 29 2008 Luke Macken <lmacken at redhat.com> 3.0-1
 -- Latest upstream release, containing various bugfixes
 -- Fedora 10 Beta support
 -- Brazilian Portuguese translation (Igor Pires Soares)
 -- Spanish translation (Domingo Becker)
 -- Malay translation (Sharuzzaman Ahmat Raslan)
 -- German Translation (Marcus Nitzschke, Fabian Affolter)
 -- Polish translation (Piotr Drąg)
 -- Portuguese translation (Valter Fukuoka)
 -- Czech translation (Adam Pribyl)
 -
 -* Tue Aug 12 2008 Kushal Das <kushal at fedoraproject.org> 2.7-1
 -- Initial release
diff --cc liveusb/releases.py
index e9c2ff0,d73071a..1c151e8
--- a/liveusb/releases.py
+++ b/liveusb/releases.py
@@@ -6,12 -4,7 +6,12 @@@ import tracebac
  from urlgrabber import urlread
  from urlgrabber.grabber import URLGrabError
  
 +from pyquery import pyquery
 +
 +from liveusb import _
 +from PyQt5.QtCore import QDateTime
 +
- BASE_URL = 'http://dl.fedoraproject.org'
+ BASE_URL = 'https://dl.fedoraproject.org'
  PUB_URL = BASE_URL + '/pub/fedora/linux/releases/'
  ALT_URL = BASE_URL + '/pub/alt/releases/'
  ARCHES = ('armhfp', 'x86_64', 'i686', 'i386')
@@@ -227,79 -41,235 +227,47 @@@ def get_fedora_releases()
                          continue
                      for link in re.findall(r'<a href="(.*)">', files):
                          if link.endswith('-CHECKSUM'):
 -                            print('Reading %s' % arch_url + link)
 +                            #print('Reading %s' % arch_url + link)
                              checksum = urlread(arch_url + link)
                              for line in checksum.split('\n'):
-                                 try:
-                                     sha256, filename = line.split()
-                                     if filename[0] != '*':
-                                         continue
-                                     filename = filename[1:]
-                                     name = filename.replace('.iso', '')
-                                     size = 0
-                                     variant = ''
-                                     version = ''
+                                 if release >= 22:
+                                     # SHA256 (filename) = checksum
+                                     if '=' in line:
+                                         try:
+                                             hash_type, filename, _, sha256 = line.split()
+                                             filename = filename[1:-1]
+                                             name = filename.replace('.iso', '')
+                                             fedora_releases.append(dict(
+                                                 name=name,
+                                                 url=arch_url + filename,
+                                                 sha256=sha256,
+                                             ))
+                                         except ValueError:
+                                             pass
+                                 else:
                                      try:
-                                         for file in files.split('\n'):
-                                             if file.find(filename) >= 0:
-                                                 match = re.search(r'.*?</a> +.*?  +([0-9.]+)([KMG]?)', file)
-                                                 size = float(match.group(1))
-                                                 if match.group(2) == 'G':
-                                                     size *= 1024 * 1024 * 1024
-                                                 if match.group(2) == 'M':
-                                                     size *= 1024 * 1024
-                                                 if match.group(2) == 'K':
-                                                     size *= 1024
-                                                 size = int(size)
-                                     except AttributeError:
+                                         sha256, filename = line.split()
+                                         if filename[0] != '*':
+                                             continue
+                                         filename = filename[1:]
+                                         name = filename.replace('.iso', '')
+                                         fedora_releases.append(dict(
+                                             name=name,
+                                             url=arch_url + filename,
+                                             sha256=sha256,
+                                         ))
+                                     except ValueError:
                                          pass
-                                     skip = False
-                                     live = False
-                                     netinst = False
-                                     for i, part in enumerate(name.split('-')):
-                                         if i == 1:
-                                             if part == 'Live':
-                                                 skip = True
-                                                 live = True
-                                             else:
-                                                 variant = part
-                                         if i == 2:
-                                             if part == 'netinst':
-                                                 skip = True
-                                                 netinst = True
-                                             elif part == 'DVD':
-                                                 skip = True
-                                             elif skip:
-                                                 variant = part
-                                             else:
-                                                 arch = part
-                                         if i == 3:
-                                             if skip:
-                                                 arch = part
-                                             else:
-                                                 version = part
-                                         if i == 4 and skip:
-                                             version = part
-                                     fedora_releases.append(dict(
-                                         fullName=name,
-                                         size=size,
-                                         variant=variant,
-                                         arch=arch,
-                                         version=version,
-                                         live=live,
-                                         netinst=netinst,
-                                         url=arch_url + filename,
-                                         sha256=sha256,
-                                     ))
-                                 except ValueError:
-                                     pass
          releases = fedora_releases
      except:
          traceback.print_exc()
      return releases
  
 -
  # A backup list of releases, just in case we can't fetch them.
 -fedora_releases = [
 - {'name': 'Fedora-Live-Workstation-x86_64-22-3',
 -  'sha256': '615abfc89709a46a078dd1d39638019aa66f62b0ff8325334f1af100551bb6cf',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Workstation/x86_64/iso/Fedora-Live-Workstation-x86_64-22-3.iso'},
 - {'name': 'Fedora-Workstation-netinst-x86_64-22',
 -  'sha256': 'c9d22e708b21336582b19b336b7063fc4b882be4cf96d4d0693de07bd66c25e8',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Workstation/x86_64/iso/Fedora-Workstation-netinst-x86_64-22.iso'},
 - {'name': 'Fedora-Live-Workstation-i686-22-3',
 -  'sha256': '6e4c47b582ece2b431ee95d6f453945d11e28c712f7619b178cb31979138f884',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Workstation/i386/iso/Fedora-Live-Workstation-i686-22-3.iso'},
 - {'name': 'Fedora-Workstation-netinst-i386-22',
 -  'sha256': 'f223182829022fbabb4321e6c21e43ec515d5446e17b340f6a87496e9b14a6f7',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Workstation/i386/iso/Fedora-Workstation-netinst-i386-22.iso'},
 - {'name': 'Fedora-Server-DVD-x86_64-22',
 -  'sha256': 'b2acfa7c7c6b5d2f51d3337600c2e52eeaa1a1084991181c28ca30343e52e0df',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Server/x86_64/iso/Fedora-Server-DVD-x86_64-22.iso'},
 - {'name': 'Fedora-Server-netinst-x86_64-22',
 -  'sha256': '9f1f2f19f75cc3b97da41878b5c86188fa8d27ed446bd97d9df615c137c77cfc',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Server/x86_64/iso/Fedora-Server-netinst-x86_64-22.iso'},
 - {'name': 'Fedora-Server-DVD-i386-22',
 -  'sha256': '5e3dfdff30667f3339d8b4e6ac0651c2e00c9417987848bef772cb92dbc823a5',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Server/i386/iso/Fedora-Server-DVD-i386-22.iso'},
 - {'name': 'Fedora-Server-netinst-i386-22',
 -  'sha256': '39df8a90c82ad62b1f1afe25bcb1fed7324179c9ba91d2278c72798721d3702f',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Server/i386/iso/Fedora-Server-netinst-i386-22.iso'},
 - {'name': 'Fedora-Live-KDE-x86_64-22-3',
 -  'sha256': '0ccfbe7a2233cff2496aee037e3320471eb4de42ada2e27018cf5ac7adc14fdd',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Live/x86_64/Fedora-Live-KDE-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-LXDE-x86_64-22-3',
 -  'sha256': '6a444fd233068e0ebebaed665453dd7238d1f7b8cc0930b7dd1c8a866ca0d90b',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Live/x86_64/Fedora-Live-LXDE-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-MATE_Compiz-x86_64-22-3',
 -  'sha256': '2bb1eb56d3cb0bd0f645fa3deac8489ea9cef1c6ca57115f87cfc5e2bd844175',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Live/x86_64/Fedora-Live-MATE_Compiz-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-SoaS-x86_64-22-3',
 -  'sha256': 'fc637d47f1590d3cc4f4ad2c725508238c40bdeb9b00dc1ecf1ea5e0f9093d41',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Live/x86_64/Fedora-Live-SoaS-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-Xfce-x86_64-22-3',
 -  'sha256': '08f1c79845b8e6a357aeeba42c7719db0d088d8dbf2df078b3202d2392b18949',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Live/x86_64/Fedora-Live-Xfce-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-KDE-i686-22-3',
 -  'sha256': 'de9b7f049b3c7c10101537e26f3ac9392ca0e9846c3e6bfd63d23f9e7ba8612d',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Live/i386/Fedora-Live-KDE-i686-22-3.iso'},
 - {'name': 'Fedora-Live-LXDE-i686-22-3',
 -  'sha256': '2301cd9b664fc97602152da8550c6876e70859362c24fc183cd16cd398cac0d6',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Live/i386/Fedora-Live-LXDE-i686-22-3.iso'},
 - {'name': 'Fedora-Live-MATE_Compiz-i686-22-3',
 -  'sha256': '3a1cb11c1d70d0a4c96f028ef59cf5dc3ae1379540556a8413430b85437ab527',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Live/i386/Fedora-Live-MATE_Compiz-i686-22-3.iso'},
 - {'name': 'Fedora-Live-SoaS-i686-22-3',
 -  'sha256': '2c9928cb0aa505e011938ede1105da201f3414e1d80787ac079067d0c503cd8f',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Live/i386/Fedora-Live-SoaS-i686-22-3.iso'},
 - {'name': 'Fedora-Live-Xfce-i686-22-3',
 -  'sha256': '4b76fe7db8ee2ad24499e84abfa6830b4f75f45b5772cfcc905ea928cb6852ae',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/22/Live/i386/Fedora-Live-Xfce-i686-22-3.iso'},
 - {'name': 'Fedora-Live-Design_suite-x86_64-22-3',
 -  'sha256': 'c59e48d7ff05424465e20790083049f774e49f0906554bdec36d419a3149f3ac',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/x86_64/Fedora-Live-Design_suite-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-Games-x86_64-22-3',
 -  'sha256': 'b412cba2accfa7150621609ef34c79a46417fb47322d7db64a548c765ffa2354',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/x86_64/Fedora-Live-Games-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-Jam_KDE-x86_64-22-3',
 -  'sha256': 'e7b376161a293a877d187a2cfab49c147810f8e56729d0a1530f02446499277b',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/x86_64/Fedora-Live-Jam_KDE-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-Robotics-x86_64-22-3',
 -  'sha256': '06e4d9144b4a5bc57b3fc97827eb18537faea2e6df887b444a5cbfa519a1ab27',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/x86_64/Fedora-Live-Robotics-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-Scientific_KDE-x86_64-22-3',
 -  'sha256': '060a54263da91160f50b30ea3a2bb96c92dca1c0766b9e7cc2dde6cfc3221335',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/x86_64/Fedora-Live-Scientific_KDE-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-Security-x86_64-22-3',
 -  'sha256': '52906c1767716098a059940d675a7ff7ba781b72e75924259effdbd426af72aa',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/x86_64/Fedora-Live-Security-x86_64-22-3.iso'},
 - {'name': 'Fedora-Live-Design_suite-i686-22-3',
 -  'sha256': '474d101a6fd30e6a8a91bb18a02996b93d96b71423eb1bd6d8e14334215c1f86',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/i386/Fedora-Live-Design_suite-i686-22-3.iso'},
 - {'name': 'Fedora-Live-Games-i686-22-3',
 -  'sha256': 'e4d318e193148756fcf61868f8d51a0a21ea347ea33c0af5da16a384d80a6dd8',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/i386/Fedora-Live-Games-i686-22-3.iso'},
 - {'name': 'Fedora-Live-Jam_KDE-i686-22-3',
 -  'sha256': '0026c11cb89f07df96c12d2a414418160963a39872e1faadc0d9bbd5e4c90aa2',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/i386/Fedora-Live-Jam_KDE-i686-22-3.iso'},
 - {'name': 'Fedora-Live-Robotics-i686-22-3',
 -  'sha256': '5d6afbed4dfaf822c1cd86ba8605a6e8ebced5aaf563063147c43ad6380559b0',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/i386/Fedora-Live-Robotics-i686-22-3.iso'},
 - {'name': 'Fedora-Live-Scientific_KDE-i686-22-3',
 -  'sha256': '286e48dafc6a8ba0f22a482e6ff4f00e71f62ab919858e95b58ce6117a7bc322',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/i386/Fedora-Live-Scientific_KDE-i686-22-3.iso'},
 - {'name': 'Fedora-Live-Security-i686-22-3',
 -  'sha256': 'acb327698c63cc2fa533d6ad1be122701c728927c690cfc21043a22276d3aa68',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/22/Spins/i386/Fedora-Live-Security-i686-22-3.iso'},
 - {'name': 'Fedora-Live-Workstation-x86_64-21-5',
 -  'sha256': '4b8418fa846f7dd00e982f3951853e1a4874a1fe023415ae27a5ee313fc98998',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Workstation/x86_64/iso/Fedora-Live-Workstation-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-Workstation-i686-21-5',
 -  'sha256': 'e0f189a0539a149ceb34cb2b28260db7780f348443b756904e6a250474953f69',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Workstation/i386/iso/Fedora-Live-Workstation-i686-21-5.iso'},
 - {'name': 'Fedora-Server-DVD-x86_64-21',
 -  'sha256': 'a6a2e83bb409d6b8ee3072ad07faac0a54d79c9ecbe3a40af91b773e2d843d8e',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/Fedora-Server-DVD-x86_64-21.iso'},
 - {'name': 'Fedora-Server-netinst-x86_64-21',
 -  'sha256': '56af126a50c227d779a200b414f68ea7bcf58e21c8035500cd21ba164f85b9b4',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/Fedora-Server-netinst-x86_64-21.iso'},
 - {'name': 'Fedora-Server-DVD-i386-21',
 -  'sha256': '85e50a8a938996522bf1605b3578a2d6680362c1aa963d0560d59c2e4fc795ef',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/i386/iso/Fedora-Server-DVD-i386-21.iso'},
 - {'name': 'Fedora-Server-netinst-i386-21',
 -  'sha256': 'a39648334cbf515633f4a70b405a8fbee2662d1e7d1ad686a6861d9e1667e86c',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Server/i386/iso/Fedora-Server-netinst-i386-21.iso'},
 - {'name': 'Fedora-Cloud-netinst-x86_64-21',
 -  'sha256': 'be73df48aed44aec7e995cf057d6b8cba7b58c78fb657eb8076376662ec5bd69',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/x86_64/iso/Fedora-Cloud-netinst-x86_64-21.iso'},
 - {'name': 'Fedora-Cloud-netinst-i386-21',
 -  'sha256': 'b3a169cb8f5b60cec0560d78f826b49384366f4a54434867d6bd90f590a6b9fc',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Cloud/i386/iso/Fedora-Cloud-netinst-i386-21.iso'},
 - {'name': 'Fedora-Live-KDE-x86_64-21-5',
 -  'sha256': '8459bca9e1005a0bb5ccba377f2908eda75e3ec89ae87f2a4a7b520f673f3b02',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Live/x86_64/Fedora-Live-KDE-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-LXDE-x86_64-21-5',
 -  'sha256': '55b7c71cdab30ad393dc45fe147a711064e41bb2a62a420025734a33d9b159b6',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Live/x86_64/Fedora-Live-LXDE-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-MATE_Compiz-x86_64-21-5',
 -  'sha256': 'b569c6b78566a365036650ff401984569b005827143a25b4b38a3d9e03d05e4c',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Live/x86_64/Fedora-Live-MATE_Compiz-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-SoaS-x86_64-21-5',
 -  'sha256': '0eb962a0666006f1f2bfcd013c01a09f79af773e9325679a68009a7ff5082ed9',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Live/x86_64/Fedora-Live-SoaS-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-Xfce-x86_64-21-5',
 -  'sha256': 'f264e9d43a7ce8eff70fb623954c5aafeb074bc0d182c7b5166c1b64ce1b66df',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Live/x86_64/Fedora-Live-Xfce-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-KDE-i686-21-5',
 -  'sha256': '3a16ee37c9795b6004f31d294af28591cea05ca97c92699fa725eec2352fac71',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Live/i386/Fedora-Live-KDE-i686-21-5.iso'},
 - {'name': 'Fedora-Live-LXDE-i686-21-5',
 -  'sha256': '306787c561b526372ed95c3cadb3ea5dce8d1c6e30fa501662f18651b43a3d34',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Live/i386/Fedora-Live-LXDE-i686-21-5.iso'},
 - {'name': 'Fedora-Live-MATE_Compiz-i686-21-5',
 -  'sha256': '7cb18731396aa1b364408f42f3795b3b6665f141b1be75e9cba4e4d89bb3c8ec',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Live/i386/Fedora-Live-MATE_Compiz-i686-21-5.iso'},
 - {'name': 'Fedora-Live-SoaS-i686-21-5',
 -  'sha256': '1b1b5d4a86e4e2779a4a6137e966fe561a4d694794e3fb60c9b55d71d11e1265',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Live/i386/Fedora-Live-SoaS-i686-21-5.iso'},
 - {'name': 'Fedora-Live-Xfce-i686-21-5',
 -  'sha256': 'cfed2432ce535f309bb439af3b02163b0251313ad77be725189395c137e2fe9d',
 -  'url': 'https://dl.fedoraproject.org/pub/fedora/linux/releases/21/Live/i386/Fedora-Live-Xfce-i686-21-5.iso'},
 - {'name': 'Fedora-Live-Design_suite-x86_64-21-5',
 -  'sha256': 'bc81fc61940243795207ea43fe73f280e56bdcd2c454306732e33e214165ef20',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/x86_64/Fedora-Live-Design_suite-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-Electronic_Lab-x86_64-21-5',
 -  'sha256': 'b054004b09aaaa2dd30472de705c956591fcaba17bc20f1eb61ac61bddd7167a',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/x86_64/Fedora-Live-Electronic_Lab-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-Games-x86_64-21-5',
 -  'sha256': 'c5fdcb86d36b896a7f6bfaa04287d78f4512ce1c832b31cf08a3d47018223a5e',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/x86_64/Fedora-Live-Games-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-Jam_KDE-x86_64-21-5',
 -  'sha256': 'def1f1c08cd1154d0c47900f4883c0efcd3b12f3f42e14cab8a3f40a10d41305',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/x86_64/Fedora-Live-Jam_KDE-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-Robotics-x86_64-21-5',
 -  'sha256': 'd0bdd7595b8980354ad594ebab9719e8b58bdff621cec39629f3836c99b3e54e',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/x86_64/Fedora-Live-Robotics-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-Scientific_KDE-x86_64-21-5',
 -  'sha256': 'a03ce7eba41d5a517eb5f4ddcd882e68363ffb1e9cce6f8153712a7b9e98eb5f',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/x86_64/Fedora-Live-Scientific_KDE-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-Security-x86_64-21-5',
 -  'sha256': '08d5e063d69889da9be6677f4d2e07c1ef5df9dcf10689e0f57bea9f974cb98b',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/x86_64/Fedora-Live-Security-x86_64-21-5.iso'},
 - {'name': 'Fedora-Live-Design_suite-i686-21-5',
 -  'sha256': '6ab0aff1888d054853c27fd57618a1dcfa7bfabd66c47268c6f6546474db2914',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/i386/Fedora-Live-Design_suite-i686-21-5.iso'},
 - {'name': 'Fedora-Live-Electronic_Lab-i686-21-5',
 -  'sha256': '212cb78b1146b06dff1207f231c3d278b4c75c7faff25c2347626f1ee942fd0d',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/i386/Fedora-Live-Electronic_Lab-i686-21-5.iso'},
 - {'name': 'Fedora-Live-Games-i686-21-5',
 -  'sha256': '6866989da6394daa63648084e345b160a5ea659bb3333ce8c19b1b4d92c29d98',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/i386/Fedora-Live-Games-i686-21-5.iso'},
 - {'name': 'Fedora-Live-Jam_KDE-i686-21-5',
 -  'sha256': '6f638a5fb437091886af144092b727cf4767a919b10d69d0b4b4f786e92497ed',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/i386/Fedora-Live-Jam_KDE-i686-21-5.iso'},
 - {'name': 'Fedora-Live-Robotics-i686-21-5',
 -  'sha256': '0814a39a185b66f237ed7ba8f4bc8fdd3a1fe345fec5d4376b5b38a0b28e7d22',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/i386/Fedora-Live-Robotics-i686-21-5.iso'},
 - {'name': 'Fedora-Live-Scientific_KDE-i686-21-5',
 -  'sha256': '4df33ad5350f5ad671ab82c9ed4681cf4240495921d173bafbcc8a5cd163492c',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/i386/Fedora-Live-Scientific_KDE-i686-21-5.iso'},
 - {'name': 'Fedora-Live-Security-i686-21-5',
 -  'sha256': 'bd40a188388f6074cd8258f55a0da1d72f19479c1aea2e68d96380c7f92d99e5',
 -  'url': 'https://dl.fedoraproject.org/pub/alt/releases/21/Spins/i386/Fedora-Live-Security-i686-21-5.iso'}
 -]
 +fedora_releases = [{'releaseDate': '', 'source': 'Local', 'name': u'Custom OS...', 'logo': 'qrc:/icon-folder.svg', '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': 'Workstation', 'logo': 'qrc:/logo-color-workstation.png', 'description': "<p>Fedora Workstation i [...]
  
- 
  releases = fedora_releases
+ 
+ if __name__ == '__main__':
+     import pprint
+     pprint.pprint(get_fedora_releases())

-- 
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