Skip to content
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

Conversation

maxamillion
Copy link
Contributor

Signed-off-by: Adam Miller admiller@redhat.com

SUMMARY

Fixes #49200

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

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

ansible-galaxy

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>
@bcoca
Copy link
Member

bcoca commented Nov 27, 2018

add changelog ? otherwise lgtm, also good candidate for backports

@abadger
Copy link
Contributor

abadger commented Nov 27, 2018

+1

@ansibot
Copy link
Contributor

ansibot commented Nov 27, 2018

Hi @maxamillion, thank you for submitting this pull-request!

click here for bot help

@ansibot 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 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>
@maxamillion maxamillion added the affects_2.7 This issue/PR affects Ansible v2.7 label Nov 28, 2018
@maxamillion
Copy link
Contributor Author

rebuild_merge

@ansibot 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
@ansibot ansibot merged commit 81540bd into ansible:devel 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)
@ansible ansible locked and limited conversation to collaborators Jul 22, 2019
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Traceback when ansible-galaxy tries to use "git" and it is not installed
5 participants