anishathalye / dotbot

A tool that bootstraps your dotfiles ⚡️
MIT License
6.91k stars 288 forks source link

Update pyenv git repo URI #303

Closed kurtmckee closed 2 years ago

kurtmckee commented 2 years ago

I received the following error while running vagrant up as a part of the setup instructions to run the test suite:

==> default: Running provisioner: shell...
    default: Running: inline script
    default: Cloning into '/home/vagrant/.pyenv'...
    default: fatal: remote error:
    default:   The unauthenticated git protocol on port 9418 is no longer supported.
    default: Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.

The existing URL in the Vagrantfile is git://github.com/yyuu/pyenv.git. There are two supported alternatives:

  1. git@github.com:pyenv/pyenv.git
  2. https://github.com/pyenv/pyenv.git

The first option doesn't immediately work without changes to the SSH environment in the guest OS that vagrant sets up. Therefore I recommend going with the second option, HTTPS.