Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Usage of deprecated and removed git:// protocol #53

Open
DrRataplan opened this issue Nov 20, 2024 · 0 comments
Open

[BUG] Usage of deprecated and removed git:// protocol #53

DrRataplan opened this issue Nov 20, 2024 · 0 comments

Comments

@DrRataplan
Copy link

Describe the bug
This repo uses the deprecated git:// protocol in the README and in the git submodules (and the submodules of the submodules).

Expected behavior

  1. The whole repository can be recursively checked out.

To Reproduce

  1. run git clone git://github.com/eXist-db/shared-resources.git /tmp/shared-resources --recursive
  2. Wait

Context (please always complete the following information):
Not relevant

Additional context
The git:// protocol is deprecated and removed. In 2022. https://github.blog/security/application-security/improving-git-protocol-security-github/#no-more-unauthenticated-git.

The upstream ace submodule fixed this: ajaxorg/ace@69edbf9. This is released a few patch versions higher than the current version. We're now somewhere between 1.1.3 and 1.1.4, this is released as part of 1.1.7.

I am trying to locally clone this app so I can locally deploy a very old ExistDB app (currently on 5.2.0). I will remove the usage of shared-resources, but as a later step to prevent any rabbit holes.

I dont expect a fix. But I'm filing this issue to suggest a workaround to future code archeologists running into the same issue:
Workaround:

# Replace `git://` with `https://` for all clones
git config --global url."https://".insteadOf git://
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant