Add "Profile" to modulemd format

This commit is contained in:
Mustafa Gezen 2021-04-18 07:59:11 +02:00
parent 85ff2d3a60
commit 5f6f402793
1 changed files with 4 additions and 0 deletions

View File

@ -73,6 +73,10 @@ type ModuleMd struct {
Description string `yaml:"description,omitempty"`
Rpms []string `yaml:"rpms,omitempty"`
} `yaml:"profiles,omitempty"`
Profile map[string]*struct {
Description string `yaml:"description,omitempty"`
Rpms []string `yaml:"rpms,omitempty"`
} `yaml:"profile,omitempty"`
API struct {
Rpms []string `yaml:"rpms,omitempty"`
} `yaml:"api,omitempty"`