Merge lp:~mvo/click/lp1232130-kill-on-remove-2 into lp:click/devel
| Status: | Merged |
|---|---|
| Approved by: | Michael Vogt on 2015-02-18 |
| Approved revision: | 437 |
| Merged at revision: | 559 |
| Proposed branch: | lp:~mvo/click/lp1232130-kill-on-remove-2 |
| Merge into: | lp:click/devel |
| Diff against target: |
232 lines (+99/-35) 4 files modified
click/tests/helpers.py (+21/-0) click/tests/test_user.py (+22/-8) lib/click/user.vala (+48/-27) pk-plugin/pk-plugin-click.c (+8/-0) |
| To merge this branch: | bzr merge lp:~mvo/click/lp1232130-kill-on-remove-2 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Barry Warsaw | 2014-10-08 | Approve on 2015-02-17 | |
| PS Jenkins bot (community) | continuous-integration | Needs Fixing on 2014-10-08 | |
|
Review via email:
|
|||
Commit Message
When uninstalling a app, stop it if its running.
Description of the Change
This branch stops running applications when a click package gets removed. The previous branch did not work because the ubuntu-app-stop command needs access to the session bus to work but click/PK run in a different context. Fortunately the users session bus address is available in /run/user which this branch uses now.
| Michael Vogt (mvo) wrote : | # |
On Tue, Feb 17, 2015 at 04:15:44PM -0000, Barry Warsaw wrote:
> Review: Approve
>
> One minor comment, but otherwise LGTM.
Thanks for the review!
[..]
> > +class StopAppTestCase
> > +
> > + def setUp(self):
> > + super(StopAppTe
>
> I forget, does click still have to be Python 2 compatible? If not, then:
>
> super().setUp()
>
> because magic!
Woah, thats cool. I will keep that in mind :) We currently still
support py2.7 unfortunately. Might be worth reconsidering - but not
for this one line :)
Cheers,
Michael

FAILED: Continuous integration, rev:437 /code.launchpad .net/~mvo/ click/lp1232130 -kill-on- remove- 2/+merge/ 237601/ +edit-commit- message
No commit message was specified in the merge proposal. Click on the following link and set the commit message (if you want a jenkins rebuild you need to trigger it yourself):
https:/
http:// jenkins. qa.ubuntu. com/job/ click-devel- ci/92/ jenkins. qa.ubuntu. com/job/ click-devel- utopic- amd64-ci/ 94 jenkins. qa.ubuntu. com/job/ click-devel- utopic- armhf-ci/ 92 jenkins. qa.ubuntu. com/job/ click-devel- utopic- armhf-ci/ 92/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ click-devel- utopic- i386-ci/ 92
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/click- devel-ci/ 92/rebuild
http://