pyenv / pyenv-installer

This tool is used to install `pyenv` and friends.
MIT License
3.96k stars 428 forks source link

fix: Offline installer invalid git URLs #140

Closed bigpick closed 1 year ago

bigpick commented 1 year ago

Info

Fixes https://github.com/pyenv/pyenv-installer/issues/139.

Before

./download-pyenv-package.sh
Cloning into 'pyenv'...
fatal: unable to connect to github.com:
github.com[0: 140.82.112.4]: errno=Operation timed out

Cloning into 'pyenv-doctor'...
fatal: unable to connect to github.com:
github.com[0: 140.82.112.4]: errno=Operation timed out
...

After

./download-pyenv-package.sh
Cloning into 'pyenv'...
remote: Enumerating objects: 22220, done.
remote: Counting objects: 100% (288/288), done.
remote: Compressing objects: 100% (161/161), done.
remote: Total 22220 (delta 152), reused 237 (delta 111), pack-reused 21932
Receiving objects: 100% (22220/22220), 4.49 MiB | 9.72 MiB/s, done.
Resolving deltas: 100% (15014/15014), done.
...
bigpick commented 1 year ago

https://github.com/pyenv/pyenv-installer/issues/139#issuecomment-1332994418