eclipse-researchlabs / scava

Eclipse Public License 2.0
7 stars 1 forks source link

removing a task should not delete the metric data if referenced in other(s) remaining task(s) #43

Open davidediruscio opened 4 years ago

davidediruscio commented 4 years ago

When you have several tasks in a project that references the same metric and want to delete one of the them, in the most cases you don't want the metric data to be deleted.

davidediruscio commented 4 years ago

Already discussed with @aabherve . Flagging @crossminer/sft

davidediruscio commented 4 years ago

@aabherve , @ambpro : can you please fix ?

davidediruscio commented 4 years ago

@mhow2, I just pushed a patch ( https://github.com/crossminer/scava/commit/799bd57468a7ddac1400b6a52a2b837dc827cb09) to prevent removing metricExecutions shared among serveral tasks in the same project. And a second patch (https://github.com/crossminer/scava/commit/ab4e424ea99ea641b04a116e8cf16514d67b2789) to Prevent removing analysis data of metrics shared between tasks in the same project.

Please, feel free to take a look on it!