Provide ways to delete obsolete results

Registered by Federico Razzoli

When a test is performed, probably only newest results matter and older ones are obsolete. So it should be possible to delete them automatically or manually.

A test is obsolete when it is related to test X, but test X is also related to a newer TR.

AUTO
====

Config option: 'autoclean'
Possible values:
* 0 - no
* 1- yes, everytime deinit_status() is called, it should delete older versions of current test
* 2 - everytime deinit_status() is called, it should delete ALL obsolete results

MANUAL
======

* VOID results_clean(tr_type, tr_name)
  * tr_type: 'tc' or 'ts'
  * tr_name: name of tc/ts
* VOID all_results_clean()

Blueprint information

Status:
Complete
Approver:
None
Priority:
Essential
Drafter:
None
Direction:
Needs approval
Assignee:
Federico Razzoli
Definition:
Discussion
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 1.0.0-rc2
Started by
Federico Razzoli
Completed by
Federico Razzoli

Related branches

Sprints

Whiteboard

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.