Features/OneClickInstall

= 1click Install =

Summary
1click install is very simple way to install packages.

In its backend, XML files are used. openSUSE introduced it, but their XML is not appropriate for Fedora, so I've change the format a bit, but I have no handler (I just have an idea, proposal).

Owner

 * JakubRusinek

Current status

 * Targeted release: N/A
 * Last updated: 2008-02-10
 * Percentage of completion: 0%

Example XML
  Livna Nonfree packages rpm.livna.org provides many useful packages that can not be distributed in Fedora (previously known as Fedora Core and Extras) for one reason or another, including multimedia applications such as xine and VideoLanClient, and video drivers for ATI and Nvidia cards: Why switch to the Livna-packaged drivers. http://rpm.livna.org/livna-release-$release.rpm http://rpm.livna.org/ gstreamer-plugins-ugly GStreamer Ugly Plugins Pack This codec pack provides ie. mp3 support to GStreamer-based apps such as Totem or Rhythmbox.

Defining XML elements

 * metapackage tag represents main tree
 * repositories tag represents repositories requires to install software
 * software tag represents software to install (few packages can be installed for the same program/etc)


 * repositories tree contains "repository" tags, which are trees too, but they contain the name, short summary, description, rpm with .repo file and url of repo


 * software contains "item"'s trees, which contain names, summarys and descriptions (no other info needed) and probably in future, when PackageKit will incorporate them - icons

This file format is very easy to edit even by hand, and even to parse with XML pqrser - code would be very intuitive.

Benefit to Fedora
Ease of software installation. Bringing more usability to users.

Test plan

 * Create handler for XML files.
 * Create XML file for package in some 3rd party repository.
 * Test handling XML file.

User expierience
openSUSE users, which have this feature already are satisfied.

From users point of view Linux Mint implementation of "one click install" is much better because on OpenSuse "one click install". On OpenSuse it is actually 6-7 clicks where on Linux Mint it is 2 clicks.

Dependency
Requires writing handler for XML files.

Contingency plan
Doing nothing.

Comments and Discussion
See Talk:Features/OneClickInstall