[openstreetmap/openstreetmap-website] Vendorer fails due to new GitHub security improvements (Issue #3415)
Dakota Benjamin
notifications at github.com
Tue Jan 11 20:44:10 UTC 2022
### Description
I was building openstreetmap-website using [OSM Seed](https://github.com/developmentseed/osm-seed/) and received an error while running the vendorer.
```
/var/.gem/ruby/gems/vendorer-0.2.0/lib/vendorer.rb:92:in `run': Failed: git clone git://github.com/aratcliffe/Leaflet.contextmenu.git /tmp/d20220111-9-1y7dtc1 2>&1 (RuntimeError)
Cloning into '/tmp/d20220111-9-1y7dtc1'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
```
The Vendorer file contains references to github repos using the git:// protocol, which is not supported anymore. I tested changing them all to `https://` instead and that worked for me. I don't know if the Vendorer is used in production, but I am happy to make a PR if that would be worthwhile.
### Screenshots
_No response_
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3415
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/3415 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220111/c4048a9d/attachment.htm>
More information about the rails-dev
mailing list