apache / incubator-pagespeed-ngx

Automatic PageSpeed optimization module for Nginx
http://ngxpagespeed.com/
Apache License 2.0
4.37k stars 363 forks source link

git.apache.org times out when cloning #1722

Closed eilandert closed 3 years ago

eilandert commented 3 years ago

Situation: When cloning/pulling with recursive submodules git://git.apache.org times out.

Background: git.apache.org is permanently down after a crash a while ago, repositories are moved to github. but internal links are probably never changed.

Assessment: In ngx_pagespeed/testing-dependencies/mod_pagespeed/.gitmodules are still some old links to git.apache.org

Recommendation: cd ngx_pagespeed/testing-dependencies/mod_pagespeed git submodule set-url third_party/apr/src https://github.com/apache/apr.git git submodule set-url third_party/httpd24/src https://github.com/apache/httpd.git git submodule set-url third_party/aprutil/src https://github.com/apache/apr-util.git git submodule set-url third_party/httpd/src https://github.com/apache/httpd.git git submodule set-url third_party/serf/src https://github.com/apache/serf.git

git pull --recurse-submodules

Lofesa commented 3 years ago

What version are you trying to clone or from where get you these software? These git files come from pagespeed for apache and the url are updated more than a year ago: https://github.com/apache/incubator-pagespeed-mod/blob/v1.14.36.1/.gitmodules

eilandert commented 3 years ago

from master actually, new clone. never had this problem until now

actual command: git clone --depth=1 -c advice.detachedHead=false https://github.com/apache/incubator-pagespeed-ngx.git ngx_pagespeed

eilandert commented 3 years ago

its actually no concern anymore, since I discovered I had to use the other repository to build psol! ouch

Lofesa commented 3 years ago

Or use a pre-build psol library