From d7edc2b0d59034f9a2c1bed212c2e45f8e7c6e2a Mon Sep 17 00:00:00 2001 From: Nicolas Seinlet Date: Mon, 18 May 2015 09:04:30 +0200 Subject: [PATCH] [IMP] runbot: deprecate unused fields testing and running in repository are not used anymore since they are now two ir.config_parameter: - runbot.workers - runbot.running_max --- runbot/runbot.py | 8 +++----- runbot/runbot.xml | 5 ----- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/runbot/runbot.py b/runbot/runbot.py index c63b6f3a..3991d724 100644 --- a/runbot/runbot.py +++ b/runbot/runbot.py @@ -178,9 +178,9 @@ class runbot_repo(osv.osv): 'name': fields.char('Repository', required=True), 'path': fields.function(_get_path, type='char', string='Directory', readonly=1), 'base': fields.function(_get_base, type='char', string='Base URL', readonly=1), - 'testing': fields.integer('Concurrent Testing'), - 'running': fields.integer('Concurrent Running'), - 'jobs': fields.char('Jobs'), + 'testing': fields.integer('Concurrent Testing', deprecated=True), + 'running': fields.integer('Concurrent Running', deprecated=True), + 'jobs': fields.char('Jobs', deprecated=True), 'nginx': fields.boolean('Nginx'), 'auto': fields.boolean('Auto'), 'duplicate_id': fields.many2one('runbot.repo', 'Duplicate repo', help='Repository for finding duplicate builds'), @@ -194,8 +194,6 @@ class runbot_repo(osv.osv): 'group_ids': fields.many2many('res.groups', string='Limited to groups'), } _defaults = { - 'testing': 1, - 'running': 1, 'auto': True, } diff --git a/runbot/runbot.xml b/runbot/runbot.xml index 407af9c6..1f8d1f73 100644 --- a/runbot/runbot.xml +++ b/runbot/runbot.xml @@ -18,10 +18,7 @@