php-censor / php-censor

PHP Censor is an open source self-hosted continuous integration server for PHP projects.

Home Page:http://php-censor.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] build_settings: Opposite of ignore?

kromonos opened this issue · comments

I'm playing around a bit with the build_settings and couldn't find in the documents, what I need.
In my current case, I would like to exclude a "/plugins" directory with ignore, but I would also like to include various plugins that come from me personally like "/plugins/my_own_plugin", so that they're getting catched by the tests although the parent folder has been excluded.
Is there a include part, or an option to negate? I.e.:

build_settings:
    ignore:
        - vendor
        - tests
        - user/plugins
        - ! user/plugins/scrapper

@kromonos For now we don't have excluding items for "ignore" section. But it is a good idea for the future feature.

It depends on capabilities of external executables. Ignore list is passed as command line argument in most plugins, but none of them has way to invert ignore.

Not relevant now.