multibuild: add buildemptyflavor attribute to _multibuild xml#1124
Open
rjd15372 wants to merge 1 commit intoopenSUSE:masterfrom
Open
multibuild: add buildemptyflavor attribute to _multibuild xml#1124rjd15372 wants to merge 1 commit intoopenSUSE:masterfrom
buildemptyflavor attribute to _multibuild xml#1124rjd15372 wants to merge 1 commit intoopenSUSE:masterfrom
Conversation
This commit adds support for a new `_multibuild` root attribute, `buildemptyflavor`, with boolean values `true|false`. With this attribute we can control whether the base package should be built or not when using multibuilds. In summary this implementation includes: * Extend multibuild XML parsing to accept `buildemptyflavor`. * Validate `buildemptyflavor` in multibuild verification logic. * Keep existing behavior by default (true when unset): build base package plus flavored packages. * When `buildemptyflavor="false"`, skip the base package task and build only `pkg:flavor` entries. Signed-off-by: Ricardo Dias <ricardo.dias@percona.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit adds support for a new
_multibuildroot attribute,buildemptyflavor, with boolean valuestrue|false.With this attribute we can control whether the base package should be built or not when using multibuilds.
In summary this implementation includes:
buildemptyflavor.buildemptyflavorin multibuild verification logic.buildemptyflavor="false", skip the base package task and build onlypkg:flavorentries.