mirror of
https://github.com/odoo/runbot.git
synced 2025-04-05 01:31:54 +07:00
209 lines
8.3 KiB
XML
209 lines
8.3 KiB
XML
<odoo>
|
|
<data>
|
|
<record id="build_error_form" model="ir.ui.view">
|
|
<field name="name">runbot.build.error.form</field>
|
|
<field name="model">runbot.build.error</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<header>
|
|
</header>
|
|
<sheet>
|
|
<group name="build_error_group">
|
|
<field name="fingerprint"/>
|
|
<field name="content"/>
|
|
<field name="cleaned_content" groups="base.group_no_one"/>
|
|
<field name="module_name"/>
|
|
<field name="function"/>
|
|
<field name="random"/>
|
|
<field name="responsible"/>
|
|
<field name="fixing_commit"/>
|
|
<field name="active"/>
|
|
<field name="parent_id" />
|
|
<field name="branch_ids" widget="many2many_tags"/>
|
|
<field name="repo_ids" widget="many2many_tags"/>
|
|
<field name="tag_ids" widget="many2many_tags"/>
|
|
<field name="first_seen_date"/>
|
|
<field name="first_seen_build_id"/>
|
|
<field name="last_seen_date"/>
|
|
<field name="last_seen_build_id"/>
|
|
<field name="test_tags"/>
|
|
</group>
|
|
<notebook>
|
|
<page string="Builds">
|
|
<field name="build_ids" nolabel="1" widget="many2many" options="{'not_delete': True, 'no_create': True}">
|
|
<tree>
|
|
<field name="create_date"/>
|
|
<field name="id"/>
|
|
<field name="host" groups="base.group_no_one"/>
|
|
<field name="repo_id"/>
|
|
<field name="branch_id"/>
|
|
<field name="dest"/>
|
|
<field name="build_url" widget="url" readonly="1" text="View build"/>
|
|
</tree>
|
|
</field>
|
|
</page>
|
|
<page string="All Errors Builds">
|
|
<field name="children_build_ids" widget="many2many" options="{'not_delete': True, 'no_create': True}">
|
|
<tree>
|
|
<field name="create_date"/>
|
|
<field name="id"/>
|
|
<field name="host" groups="base.group_no_one"/>
|
|
<field name="repo_id"/>
|
|
<field name="branch_id"/>
|
|
<field name="dest"/>
|
|
<field name="build_url" widget="url" readonly="1" text="View build"/>
|
|
</tree>
|
|
</field>
|
|
</page>
|
|
<page string="Linked Errors">
|
|
<field name="child_ids" widget="many2many" options="{'not_delete': True, 'no_create': True}">
|
|
<tree>
|
|
<field name="create_date"/>
|
|
<field name="module_name"/>
|
|
<field name="summary"/>
|
|
<field name="build_count"/>
|
|
</tree>
|
|
</field>
|
|
</page>
|
|
<page string="Error history">
|
|
<field name="error_history_ids" widget="one2many" options="{'not_delete': True, 'no_create': True}">
|
|
<tree>
|
|
<field name="create_date"/>
|
|
<field name="module_name"/>
|
|
<field name="summary"/>
|
|
<field name="random"/>
|
|
<field name="build_count"/>
|
|
<field name="responsible"/>
|
|
<field name="fixing_commit"/>
|
|
</tree>
|
|
</field>
|
|
</page>
|
|
</notebook>
|
|
</sheet>
|
|
<div class="oe_chatter">
|
|
<field name="message_follower_ids" widget="mail_followers"/>
|
|
<field name="message_ids" widget="mail_thread"/>
|
|
</div>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="build_error_view_tree" model="ir.ui.view">
|
|
<field name="name">runbot.build.error.tree</field>
|
|
<field name="model">runbot.build.error</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Errors">
|
|
<field name="module_name"/>
|
|
<field name="summary"/>
|
|
<field name="random" string="Random"/>
|
|
<field name="last_seen_date" string="Last Seen"/>
|
|
<field name="build_count"/>
|
|
<field name="responsible"/>
|
|
<field name="fixing_commit"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="build_error_search_view" model="ir.ui.view">
|
|
<field name="name">runbot.build.error.log.filter</field>
|
|
<field name="model">runbot.build.error</field>
|
|
<field name="arch" type="xml">
|
|
<search string="Search errors">
|
|
<field name="content"/>
|
|
<field name="module_name"/>
|
|
<field name="function"/>
|
|
<field name="responsible"/>
|
|
<field name="fixing_commit"/>
|
|
<filter string="No Parent" name="no_parent_error" domain="[('parent_id', '=', False)]"/>
|
|
<separator/>
|
|
<filter string="Undeterministic" name="random_error" domain="[('random', '=', True)]"/>
|
|
<separator/>
|
|
<filter string="Fixed" name="fixed_errors" domain="[('active', '=', False)]"/>
|
|
<filter string="Not Fixed" name="not_fixed_errors" domain="[('active', '=', True)]"/>
|
|
<separator/>
|
|
<filter string="Not Assigned" name="not_assigned_errors" domain="[('responsible', '=', False)]"/>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="open_view_build_error_tree" model="ir.actions.act_window">
|
|
<field name="name">Build errors</field>
|
|
<field name="res_model">runbot.build.error</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="context">{'search_default_no_parent_error': True, 'search_default_random_error': True}</field>
|
|
</record>
|
|
|
|
<record id="build_error_regex_form" model="ir.ui.view">
|
|
<field name="name">runbot.error.regex.form</field>
|
|
<field name="model">runbot.error.regex</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<sheet>
|
|
<group name="build_regex_group">
|
|
<field name="regex"/>
|
|
<field name="re_type"/>
|
|
</group>
|
|
</sheet>
|
|
<div class="oe_chatter">
|
|
<field name="message_follower_ids" widget="mail_followers"/>
|
|
<field name="message_ids" widget="mail_thread"/>
|
|
</div>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="build_error_regex_tree" model="ir.ui.view">
|
|
<field name="name">runbot.error.regex.tree</field>
|
|
<field name="model">runbot.error.regex</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Errors Regexes">
|
|
<field name="sequence" widget="handle"/>
|
|
<field name="regex"/>
|
|
<field name="re_type"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="runbot_regex_search_view" model="ir.ui.view">
|
|
<field name="name">runbot.error.regex.filter</field>
|
|
<field name="model">runbot.error.regex</field>
|
|
<field name="arch" type="xml">
|
|
<search string="Search regex">
|
|
<field name="regex"/>
|
|
<filter string="Filtering regex's" name="filtering_regex" domain="[(['re_type', '=', 'filter'])]"/>
|
|
<filter string="Cleaning regex's" name="clening_regex" domain="[(['re_type', '=', 'cleaning'])]"/>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="open_view_error_regex" model="ir.actions.act_window">
|
|
<field name="name">Errors regex</field>
|
|
<field name="res_model">runbot.error.regex</field>
|
|
<field name="view_mode">tree,form</field>
|
|
</record>
|
|
|
|
<menuitem
|
|
name="Manage errors"
|
|
id="runbot_menu_manage_errors"
|
|
parent="runbot_menu_root"
|
|
sequence="40"
|
|
/>
|
|
|
|
<menuitem
|
|
name="Build errors"
|
|
id="runbot_menu_build_error_tree"
|
|
parent="runbot_menu_manage_errors"
|
|
sequence="10"
|
|
action="open_view_build_error_tree"
|
|
/>
|
|
|
|
<menuitem
|
|
name="Error regex"
|
|
id="runbot_menu_error_regex_tree"
|
|
parent="runbot_menu_manage_errors"
|
|
sequence="20"
|
|
action="open_view_error_regex"
|
|
/>
|
|
</data>
|
|
</odoo>
|