-
Notifications
You must be signed in to change notification settings - Fork 23.7k
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
require git when trying to use it in ansible-galaxy cli #49212
Merged
ansibot
merged 2 commits into
ansible:devel
from
maxamillion:bugfix/49200-ansible-galaxy-traceback-when-git-missing
Nov 28, 2018
Merged
require git when trying to use it in ansible-galaxy cli #49212
ansibot
merged 2 commits into
ansible:devel
from
maxamillion:bugfix/49200-ansible-galaxy-traceback-when-git-missing
Nov 28, 2018
Conversation
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
Previously we weren't setting `required=True` when calling `get_bin_path` and the path would return `None`, this would cause a traceback when attempting to ' '.join() to create a string representation of the failed command for error output Fixes ansible#49200 Signed-off-by: Adam Miller <admiller@redhat.com>
add changelog ? otherwise lgtm, also good candidate for backports |
bcoca
approved these changes
Nov 27, 2018
+1 |
Hi @maxamillion, thank you for submitting this pull-request! |
ansibot
added
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
needs_triage
Needs a first human triage before being processed.
shipit
This PR is ready to be merged by Core
small_patch
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
labels
Nov 27, 2018
Akasurde
approved these changes
Nov 28, 2018
Akasurde
removed
the
needs_triage
Needs a first human triage before being processed.
label
Nov 28, 2018
Signed-off-by: Adam Miller <admiller@redhat.com>
rebuild_merge |
ansibot
added
core_review
In order to be merged, this PR must follow the core review workflow.
support:community
This issue/PR relates to code supported by the Ansible community.
and removed
shipit
This PR is ready to be merged by Core
small_patch
labels
Nov 28, 2018
maxamillion
added a commit
to maxamillion/ansible
that referenced
this pull request
Nov 28, 2018
* require git when trying to use it in ansible-galaxy cli Previously we weren't setting `required=True` when calling `get_bin_path` and the path would return `None`, this would cause a traceback when attempting to ' '.join() to create a string representation of the failed command for error output Fixes ansible#49200 Signed-off-by: Adam Miller <admiller@redhat.com> * add changelog Signed-off-by: Adam Miller <admiller@redhat.com> (cherry picked from commit 81540bd)
abadger
pushed a commit
that referenced
this pull request
Dec 4, 2018
* require git when trying to use it in ansible-galaxy cli Previously we weren't setting `required=True` when calling `get_bin_path` and the path would return `None`, this would cause a traceback when attempting to ' '.join() to create a string representation of the failed command for error output Fixes #49200 Signed-off-by: Adam Miller <admiller@redhat.com> * add changelog Signed-off-by: Adam Miller <admiller@redhat.com> (cherry picked from commit 81540bd)
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
affects_2.7
This issue/PR affects Ansible v2.7
affects_2.8
This issue/PR affects Ansible v2.8
bug
This issue/PR relates to a bug.
core_review
In order to be merged, this PR must follow the core review workflow.
support:community
This issue/PR relates to code supported by the Ansible community.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
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.
Signed-off-by: Adam Miller admiller@redhat.com
SUMMARY
Fixes #49200
Previously we weren't setting
required=True
when callingget_bin_path
and the path would returnNone
, this would cause a traceback when attempting to ' '.join() to create a string representation of the failed command for error outputISSUE TYPE
COMPONENT NAME
ansible-galaxy