View Single Post
  #17 (permalink)  
Old 22-Jun-2008, 11:27
i-ghost i-ghost is offline
Student Penguin
 
Join Date: Jun 2008
Posts: 60
i-ghost hasn't been rated much yet
Default Re: Managing Software

Why not make it so that users can filter between binaries and libraries? Something like this: (Basic = Binaries only, Advanced = Binaries and Libraries)

_________ _____________
|Basic |Advanced |
------------------------
_______
|Basic|: Search: "gimp"

Results:

[+] Gimp - The GNU Image Manipulation Program. (Installed)
[+] Gimp Brushes - Extra Brushes for Gimp. (Installed)
---
Now to uninstall: (When the user clicks on gimp, brushes are auto selected).

[X] Gimp - "Gimp" is set to uninstall.
[X*] Gimp Brushes - "Gimp Brushes" is set to uninstall. No longer required.

[libzypp is now checking if other packages require gimp dependencies. If they do, the program will uninstall but the dependencies won't. This prompt will appear.]

Code:
oops! It seems as though the program(s) you are trying
 to remove has libraries another program needs. Don't worry,
you can choose to stop or uninstall the program(s) only, leaving
the libraries available for use.
(Stop) (Uninstall program(s) only)
The Uninstall button is pressed. Yast2 will now open a prompt which shows the final changes, in this case:

Code:
Gimp - Program uninstall only. Libraries kept.
(Abort) (Accept)
----

The "advanced" version would only differ in the results. The process would be the same. See:

_________
|Advanced|: Search: "gimp"

Results:

[+] gimp - The GNU Image Manipulation Program.
[+] libgimp - Libraries for Gimp.
[+] gimpprint - Printer support for Gimp.
[+] gimpbrush - Extra Brush packages for Gimp.
---

Uninstall:

[X] gimp - The GNU Image Manipulation Program.
[+] libgimp - Libraries for Gimp.
[+] gimpprint - Printer support for Gimp.
[X*] gimpbrush - Extra Brush packages for Gimp.
---

Now the user can continue the uninstall as they would only have uninstalled the program and brushes, not the depended libraries. Only the "advanced" tab would contain libraries, not the "basic" tab.

("Advanced")
[You get the standard Yast2 dependency conflict and resolution prompt, asking you to resolve the case.]

I also have an (incomplete) Open Office Drawing which details this (I drew it up in 5 minutes, I'll finish it later): http://teamcarmine.net/etc/yastprop.odg
Reply With Quote