-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass both raw NSVs and moduledefs to module variants template
Signed-off-by: Patrick Uiterwijk <[email protected]>
- Loading branch information
1 parent
c51e7fa
commit dd4f6d1
Showing
3 changed files
with
76 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 9 additions & 1 deletion
10
bodhi/tests/server/consumers/pungi.basepath/variants.module.xml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,9 @@ | ||
This file doesn't need to have a real Pungi config, it just needs to exist. | ||
Raw NSVs: | ||
[%- for module in modules %] | ||
[[ module ]] | ||
[%- endfor %] | ||
|
||
Calculated NSVCs: | ||
[%- for module in moduledefs %] | ||
[[ module.name ]]:[[ module.stream ]]:[[ module.version ]]:[[ module.context ]] | ||
[% endfor %] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters