You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- name: configure git to use https and not native git protocol
command: git config --global url."https://".insteadOf "git://"
and it works well in testing. Previous multi-hour hangs caused by composer trying to build drush by referencing dozens of github repos via git:// addresses are now avoided successfully.
This seems like a good improvement—but I'll leave it as a configurable option (e.g. using when: git_use_https_instead_of_git_protocol) so users can stick to git:///other protocols by default, and configure https if needed.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This is a single line change which will allow all those working in typically restrictive corporate networks to access all git repos current inaccessible on port 9148.
This is what I adopted in my forked repo at https://github.com/danryu/ansible-role-git/blob/master/tasks/main.yml#L17
and it works well in testing. Previous multi-hour hangs caused by composer trying to build drush by referencing dozens of github repos via git:// addresses are now avoided successfully.
Background provided in debugging outlined in geerlingguy/drupal-vm#101
The text was updated successfully, but these errors were encountered: