User:Bugman/subsystems: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Script and output update.)
Line 79: Line 79:


     def grep(self, base_name):
     def grep(self, base_name):
         cmd = 'grep -rI "public \<%s\>" | grep -v "%s::"' % (base_name, base_name)
         cmd = 'grep -rI "public \<%s\>" {{!}} grep -v "%s::"' % (base_name, base_name)
         pipe = Popen(cmd, shell=True, stdout=PIPE)
         pipe = Popen(cmd, shell=True, stdout=PIPE)
         for line in pipe.stdout.readlines():
         for line in pipe.stdout.readlines():

Revision as of 12:42, 17 April 2018

Hunting down subsystems

The following script is for finding all FlightGear dependencies:

The result is:

Refactoring

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