KubuntuGutsyAdept

Differences between revisions 3 and 4
Revision 3 as of 2007-05-10 14:17:22
Size: 3282
Editor: 195
Comment:
Revision 4 as of 2007-05-11 11:45:32
Size: 4135
Editor: 195
Comment:
Deletions are marked like this. Additions are marked like this.
Line 63: Line 63:
Adept-batch needs a mode to add cdrom to sources.list. adept-notifier should offer this if a CD with packages is inserted. It should then start Adept.
Line 64: Line 65:
==== Dist upgrader CD ====
Line 65: Line 67:
If the CD contains a dist upgrade tool (i.e. a new version of Kubuntu), adept-notifier should offer to run this tool.
Line 66: Line 69:
==== Addon CD ====
Line 67: Line 71:
An addon CD such as the second Edubuntu CD should use Adept Installer in a mode for installing the .desktop files listed on the CD. This should be implemented the same as for gnome-app-install as specified at https://wiki.kubuntu.org/EdubuntuOnTwoCDs "CD image work".
Line 68: Line 73:
# 2 - dist-upgrader CD
# 3 - addon CD
=== Konqueror mime-types ===

Offer to install apps for missing mime types. Patch konqueror to run adept-batch.
...how?

=== Version Locking ===

See https://blueprints.launchpad.net/ubuntu/+spec/kubuntu-adept-version-locking

=== Notifications ===

Notifications in adept-notifier. Woo!

Please check the status of this specification in Launchpad before editing it. If it is Approved, contact the Assignee or another knowledgeable person before making changes.

Summary

Changes to be made to Adept in Gutsy

Rationale

Adept lacks some features available in Ubuntu.

Use Cases

Oliver wants to install packages from an addon CD in Kubuntu. He inserts the CD and follows the GUI prompts.

Michael wants to install vmware-server from Adept Installer, he ticks the box and agrees to the use of commercial archives and gets it installed.

Scope

Filling in missing functionality. No UI changes or platform (KDE/Qt 4) changes.

Design

Autoremoves

Adept does not currently support autoremove. This is because it has a forked version of the dpkgpm.cc source file. We need to merge in the autoremove changes in the original version of this file in dpkg to add this feature to Adept.

Adept Installer

We will add emblem support to Adept Installer to match that in gnome-app-install. <where are these?>

Adept Installer should make use of the popularity data in the application .desktop files it reads. Add the ranking to the package description pane with up to 5 stars highlighted depending on the popularity, using the same algorithm as used in gnome-app-install but biased towards KDE apps over non-KDE apps.

Adept Installer also needs to support commercial packages. Make it depend on app-install-data-commercial to being in the packages list. It also needs to support adding the archive if commercial is not already supported, this is done by copying the file from /usr/share/app-install/channels pointed to in the .desktop file to /etc/apt/sources.d and updating the sources. It needs to show and require acceptance of the .eula pointed to by the .desktop file when the package is installed if proprietry=true is included. It also needs to respect the architecture= entry to only show entries available on the current processor type.

The complete spec to implement is at https://wiki.ubuntu.com/ThirdPartyPackages and https://wiki.ubuntu.com/ThirdPartyPackages/Howto

We need to add the ability to edit sources.list with Adept Installer. Add an option to do apt-get update with adept_batch and have this run by software-properties when it edits the sources.list. Add a toolbar button to Adept Installer which runs software-properties.

CD-ROM Packages

There are three types of CD-ROM packages we should add support for. We should add support to adept-notifier to monitor hal for CDs and check if they are package CDs.

The HAL properties to check for are

update-notifier uses "hal_property_modified()" from libhal and then checks:
volume.is_mounted
block.storage_device
storage.drive_type == cdrom
mount_point = volume.mount_point

The script to check the CD is in update-manager data/apt-cdrom-check and returns a result for each of the three types of CD (or a 0 for a non-package CD).

CD with packages

Adept-batch needs a mode to add cdrom to sources.list. adept-notifier should offer this if a CD with packages is inserted. It should then start Adept.

Dist upgrader CD

If the CD contains a dist upgrade tool (i.e. a new version of Kubuntu), adept-notifier should offer to run this tool.

Addon CD

An addon CD such as the second Edubuntu CD should use Adept Installer in a mode for installing the .desktop files listed on the CD. This should be implemented the same as for gnome-app-install as specified at https://wiki.kubuntu.org/EdubuntuOnTwoCDs "CD image work".

Konqueror mime-types

Offer to install apps for missing mime types. Patch konqueror to run adept-batch. ...how?

Version Locking

See https://blueprints.launchpad.net/ubuntu/+spec/kubuntu-adept-version-locking

Notifications

Notifications in adept-notifier. Woo!


CategorySpec

KubuntuGutsyAdept (last edited 2008-08-06 16:17:20 by localhost)