lp:~kissiel/checkbox/sa-garbage-collection
- Get this branch:
- bzr branch lp:~kissiel/checkbox/sa-garbage-collection
Branch merges
- Sylvain Pineau: Approve
-
Diff: 344 lines (+190/-14)7 files modifiedcheckbox-touch/checkbox-touch.qml (+23/-4)
checkbox-touch/components/CheckboxTouchApplication.qml (+10/-0)
checkbox-touch/components/ResumeSessionPage.qml (+15/-0)
checkbox-touch/py/checkbox_touch.py (+25/-0)
checkbox-touch/tests/autopilot/checkbox_touch/__init__.py (+10/-0)
checkbox-touch/tests/autopilot/checkbox_touch/test_checkbox_touch.py (+42/-10)
plainbox/plainbox/impl/session/assistant.py (+65/-0)
Related bugs
Related blueprints
Branch information
Recent revisions
- 4139. By Maciej Kisielewski
-
checkbox-
touch:autopilot : add garbage collection tests Signed-off-by: Maciej Kisielewski <email address hidden>
- 4138. By Maciej Kisielewski
-
checkbox-
touch:autopilot : move select_ two_tests_ and_quit to top class This patch moves the function that selects two tests and quits (preparing for
resume tests) to be in base checkbox-ap class. This way it may be reused in
garbage collection tests.Signed-off-by: Maciej Kisielewski <email address hidden>
- 4137. By Maciej Kisielewski
-
checkbox-touch: run session GC whenever starting a new session
With the exception of running extended GC (i.e. the one that also removes
incomplete sessions), when requested by the user.Signed-off-by: Maciej Kisielewski <email address hidden>
- 4136. By Maciej Kisielewski
-
checkbox-touch: add gcAndStartSession function
This patch adds a helper function, that should be called instead of
app.startSession() in most cases. It deletes all complete session storages
before launching starting a new one. Which sessions are considered 'complete'
is up to session assistant (default parameters values of
SessionAssistant.get_old_ sessions) . Signed-off-by: Maciej Kisielewski <email address hidden>
- 4135. By Maciej Kisielewski
-
checkbox-touch: delete old sessions on startup
This patch makes checkbox check how many incomplete sessions there are, and
lets user decide to remove them on resume session screen.Fixes: https:/
/bugs.launchpad .net/checkbox- converged/ +bug/1397109 Signed-off-by: Maciej Kisielewski <email address hidden>
- 4134. By Maciej Kisielewski
-
checkbox-
touch:component : add 'delete sessions' button to resume page Signed-off-by: Maciej Kisielewski <email address hidden>
- 4133. By Maciej Kisielewski
-
checkbox-touch: add py<->qml bits for session garbage collection
Signed-off-by: Maciej Kisielewski <email address hidden>
- 4132. By Maciej Kisielewski
-
plainbox:
session: assistant: bump usage expectations for get_old_sessions and delete_sessions functions
Signed-off-by: Maciej Kisielewski <email address hidden>
- 4131. By Maciej Kisielewski
-
plainbox:
session: assistant: add delete_sessions function This patch adds a function that deletes session storages with given ids.
Signed-off-by: Maciej Kisielewski <email address hidden>
- 4130. By Maciej Kisielewski
-
plainbox:
session: assistant: add get_old_sessions function This patch adds a function that loads metadata of the sessions present in
session repository and returns the list of id of the ones that have any of the
given flags.Signed-off-by: Maciej Kisielewski <email address hidden>
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:checkbox