-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement to start.py maintenance tools #2438
Improvement to start.py maintenance tools #2438
Conversation
…ed by any airframe
…tplans and boards sorted by most recently changed
…era/paparazzi into health_monitor_update
…f the airframes for the selected conf
…dates should still be fixed
…era/paparazzi into health_monitor_update
…ail, or untested files, or both
…th_monitor_update
…es was not also selected and fixed some Codacy issues
Could you maybe squash this commit? Because this commit history seems unusable. |
Hi Matteo, why did you close this pull request? FYI, we can squash all your commits when we merge your PR, so you do not need to create a new, clean branch if that is the problem ;). Just let us know when your work is ready to be reviewed, as you still seem to regularly update this branch. |
I had originally closed it while I tried to figure out how to squash the last two commits, which were done to resolve some conflicts we had with the master branch. If it's possible to do it on your end that would be great, I can't seem to rebase the branch without creating a new one |
I never really use this script (what a shame) so I will give my observations "as is" so they might not be all relevant :
In the maintenance tools specifically :
Edit: |
@Fabien-B Thanks for the comments and suggestions.
I have not made changes to the "More Info" button, it has always displayed all airframes of all confs. I am not sure if only displaying the airframes of the selected conf is desirable, I can see advantages to both seeing all airframes and just seeing additional info on the airframes of a single conf. |
I think that's good to be merged, @gautierhattenberger ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
* Added last commit dates to lists of untested flight plans and airframes * Improved paparazzi_health to include a list of all modules and their usage * improved paparazzi_health to include a list of board makefiles not used by any airframe * improved paparazzi_health to generate list of unused airframes, flightplans and boards sorted by most recently changed * airframe details now stores modules as tuple of name and type: [(name, type), ...] * added seeing includes in paparazzi_health * Removed unneccesary print statements * Added widget to start.py to generate html table of the module usage of the airframes for the selected conf * improved html table readability and sorted airframe names alphabetically * fixed alphabetical ordering of airframe name being case sensitive and added comments * Added module class, more info about modules now gets printed. Commit dates should still be fixed * Did speed improvement, but still slow * split up more info and lists of untested files * Added checkboxes to start.py to give user option to show airframe detail, or untested files, or both * Cleaned up some code * Added separator to make link between checkboxes and MoreInfo button clearer * Fixed code style * Added description to the module listing * one should now be able to select which aspects to show in the maintenance tools * Initial version of maintenance tools window * Now also checks if modules are mentioned in the settings modules in an userconf * Improved layout of maintenance tool window * Improved variable names and tooltip information * Small QoL changes to prepare for pull request * Fixed a bug with the untested boards not showing correctly if airframes was not also selected and fixed some Codacy issues * Added functionality to generate module overview by board name * Module overview table now also displays the xml file and of the airframe * Update health_monitor_update branch with master changes * Bug-fixes and added description to maintenance tools
The maintenance tools in start.py now allows the HTML table for the module overview to be generated based on an airframe board file, to quickly compare the used modules in all airframes of a certain board across all conf files.