Merge lp:~ilidrissi.amine/software-center/addons into lp:software-center
| Status: | Merged |
|---|---|
| Merged at revision: | 1049 |
| Proposed branch: | lp:~ilidrissi.amine/software-center/addons |
| Merge into: | lp:software-center |
| Diff against target: |
1444 lines (+858/-122) 11 files modified
debian/changelog (+16/-0) softwarecenter/app.py (+13/-4) softwarecenter/apt/aptcache.py (+227/-9) softwarecenter/backend/aptd.py (+18/-8) softwarecenter/db/application.py (+12/-5) softwarecenter/enums.py (+1/-0) softwarecenter/view/appdetailsview.py (+37/-6) softwarecenter/view/appdetailsview_gtk.py (+502/-89) test/test_appdetails_view.py (+21/-0) test/test_aptd.py (+8/-0) test/test_gui.py (+3/-1) |
| To merge this branch: | bzr merge lp:~ilidrissi.amine/software-center/addons |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Matthew Paul Thomas | design | 2010-07-26 | Approve on 2010-08-16 |
| Mohamed Amine Ilidrissi (community) | Resubmit on 2010-08-05 | ||
|
Review via email:
|
|||
Description of the Change
This branch introduces add-on handling as described in https:/
How to test: pick any package that has potential add-ons (like gimp).
Limitations: Descriptions aren't sorted alphabetically.
Feel free to propose any changes - I know my Python skills are pathetic :P.
- 934. By Mohamed Amine Ilidrissi on 2010-08-02
-
merge with trunk
- 935. By Mohamed Amine Ilidrissi on 2010-08-02
-
Modified changelog.
| Matthew Paul Thomas (mpt) wrote : | # |
One of Banshee's add-ons is "Media Management and Playback application (debug symbols)". Similarly, one of Evolution's add-ons is "debugging symbols for Evolution". We also need to figure out how to hide those, at least by default.
- 936. By Mohamed Amine IL Idrissi <devildante@devildante-laptop> on 2010-08-04
-
Fixed a bunch of things at mpt's request.
Okay, just fixed these issues. Feel free to request any other fixes.
| Michael Vogt (mvo) wrote : | # |
Sorry for the slow reply. I had a look over the code and its pretty good. There are some small issues I would like to see fixed.
- recommended_addons and suggested_addons are almost the same, would be nice to consolidate the bits that are equal into their own function to avoid duplications
- I moved some of the lowlevel stuff into PackageAddonsMa
- I would love to avoid the extra addons_install, addons_remove to each of the action methods in aptdaemon (as install()/remove() is really a apply() now for complex changes)
- tests are missing
- there are merge conflicts with trunk/ (because of the debfiles branch merge)
There are some design issues (probably more something for mpt):
- moving the install button to the end of the page is not ideal IMO, with the gimp and the default window size its not visible without scrolling
- just showing the summary without a package name or a way to navigate to the app is not that useful for the user to understand what he gets from the addon
- 937. By Mohamed Amine Ilidrissi on 2010-08-11
-
merge lp:~mvo/software-center/addons, many thanks.
- 938. By Mohamed Amine Ilidrissi on 2010-08-11
-
merge with trunk (argh conflicts).
- 939. By Mohamed Amine Ilidrissi on 2010-08-12
-
bunch of fixes.
- 940. By Mohamed Amine Ilidrissi on 2010-08-12
-
bunch of fixes... again.
- 941. By Mohamed Amine Ilidrissi on 2010-08-12
-
merge mvo's branch, many thanks.
- 942. By Mohamed Amine Ilidrissi on 2010-08-12
-
Thank you mvo for your efforts :)
- 943. By Mohamed Amine Ilidrissi on 2010-08-12
-
Renamed a function.
| Michael Vogt (mvo) wrote : | # |
Thanks, code is good now, I filed a feature-
- 944. By Mohamed Amine Ilidrissi on 2010-08-13
-
merge with trunk.
- 945. By Mohamed Amine Ilidrissi on 2010-08-13
-
Removed useless code and fixed a "big icon" bug.
- 946. By Mohamed Amine Ilidrissi on 2010-08-13
-
Disable links to pkgnames until we fix it, and made update_totalsize into a gobject.idle_add() so selecting an add-on feels faster.
- 947. By Mohamed Amine Ilidrissi on 2010-08-13
-
software-center will not crash anymore when opening a pkg that does not exist, and it will now check that app_details.icon is not None.
- 948. By Mohamed Amine Ilidrissi on 2010-08-13
-
2 fixes for 2 small bugs.
- 949. By Mohamed Amine Ilidrissi on 2010-08-13
-
Fixed debian/changelog fail.
- 950. By Mohamed Amine Ilidrissi on 2010-08-15
-
merge kiwinote's branch, many thanks :)
- 951. By Mohamed Amine Ilidrissi on 2010-08-15
-
Fixed the bar padding, and the total size text.
- 952. By Mohamed Amine Ilidrissi on 2010-08-15
-
some fixes.
- 953. By Mohamed Amine Ilidrissi on 2010-08-16
-
Polishing.
- 954. By Mohamed Amine Ilidrissi on 2010-08-16
-
Fixed padding and added a :
- 955. By Mohamed Amine Ilidrissi on 2010-08-16
-
Reduced the add-on image size to 22x22 and made loading the appdetailsview snappier.
- 956. By Mohamed Amine Ilidrissi on 2010-08-16
-
Renamed TotalSizeBar to AddonsStateBar.
- 957. By Mohamed Amine Ilidrissi on 2010-08-16
-
Fixed padding issues.
- 958. By Mohamed Amine Ilidrissi on 2010-08-16
-
Fixed an implementation error.
| Matthew Paul Thomas (mpt) wrote : | # |
Once the vertical spacing above and below the add-ons section is sorted out, I think this is good to merge. Thank you Mohamed.
- 959. By Mohamed Amine Ilidrissi on 2010-08-16
-
Fixed padding issues.
- 960. By Mohamed Amine Ilidrissi on 2010-08-16
-
fixed AddonsStateBar padding issue.


Mohamed, thanks so much for working on this. I'm impressed.
From a quick test, I see a few interface glitches:
* By default, every software item screen now says "No changes to be done" by default. This text shouldn't ever be necessary.
* The add-ons section appears before the installed state bar. It should instead appear after the item description. <https:/ /wiki.ubuntu. com/SoftwareCen ter#software- item-screen>
* There should be a little more vertical space between add-ons. Currently the icon for the first add-on is closer to the icon for the second add-on than it is to its own title. Also, there should be more vertical space after "Choose add-ons:".
* Thunderbird lists 56 add-ons, of which about 50 of them are language/region packs, which should be installed from "System" > "Administration" > "Language Support" instead. Is there an easy way of recognizing language-pack add-ons to avoid showing them in USC?