diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -672,9 +672,14 @@ class Project(object): | |||
672 | project_groups: "all,group1,group2" | 672 | project_groups: "all,group1,group2" |
673 | manifest_groups: "-group1,group2" | 673 | manifest_groups: "-group1,group2" |
674 | the project will be matched. | 674 | the project will be matched. |
675 | |||
676 | The special manifest group "default" will match any project that | ||
677 | does not have the special project group "notdefault" | ||
675 | """ | 678 | """ |
676 | expanded_manifest_groups = manifest_groups or ['all', '-notdefault'] | 679 | expanded_manifest_groups = manifest_groups or ['default'] |
677 | expanded_project_groups = ['all'] + (self.groups or []) | 680 | expanded_project_groups = ['all'] + (self.groups or []) |
681 | if not 'notdefault' in expanded_project_groups: | ||
682 | expanded_project_groups += ['default'] | ||
678 | 683 | ||
679 | matched = False | 684 | matched = False |
680 | for group in expanded_manifest_groups: | 685 | for group in expanded_manifest_groups: |