config: Allow comps_file for any gather_source
It only affects gathering packages when gather_source is set to comps, but it could still make sense to include the file in the repository even if the not used for gathering. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
68fdef451c
commit
2819311d6e
@ -1138,7 +1138,6 @@ CONFIG_DEPS = {
|
||||
"gather_source": {
|
||||
"conflicts": [
|
||||
(lambda val: val != 'json', ['gather_source_mapping']),
|
||||
(lambda val: val != 'comps', ['comps_file']),
|
||||
],
|
||||
"requires": [
|
||||
(lambda val: val == 'json', ['gather_source_mapping']),
|
||||
|
@ -247,8 +247,7 @@ class GatherConfigTestCase(ConfigTestCase):
|
||||
|
||||
self.assertValidation(
|
||||
cfg,
|
||||
[checks.REQUIRES.format('gather_source', 'json', 'gather_source_mapping'),
|
||||
checks.CONFLICTS.format('gather_source', 'json', 'comps_file')])
|
||||
[checks.REQUIRES.format('gather_source', 'json', 'gather_source_mapping')])
|
||||
|
||||
|
||||
class OSBSConfigTestCase(ConfigTestCase):
|
||||
|
Loading…
Reference in New Issue
Block a user