tjguk / bbreport

Automatically exported from code.google.com/p/bbreport
0 stars 0 forks source link

Add reporters #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.)

Original issue reported on code.google.com by ezio.melotti on 7 Apr 2010 at 11:33

GoogleCodeExporter commented 9 years ago
See issue 8.

Original comment by victor.s...@gmail.com on 17 Apr 2010 at 12:39