Add limited delta stats after running - #132
Conversation
Signed-off-by: kadimitra <kadimitra@ece.auth.gr>
| click.echo('DeltaCode version ' + __version__) | ||
| ctx.exit() | ||
|
|
||
| def print_summary(new,old,deltas_count): |
There was a problem hiding this comment.
Please add a space after the comma for each of these args
| write_json(deltacode, json_file, all_delta_types) | ||
|
|
||
| # show limited delta status | ||
| deltas_count = len([d for d in deltas(deltacode, all_delta_types)]) |
There was a problem hiding this comment.
I would like to see the counts of each particular Delta type, not the total number of deltas.
There was a problem hiding this comment.
So, you would like to see the counts of each type of "factor" for each delta? That is to say factors can be for example "added", "license info added", "moved" etc. and you would like to see the counts of these such factors, lets say we have 5 "added", 3 "moved" etc.
There was a problem hiding this comment.
Yes, I should have clarified that :)
You can treat Deltas with multiple factors as their own entity for the sake of the counts
Also, I would be curious to known the performance implications of generating these counts is. We may want to add this feature as a runtime option if it takes a long time on large datasets.
Signed-off-by: kadimitra <kadimitra@ece.auth.gr>
b46f362 to
92548c4
Compare
|
Closing due to stagnation. |
Signed-off-by: Dimitra Karatza kadimitra@ece.auth.gr