26 Commits

Author SHA1 Message Date
Sebastian Huber
e794d0aba9 sb: Add HTML generation to formatter class 2014-12-11 07:50:10 +01:00
Sebastian Huber
28410ebf89 sb: Move build set to formatter classes 2014-12-11 07:50:10 +01:00
Sebastian Huber
14e5d2edbb sb: Move git status to formatter classes 2014-12-11 07:50:10 +01:00
Sebastian Huber
1f77f9e36b sb: Add XML formatter 2014-12-11 07:50:09 +01:00
Sebastian Huber
97e083a72c sb: Move introduction to formatter classes 2014-12-11 07:50:09 +01:00
Sebastian Huber
5d565849b3 sb: Introduce formatter classes
Use inheritance instead of ifs.
2014-12-11 07:50:09 +01:00
Chris Johns
8db5212665 sb: Complete support for INI file reporting.
The INI file format provides a parsable configuration file format.
2014-08-12 12:22:30 +10:00
Chris Johns
91462f6d5e sb: Add INI format output to the reports.
The INI format report is a way to export a configuration.
2014-08-09 23:51:19 +10:00
Chris Johns
72f89c5fc9 sb: Output the new info message.
With the set builder add nesting count support.
2013-09-03 08:29:36 +10:00
Chris Johns
84924e4e52 Fix the open calls to use a host path. 2013-05-01 06:29:12 +10:00
Chris Johns
adf09460a2 Report from the setbuilder's build config.
Refactor the reporter to allow the setbuilder to use its build config
rather than regenerating the configuration from the configuration file.
Using the config file and the build macros exposed an issue if a
macro was undefined that was defined in a build set above the
config file. Using the build set's configuration as used to build
is a better solution.

The reporter was refactored to allow a config class to be used
to report.

The setbuild can now take a configuration file as an input file.
2013-04-29 09:01:14 +10:00
Chris Johns
055e4906ef Fix the report command. Only output if an outname is given. 2013-04-28 16:10:02 +10:00
Chris Johns
5142becd8e Refactor the logging support. 2013-04-21 18:37:02 +10:00
Chris Johns
cb12e4875c Refactor defaults, macros and options.
To support building snapshots and pre-release source the defaults
has been refactored. The defaults have been moved to a stand alone
file and a macros.py module added. This modile abstracts the
old default dictionary turning it into a class. The macros
class can load macros from a file therefore the defaults have
been moved to a stand alone file.

The use of defaults has been removed from the project. The only
case where it is used in the options where the defaults are read
from a file. Macros are used everywhere now.

The defaults.py has been moved to the option.py and the separate
options and defaults values has been moved to a new pattern. When
constructing an object that needs macros and options if the macros
passed in is None the defaults from the options are used. This makes
it clear when the defaults are being used or when a modified set of
macros is being used.

The macros class support maps. The default is 'global' and where all
the defaults reside and where configuratiion file changes end up.
Maps allow macros to be read from a file and override the values
being maintained in the 'global' map. Reading a macro first checks
the map and if not present checks the 'global' map.

The addition of maps to the macros provides the base to support
snapshots and pre-release testing with standard configurations.
This functionality needs to be added. It works by letting to
specify a snapshot with:

source0: none, override, 'my-dist.tar.bz2'

and it will be used rather the value from the standard configuration.
With a build set you need to also specify the package these macros
are for. The maps provide this.
2013-04-09 13:51:43 +10:00
Chris Johns
54993543d7 Remove the deep copy and use a shallow copy so it worked on Python 2.6. 2013-04-06 08:28:09 +11:00
Chris Johns
efb6688be0 Support a common verion number for all commands. 2013-04-05 09:17:47 +11:00
Chris Johns
4266597633 Fix the second config call to pass defaults and opts. 2013-03-13 15:08:22 +11:00
Chris Johns
fd4e4fb875 Use separate defaults and opts for each build set. 2013-03-13 11:35:21 +11:00
Chris Johns
aabd20d513 Clean up the error message. 2013-03-11 10:37:13 +11:00
Chris Johns
514ad167ae Add more report detail. 2013-03-04 18:08:03 +11:00
Chris Johns
0759d98628 Move find_configs to build and fix. Install reports to 'rtems-source-builder'. 2013-03-04 10:14:57 +11:00
Chris Johns
864e8ff9fa Clean up build set configuration reporting. 2013-03-04 09:42:08 +11:00
Chris Johns
d6638aae6c Add html as a format and now asciidoc gives you the asciidoc text. 2013-03-03 15:16:43 +11:00
Chris Johns
6ee25e54de Fix the asciidoc import. Add the missing config files. 2013-03-03 14:52:39 +11:00
Chris Johns
d7e4900fe7 Add support for GIT.
The git module allows basic access to git. Hosts are now required
to provide git support.

The defaults module now returns options as a list split on '='.
2013-03-03 13:24:19 +11:00
Chris Johns
4754f1e747 Add a reporting tool. 2013-02-28 20:44:02 +11:00