From 1c420c4bab763fc5da8ff50f681e3b6133fb68f1 Mon Sep 17 00:00:00 2001 From: William Braeckman Date: Thu, 27 Feb 2025 15:43:42 +0100 Subject: [PATCH] [IMP] runbot: add tracking on tags min/max version Just as useful as tracking the test-tags itself. --- runbot/models/build_error.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runbot/models/build_error.py b/runbot/models/build_error.py index f307330c..26751eeb 100644 --- a/runbot/models/build_error.py +++ b/runbot/models/build_error.py @@ -100,8 +100,8 @@ class BuildError(models.Model): fixing_pr_url = fields.Char('Fixing PR url', related='fixing_pr_id.branch_url') test_tags = fields.Char(string='Test tags', help="Comma separated list of test_tags to use to reproduce/remove this error", tracking=True) - tags_min_version_id = fields.Many2one('runbot.version', 'Tags Min version', help="Minimal version where the test tags will be applied.") - tags_max_version_id = fields.Many2one('runbot.version', 'Tags Max version', help="Maximal version where the test tags will be applied.") + tags_min_version_id = fields.Many2one('runbot.version', 'Tags Min version', help="Minimal version where the test tags will be applied.", tracking=True) + tags_max_version_id = fields.Many2one('runbot.version', 'Tags Max version', help="Maximal version where the test tags will be applied.", tracking=True) common_qualifiers = JsonDictField('Common Qualifiers', compute='_compute_common_qualifiers', store=True, help="Minimal qualifiers in common needed to link error content.") similar_ids = fields.One2many('runbot.build.error', compute='_compute_similar_ids', string="Similar Errors", help="Similar Errors based on common qualifiers")