riskassessment icon indicating copy to clipboard operation
riskassessment copied to clipboard

Refresh db

Open marlycormar opened this issue 3 years ago • 5 comments

Add a mechanism to refresh the db:

  • Update metrics for each package: more recent number of downloads, more recent bug closure percentage, etc.
  • Do not update the package version.
  • Leave a comment that the package has been updated.
  • Add somewhere on the tabs the last day the db was refreshed.
  • List all the changes in the modal that will take place if admin updates the risk per package. Put a table in the modal of which packages will need to be reviewed after the risk is updated.

marlycormar avatar Aug 17 '21 15:08 marlycormar

I don't think this is a good idea. We should incorporate package versions. Doing so, we will get rid of issues with out-of-date packages.

marlycormar avatar Dec 07 '21 16:12 marlycormar

I still see value in this proposed feature. It basically a button that mimics exactly what the "re-calculate risk" button does, but doesn't require any weights be changed. There are so many metrics that can become stale if they were loaded into the app a long time ago. Like what if I'm evaluating a package based on how it looked 6 months ago? It's score could be totally different today.

I propose a compromise: Why don't we just allow admin users to click the "Re-calculate Risk" button even when they haven't changed the weights? Thoughts?

AARON-CLARK avatar Dec 07 '21 17:12 AARON-CLARK

whoops, I should have stated: a condition of making this compromise work would be allowing the admin to select which packages get updated AND incorporating the feature request proposed in #145 which allows the admin to retain or discard a package decision when a package's risk is re-calculated.

AARON-CLARK avatar Dec 07 '21 17:12 AARON-CLARK

Re-opening this issue for consideration at a later date, especially with the idea #253 proposes.

AARON-CLARK avatar Aug 16 '22 15:08 AARON-CLARK

Potential duplicate of #493

aclark02-arcus avatar Jul 03 '24 15:07 aclark02-arcus