diff --git a/runbot/models/commit.py b/runbot/models/commit.py index f8257756..95886d7d 100644 --- a/runbot/models/commit.py +++ b/runbot/models/commit.py @@ -25,7 +25,7 @@ class Commit(models.Model): ) ] name = fields.Char('SHA') - tree_hash = fields.Char('Tree hash') + tree_hash = fields.Char('Tree hash', readonly=True) repo_id = fields.Many2one('runbot.repo', string='Repo group') date = fields.Datetime('Commit date') author = fields.Char('Author') diff --git a/runbot/templates/commit.xml b/runbot/templates/commit.xml index c3422ed1..12591537 100644 --- a/runbot/templates/commit.xml +++ b/runbot/templates/commit.xml @@ -36,6 +36,12 @@ + + Tree hash + + + + Repo diff --git a/runbot/views/commit_views.xml b/runbot/views/commit_views.xml index 898d2672..44b064ed 100644 --- a/runbot/views/commit_views.xml +++ b/runbot/views/commit_views.xml @@ -8,6 +8,7 @@ + @@ -29,6 +30,7 @@ +