disable/enable apps based on whether the required frameworks are available on image
Bug #1271944 reported by
Alexander Sack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
click (Ubuntu) |
Fix Released
|
High
|
Michael Vogt |
Bug Description
click apps should be disabled if the required framework is not available on the image. Accordingly apps should be enabled if the required frameworks become available.
This probably involves:
1. how to disable an app without uninstalling (so if a new/compatible app becomes available in the store, the app is automatically enabled)
2. how to let the scope know whether an app is "enabled" or "disabled" so it can reflect status properly in the UI.
3. ensure we trigger check for apps and mark them as disabled on image update and when new app gets downloaded.
Related branches
lp:~mvo/ubuntu-app-launch/hide-apps-on-missing-framework
On hold
for merging
into
lp:ubuntu-app-launch/14.04
- Colin Watson: Needs Information
- PS Jenkins bot (community): Needs Fixing (continuous-integration)
- Indicator Applet Developers: Pending requested
-
Diff: 189 lines (+98/-10)4 files modifieddesktop-hook.c (+38/-0)
helpers.c (+42/-10)
helpers.h (+5/-0)
tests/helper-test.cc (+13/-0)
lp:~mvo/click/hide-apps-on-missing-framework
- Colin Watson: Approve
- Michael Vogt: Pending requested
-
Diff: 279 lines (+168/-18)5 files modifiedclick/tests/helpers.py (+8/-0)
click/tests/test_hooks.py (+93/-0)
click/tests/test_install.py (+0/-8)
doc/index.rst (+3/-1)
lib/click/hooks.vala (+64/-9)
Superseded
for merging
into
lp:click
- Michael Vogt: Needs Resubmitting
- Colin Watson: Needs Fixing
-
Diff: 279 lines (+168/-18)5 files modifiedclick/tests/helpers.py (+8/-0)
click/tests/test_hooks.py (+93/-0)
click/tests/test_install.py (+0/-8)
doc/index.rst (+3/-1)
lib/click/hooks.vala (+64/-9)
lp:click/devel
- Colin Watson: Approve
-
Diff: 100 lines (+35/-10)2 files modifiedclick/tests/integration/test_signatures.py (+27/-10)
debian/changelog (+8/-0)
lp:click
- Colin Watson: Approve
- Ubuntu CI managed package branches: Pending requested
-
Diff: 485 lines (+269/-70)11 files modifiedREADME (+1/-0)
click/build.py (+10/-22)
click/framework.py (+138/-0)
click/install.py (+8/-28)
click/paths.py.in (+1/-0)
click/tests/helpers.py (+29/-0)
click/tests/test_build.py (+39/-5)
click/tests/test_install.py (+2/-4)
debian/changelog (+8/-0)
doc/file-format.rst (+1/-2)
doc/index.rst (+32/-9)
tags: | added: appstore |
Changed in click (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
description: | updated |
Changed in click (Ubuntu): | |
status: | Triaged → In Progress |
Changed in click (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
status: | In Progress → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package click - 0.4.23.1
---------------
click (0.4.23.1) utopic; urgency=medium
[ Colin Watson ] introspection, although libgirepository 1.0-dev
* chroot: Force dpkg-architecture to recalculate everything rather than
picking up values from the environment, to avoid the test suite getting
confused by environment variables exported by dpkg-buildpackage.
* tox.ini: Regularise whitespace.
* Lintian complains about dh --with gir without a direct Build-
Depends: gobject-
depends on it. Build-depend on both.
* Factor out some repetitive PackageKit error-reporting code.
* Fix test coverage glitch.
* Avoid ensure_dbing multiple times.
* /custom/click, not /custom.
* Remove trailing whitespace.
* Document chroot session management.
* Make manifest.json example actually be valid JSON.
* Document that click chroot -s is mainly for debugging.
* Allow specifying a framework base directly.
* Fix docstring.
* Add appropriate Since: annotations.
* formatting
* merge lp:~mvo/click/documentation-tweak
* merge lp:~mvo/click/avoid-exposing-envvars
click (0.4.23) utopic; urgency=medium
[ Michael Vogt ] broken- chroot is used)
* Show human-readable error message when a click chroot subcommand fails
because of existing or non-existing chroots (LP: #1296820).
* Selectively disable logging on some tests to avoid message spam during
the test runs.
* When running hooks, remove hook symlinks if framework requirements are
not met (LP: #1271944).
* Cleanup the chroot if "click chroot create" fails (unless
--keep-
* Fix sources.list generation when native_arch and target_arch are on the
same archive server (part of LP #1319153).
* Add "click framework list" command to list available frameworks
(LP: #1294659).
[ Pete Woods ]
* Add libunity-scopes-dev package to chroot (LP: #1320786).
[ Sergio Schvezov ]
* click chroot creation depends on dpkg-architecture, so recommend
dpkg-dev.
[ Colin Watson ]
* chroot: Handle the case where we can execute binaries for the target
architecture directly and thus don't need a cross-compiler
(LP: #1319153).
-- Ubuntu daily release <email address hidden> Tue, 20 May 2014 13:15:41 +0000