site_cubicweb.py
author David Douard <david.douard@logilab.fr>
Thu, 20 Nov 2014 20:04:18 +0100
changeset 1774 873c8740c429
parent 512 d10afd44fd81
permissions -rw-r--r--
[hooks] fix start_period_tests due to a change of API in vcsfile HGRepo.branch_heads may return draft changesets. Also make start_period_tests return the list of the started TE eids. The test StartTestTC.launch_all_tests() method has also been updated to ask head revisions to the hg hgepo itself iinstead of trying to compute it from database.

# XXX only for all-in-one or repository config
options = (
    ('test-master',
     {'type' : 'yn',
      'default' : True,
      'help': ('Is the repository responsible to automatically start test? '
               'You should say yes unless you use a multiple repositories '
               'setup, in which case you should say yes on one repository, '
               'no on others'),
      'group': 'apycot', 'level': 1,
      }),
    )