Mercurial > bitten > bitten-test
diff bitten/master.py @ 213:25f84dd9f159
* Refactoring of build recipes, the file format has changed slightly:
* The namespace URIs of recipe command collections are now abstract, implementations are registered using setuptools entry points.
* Commands for report generation are no longer nested in a `<reports>` sub-element, but are at the same level as normal commands.
* Fixed linking to files from the test results and code coverage summarizers.
* Windows file separators are normalized to a forward slash by recipe commands (thereby also fixing linking to the repository browser from report summaries).
* Paths using backslashes as file separators are now recognized in build logs in the web interface, and linked to the repository browser.
* The `generator` column in the build log and report tables now has the qualified name of the recipe command that generated the log messages or report data.
* There's a database upgrade script to fix file separator normalization and generator values for existing reports and build logs.
author | cmlenz |
---|---|
date | Tue, 20 Sep 2005 22:16:41 +0000 |
parents | e1a53e70b43f |
children | 014bc6c29dff |
line wrap: on
line diff
--- a/bitten/master.py +++ b/bitten/master.py @@ -385,13 +385,10 @@ message_elem.gettext())) build_log.insert(db=db) - report_types = {'unittest': 'test', 'trace': 'coverage', - 'pylint': 'lint'} for report_elem in elem.children('report'): - generator = report_elem.attr.get('generator') report = Report(self.env, build=build.id, step=step.name, - category=report_types[generator], - generator=generator) + category=report_elem.attr.get('category'), + generator=report_elem.attr.get('generator')) for item_elem in report_elem.children(): item = {'type': item_elem.name} item.update(item_elem.attr)