From Fedora Project Wiki

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%

Detailed description

Example XML

<metapackage xmlns:os="http://fedoraproject.org/wiki/JakubRusinek/1clickInstall" xmlns="http://fedoraproject.org/wiki/JakubRusinek/1clickInstall">
<repositories>
<repository recommended="true">
<name>Livna</name>
<summary>Nonfree packages</summary>
<description>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.</description>
<rpm>http://rpm.livna.org/livna-release-$release.rpm</rpm>
<url>http://rpm.livna.org/</url>
</repository>
</repositories>
<software>
<item>
<name>gstreamer-plugins-ugly</name>
<summary>GStreamer Ugly Plugins Pack</summary>
<description>This codec pack provides ie. mp3 support to GStreamer-based apps such as Totem or Rhythmbox.</description>
</item>
</software>
</metapackage>

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.

Scope

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.

Release notes

Comments and Discussion

See Talk:Features/OneClickInstall