rework deprecated-warnings.html dashboard
For now this dashboard is quite bad and doesn't work as expected :
- when looking at it we see a lot of warnings but
- none seems to be easy/obvious on how to fix it
- so we don't know what to do
- often when we look at the warning we have no idea on what to do because we don't have the traceback or the warning doesn't carry the correct info
- the split between "in this file" and "for those projects" is bad and goes in the way to help fix the warnings
- sometime the warning should have been "this project has outdated dependencies"
- in conclusion this dashboard isn't activable at all: we lack information to really use it and we jsut have a list of warnings
Also we notice that we end up with 2 situations for those warnings where we want to act:
- we either want to fix the past (upgrading old code base to be compatible with the present)
- or make the future easier (automatically improve current code base to reduce the upgrade cost)
Actions:
-
for now we'll start by focusing on make the future easier -
remove cubes that uses old version of CW (for e.g "seda") -
but we can still list them somewhere
-
-
only take care of "used-cubes" -
grab the whole traceback -
regroup warning by message and by project, file, lineno -
display if the file in which a warning is is in the current code base -
grab every file of the traceback -
display the traceback on a separated page -
add a link to see each file content -
maybe move all dashboard in private
-
-
take a look at every warning and see if we need to improve their quality -
see if we can easily classify warnings by ease to fix