Skip to content

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

@DrRataplan

Description

@DrRataplan

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://

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions