User:Bugman/subsystems: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(→‎Script: Bug fixes.)
(→‎Script: Another bug fix.)
Line 572: Line 572:
         @keyword declaration_file:      The name of the file containing the subsystem declaration.
         @keyword declaration_file:      The name of the file containing the subsystem declaration.
         @type declaration_file:        str
         @type declaration_file:        str
         @keyword implementation_file:  The name of the file containing the subsystem declaration.
         @keyword implementation_file:  The name of the file containing the subsystem implementation.
         @type implementation_file:      str or None
         @type implementation_file:      str or None
         @keyword root_path:            The root path to the files.
         @keyword root_path:            The root path to the files.
Line 668: Line 668:
         """Set up the object.
         """Set up the object.


         @keyword implementation_file:  The name of the file containing the subsystem declaration.
         @keyword implementation_file:  The absolute path of the file containing the subsystem implementation.
         @type implementation_file:      str or None
         @type implementation_file:      str or None
         """
         """


         # Store the file.
         # Store the file.
         if self.root_path:
         self.implementation_file = implementation_file
            self.implementation_file = self.root_path + sep + implementation_file
        else:
            self.implementation_file = implementation_file





Revision as of 09:08, 20 April 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: