migration/1.5.0_Any.py
author David Douard <david.douard@logilab.fr>
Fri, 14 Nov 2014 12:31:47 +0100
changeset 1776 f1a23fc56270
parent 329 e0d5e712df12
permissions -rw-r--r--
[narval] lgp and pkginfo now lives in logilab-packaging And pkginfo is in fact mandatory for the python checkers. Also ensure lgp checkers are properly disabled if lgp is not found.

if 'nosylist' in config.cubes():
    add_relation_definition('CWUser', 'interested_in', 'ProjectEnvironment')
    add_relation_definition('CWUser', 'interested_in', 'TestConfig')
    add_relation_definition('TestConfig', 'nosy_list', 'CWUser')
    add_relation_definition('ProjectEnvironment', 'nosy_list', 'CWUser')
    add_relation_definition('TestExecution', 'nosy_list', 'CWUser')

sync_schema_props_perms(('TestConfig', 'name', 'String'))
sync_schema_props_perms('use_environment')