ansible-config_template/lookup
Matt Thompson b0a64302c4 Strip .git from _git_repo variables
Several GitLab users have said that they have to include the .git in
in the URL of their _git_repo variable overrides and then subsequently
override the package name using _git_package_name.  Failing to do this
means the repo is cloned with .git in the directory name.

This change updates lookup/py_pkgs.py to strip a trailing newline,
a trailing .git, or a trailing .git/ from _git_repo variables.

Change-Id: I174ab1398be8e180c346ea29fa71238cc3698c45
2016-03-03 08:46:50 +00:00
..
py_pkgs.py Strip .git from _git_repo variables 2016-03-03 08:46:50 +00:00