A Reporter class with some subclasses should be added. A Reporter takes the buildbot data and use them to produce a report, either on the stdout or on a file (only stdout can be enough, we can always redirect the output to a file). The Reporter base class could have some methods to select the branches, builders, tests and similar things and provide a list will all the needed data. The subclasses will provide methods to display the data (probably overloading an abstract method on the base class). There should be a command line option to select the reporter(s) (e.g. --reporters / -r) and it should be possible to specify it in the config file (see issue 4). The -q option should be removed and become a Reporter. More reporters can be specified in the config file and in the command line option, separated by a comma. This will make possible to have, for example, a full report followed by a smart report (see issue 2). (Another option is to "hardcode" smart reports in the base class and turn them on with a flag. So far this is the only situation that I can see where using more reporters will be useful.)
Comment #1
Posted on Apr 17, 2010 by Swift LionSee issue 8.
Status: Accepted
Labels:
Priority-Medium
Usability
Component-UI
Type-Enhancement
Component-Logic
Maintainability