diff -r 87cfa131b535 -r e7e0ae78773e configurationengine/source/scripts/gen_report_template.html --- a/configurationengine/source/scripts/gen_report_template.html Fri Mar 12 08:30:17 2010 +0200 +++ b/configurationengine/source/scripts/gen_report_template.html Tue Aug 10 14:29:28 2010 +0300 @@ -1,6 +1,7 @@ + ConE generation report + + + +

Generation summary:

- - - - + + + {% for report in rep_data -%} + + {% endfor -%} + + - + {% for report in rep_data -%} + + {% endfor -%} - - + + {% for report in rep_data -%} + + {% endfor -%} - - + + - + {% for report in rep_data -%} + + {% endfor -%} - + {% for report in rep_data -%} + + {% endfor -%} - + {% for report in rep_data -%} + + {% endfor -%} - + - + {% for report in rep_data -%} + + {% endfor -%} - + {% for report in rep_data -%} + + {% endfor -%} - + {% for report in rep_data -%} + + {% endfor -%} - + {% for report in rep_data -%} + + {% endfor -%} - + {% for report in rep_data -%} + + {% endfor -%} - + {% for report in rep_data -%} + + {% endfor -%} - + {% for report in rep_data -%} + + {% endfor -%} - + {% for report in rep_data -%} + + {% endfor -%} + + + + {% for report in rep_data -%} + + {% endfor -%} - + {% for report in rep_data -%} + + {% endfor -%} - - - - - + {% for report in rep_data -%} + + {% endfor -%}
Statistics
Statistics{{ report.label }}
Refs in files{{ rep_data.nbr_of_refs }}{{ report.context.changed_refs|length }}
Refs with no implementation{{ rep_data.nbr_of_refs_noimpl }}Not generated Refs{{ report.context.get_refs_with_no_output()|length }}
Details
Details
Report generated{{ rep_data.generation_time }}{{ report.generation_time }}
Generation duration{{ rep_data.duration }}{{ report.duration }}
Generation logcone.logcone log
Generation optionsGeneration options
Layers{{ rep_data.options.layers }}{{ report.options.layers }}
Added{{ rep_data.options.added }}{{ report.options.added }}
Dryrun{{ rep_data.options.dryrun }}{{ report.options.dryrun }}
Verbose{{ rep_data.options.verbose }}{{ report.options.verbose }}
Overrides{{ rep_data.options.overrides }}{{ report.options.overrides }}
Project{{ rep_data.options.project }}{{ report.options.project }}
Report{{ rep_data.options.report }}{{ report.options.report }}
Impls{{ rep_data.options.impls }}{{ report.options.impls }}
Tags{{ report.context.tags }}
Output{{ rep_data.options.output }}{{ report.options.output }}
Configuration{{ rep_data.options.configuration }}
Working directory{{ rep_data.cwd }}{{ report.options.configuration }}
-

Rule execution results:


- - - - - - - - +

Generation Outputs:


+

Predefined filters:
+
+ +
+ + +

+
FileRule No.Input refsAffected refs
+ + + + + + + {% macro popup_link(source, linkid, linkname) -%} + {% if 'all' in report_options %} + {{ linkname }} + {% else %} + {{ linkname }} + {% endif %} + {%- endmacro %} + + {% macro get_report_colums(reports_list, report_elem) -%} + {%- endmacro %} + + + {% for out in merged_context.get_output() %} + + + + + + {%- endfor %} + + + {%- for ref in merged_context.get_refs_with_no_output(merged_context.get_changed_refs(operation='intersection',ignore_temps=True)) %} + + + + + + {%- endfor %} + +
SettingsImpl. fileOutputs
+ {%- if out.implementation.get_refs() %} + {%- for ref in out.implementation.get_refs() %} + {%- if ref in merged_context.changed_refs %} + {%- if ref in merged_context.temp_features %} + {{ popup_link('this', ref+'.apidiv',ref) }}
+ {%- else %} + {{ popup_link('this', ref+'.apidiv', ref) }}
+ {%- endif %} + {%- else %} + {{ ref }}
+ {%- endif %} + {%- endfor %} + {%- endif %} +
+ {%- if out.type == 'ref' %} + Rule: + {%- elif out.type == 'exception' %} + Exception: + {%- endif %} + {{ popup_link('this',out.implementation.ref|replace("/", ".") +':'+out.implementation.lineno|string+'.impldiv',out.implementation.ref+':'+out.implementation.lineno|string) }} + + {%- if out.name != None and out.type != 'exception' %} + {{ popup_link('this',out.name|replace("/", ".")|replace("\\", ".")+'.output',out.name) }} + {%- else %} + None
+ {%- endif %} +
+ + {{ popup_link('this',ref+'.apidiv',ref) }} +
+
+ {%- if merged_context.impl_set.get_implementations_with_ref(ref) %} + {%- for impl in merged_context.impl_set.get_implementations_with_ref(ref) %} + {{ popup_link('this',impl.ref|replace("/", ".")|replace("\\", ".")+'.impldiv',impl.ref) }} + {%- endfor %} + {%- else %} + None
+ {%- endif %} +
+ None
+
- {% for result in rep_data.rule_exec_results %} - {#- Report only rule executions that affected something #} - {%- if result.affected_refs|length > 0 %} - - - {{ result.source }} - {{result.index}} - - {%- for ref in result.input_refs -%} - {{ref}}
- {% endfor %} - - - {%- for ref in result.affected_refs -%} - {{ref}}
- {% endfor %} - - - {% endif -%} + + {% if 'all' in report_options %} + + {%- for feat in merged_context.features.get_features(merged_context.changed_refs) %} + + {%- endfor %} + + + {% for output in merged_context.outputs.values() %} + + {% endfor %} + + + {% for output in merged_context.outputs.values() %} + {% endfor %} - - - -

Output files:


- - - - - - - - - - - {% for feat in rep_data.lines %} + + {% for impl in merged_context.impl_dict.values() %} +
APIDataImpl. fileImpl. typeGenerated forOutput files
+ + - - +
+
Ref:{{ impl.ref|replace("/", ".")|replace("\\", ".") }}}
+ +
+
+ Implml: {{ impl.ref }}
+ Type: {{ impl.__class__.__name__ }}
+ Related log entries:
+ + {% for log in merged_context.grep_log(impl.ref) -%} + + {% endfor -%} +
{{ log[0] }}{{ log[1] }}
-
- {% if feat.is_temp_feature -%} - {{ feat.ref }}
- {%- else -%} - {{ feat.ref }}
- {%- endif %} - Name: {{ feat.feat_name }}
- Type: {{ feat.feat_type }}
- ConfML: {{ feat.config_path }} -
- - - {% for data in feat.datas %} - {% if loop.first %} - - - - - - - - - {% else %} - - - - - {% endif %} - {% endfor %} -
LayerValue
{{ data.layer }}{{ data.value|e|xml_charref_replace }}
{{ data.layer }}{{ data.value|e|xml_charref_replace }}
- - - {% for data in feat.seq_data %} - {% if loop.first %} - - - - - - - - - {% else %} - - - - - {% endif %} - {% endfor %} -
SettingValue
{{ data[0]|e|xml_charref_replace }} - {% for value in data[1] %} - {{ value|e|xml_charref_replace }}
- {% endfor %} -
{{ data[0]|e|xml_charref_replace }} - {% for value in data[1] %} - {{ value|e|xml_charref_replace }}
- {% endfor %} -
+ +
+ + {% endfor %} + {% endif %} + + -

Refs with no implementation:


- - - - - - - {% for feat in rep_data.ref_noimpl %} - - - - {% endfor %} -
APIData
- {% if feat.is_temp_feature -%} - {{ feat.ref }}
- {%- else -%} - {{ feat.ref }}
- {%- endif %} - Name: {{ feat.feat_name|e|xml_charref_replace }}
- Type: {{ feat.feat_type|e|xml_charref_replace }}
- ConfML: {{ feat.config_path }} -
- - - {% for data in feat.datas %} - {% if loop.first %} - - - - - - - - - {% else %} - - - - - {% endif %} - {% endfor %} -
LayerValue
{{ data.layer }}{{ data.value|e|xml_charref_replace }}
{{ data.layer }}{{ data.value|e|xml_charref_replace }}
- - - {% for data in feat.seq_data %} - {% if loop.first %} - - - - - - - - - {% else %} - - - - - {% endif %} - {% endfor %} -
SettingValue
{{ data[0] }} - {% for value in data[1] %} - {{ value|e|xml_charref_replace }}
- {% endfor %} -
{{ data[0] }} - {% for value in data[1] %} - {{ value|e|xml_charref_replace }}
- {% endfor %} -
-
-

Not generated output files:


- - - - - - {% for file in rep_data.missing_output_files %} - - - {% endfor %} -
Output file
- {{ file.filename }} -
- + \ No newline at end of file