-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
community.general.make: #7180
community.general.make: #7180
Conversation
allows parameters without value closes #7178
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! How about adding an example in EXAMPLES
that shows how this works?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'll merge this in a couple of days if nobody objects.
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #7217 🤖 @patchback |
@snail59 thanks for your contribution! |
* community.general.make: allows parameters without value closes #7178 * add changelog fragment for community.general.make * correction: v != none -> v is not None * update fragment changelog as per developer request * add an example * document the modification * update example with comments as per maintainer request (cherry picked from commit 9021e74)
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #7218 🤖 @patchback |
* community.general.make: allows parameters without value closes #7178 * add changelog fragment for community.general.make * correction: v != none -> v is not None * update fragment changelog as per developer request * add an example * document the modification * update example with comments as per maintainer request (cherry picked from commit 9021e74)
community.general.make: (#7180) * community.general.make: allows parameters without value closes #7178 * add changelog fragment for community.general.make * correction: v != none -> v is not None * update fragment changelog as per developer request * add an example * document the modification * update example with comments as per maintainer request (cherry picked from commit 9021e74) Co-authored-by: snail59 <25689269+snail59@users.noreply.github.com>
* community.general.make: (#7180) * community.general.make: allows parameters without value closes #7178 * add changelog fragment for community.general.make * correction: v != none -> v is not None * update fragment changelog as per developer request * add an example * document the modification * update example with comments as per maintainer request (cherry picked from commit 9021e74) * Avoid semantic markup for stable-6. --------- Co-authored-by: snail59 <25689269+snail59@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>
* community.general.make: allows parameters without value closes ansible-collections#7178 * add changelog fragment for community.general.make * correction: v != none -> v is not None * update fragment changelog as per developer request * add an example * document the modification * update example with comments as per maintainer request
allows to use parameters with empty value in community.general.make.
SUMMARY
Currently, params with empty value get set as None, which is not useful and can lead to unexpected behavior.
fixes #7178
ISSUE TYPE
COMPONENT NAME
make
ADDITIONAL INFORMATION
Currently this code, used to build freebsd from sources:
produces
make -DWITH_FDT=None TARGET=arm64
whilemake -DWITH_FDT TARGET=arm64
is expected.Note the absence of "=None" for -DWITH_FDT.