User:Bugman/subsystems: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(→‎Refactoring: Script update to match the find_subsystems.py script.)
(→‎Script: Newest version of the script.)
Line 36: Line 36:
     """Class for finding all subsystems and subsystem groups."""
     """Class for finding all subsystems and subsystem groups."""


     def __init__(self):
     def __init__(self, output=True):
         """Find all subsystems and subsystem groups."""
         """Find all subsystems and subsystem groups.
 
        @keyword output:    A flag which if False will suppress all output to STDOUT.
        @type output:      bool
        """


         # Command line options.
         # Command line options.
Line 92: Line 96:


         # Final summary.
         # Final summary.
         self.summarise()
         if output:
            self.summarise()





Revision as of 07:59, 8 May 2018

Tracking down subsystems

Script

The following script is for finding all FlightGear dependencies:

All subsystems

The result is:

Refactoring

To check that all subsystems on a branch have been updated or refactored: