lp:~kissiel/checkbox/sa-garbage-collection

Created by Maciej Kisielewski and last modified
Get this branch:
bzr branch lp:~kissiel/checkbox/sa-garbage-collection
Only Maciej Kisielewski can upload to this branch. If you are Maciej Kisielewski please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Maciej Kisielewski
Project:
Checkbox
Status:
Merged

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
This branch contains Public information 
Everyone can see this information.