Changes/AppInstaller

From FedoraProject

< Changes
Revision as of 20:45, 8 July 2013 by Mclasen (Talk | contribs)

Jump to: navigation, search

Contents

Application Installer

Summary

We will replace the existing gnome-packagekit frontends (gpk-update-viewer and gpk-application) by a new application.

Owner

  • Name: Richard Hughes, together with the desktop team
  • Email: rhughes@redhat.com

Current status

  • Targeted release: Fedora 20
  • Last updated: 2013-07-08
  • Tracker bug: <will be assigned by the Wrangler>

Detailed Description

The current PackageKit frontends are focused on (surprise!) packages.

The new tool, tentatively named gnome-software, is designed from the beginning for installing applications. It will present applications with information that is relevant to users (screenshots, reviews, descriptions, ratings,...) instead of information that is relevant for packagers (dependencies, package size, file lists,...).

It will be possible to search and browse for available applications.

gnome-software will also be used to present information about available and installed updates. Notifications about available updates will launch gnome-software if the user chooses to see details. gnome-software will be fully integrated with 'offline updates' - if an update includes system packages, it will be done as an offline update, regardless whether it gets initiated from the gnome-shell menu, a notification, or the gnome-software UI.

To improve some problematic aspects of the updates user experience (long waits, locks), we will use the new hawkey backend for PackageKit.

Benefit to Fedora

Fedora gets an improved application installation experience.

The hawkey stack gets early testing exposure.

Scope

  • Proposal owners:
    • Implement minimal required functionality for application installation in gnome-software
    • Implement minimal required functionality for updates in gnome-software
    • Replace gpkg-update-viewer
    • Package gnome-software
    • Include a hawkey backend in PackageKit and use it
  • Other developers:
    • Use gnome-software instead of gpk-update-viewer when dealing with updates in gnome-settings-daemon, gnome-shell and gnome-control-center
  • Release engineering:
    • Make metadata available for packaged applications in Fedora (screenshots, icons, ratings,...). Not all of this needs to be in place for F20
  • Policies and guidelines:
    • No immediate changes needed; longer-term, we probably want to make changes to way applications are distributed and installed
    • The update experience will also benefit from proposed changes to batch updates

Upgrade/compatibility impact

This change should not have any impact on upgrades of existing installs.

How To Test

  • Test application installation:
    • Run gnome-software
    • Find an application that is not installed, e.g. the GIMP in the UI
    • Install it
    • Verify that it is easy to find the application in the UI, get relevant information about it before installing it, and install it
    • Check that the application is properly installed (can be launched from the commandline, as well as from the gnome-shell overview)
  • Test updates:
    • Launch gnome-software when updates are available
    • Check that the tool informs you about the available updates (system updates will be grouped)
    • Install the updates
    • Verify that the updates are properly installed (using the offline update mechanism when system updates are involved)
  • Test notifications:
    • Log into GNOME when security updates are available
    • Check that a notification informs you about the available security updates
    • Check that clicking 'View' starts gnome-software

User Experience

See https://wiki.gnome.org/Design/Apps/Software for some early mockups of how the user experience will look.

Dependencies

  • hawkey backend in PackageKit
  • gnome-shell and control-center currently launch gpk-update-viewer, they will be changed to launch gnome-software
  • Metadata for applications (icons, screenshots, ratings,...) will be required to fully implement the application installation experience

Contingency Plan

  • If the hawkey PackageKit backend or hawkey itself are not fully functional in F20, keep using the yum backend
  • If gnome-software is not available in Fedora, or does not have the minimal required functionality for application installation or software updates, keep using the existing gnome-packagekit UI for F20
  • If some of the metadata is not available, it will still be possible to install applications, but the experience will be degrated

Documentation

Release Notes

Fedora 20 includes a new application installer that replaces gnome-packagekit.