site_cubicweb.py
author David Douard <david.douard@logilab.fr>
Fri, 14 Nov 2014 12:51:47 +0100
changeset 1740 f3137466457a
parent 512 d10afd44fd81
permissions -rw-r--r--
Big Refactoring (BR) of the test execution model Get rid of narval preprocessors in favor of Recipes - Each preprocessing recipe must be run from the "main" recipe (thus we add a ATest.exec_recipe() method that can be called from Recipe execution). - We add a (Repository, checkout_recipe, Recipe) relation, which is the Recipe that tells how to retrieve the code for a given Repository - Also add a (ProjectEnvironment, setup_recipe, Recip) dedicated to perform the installation for a project (compile and install) - Add implementations for these recipes for Python project - Rewrite the quick recipe using this new model

# 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,
      }),
    )