Skip to content

Recursive clone of circuitpython fails due to bad submodule path #2762

@larsks

Description

@larsks

The circuitpython repository includes the following submodule:

[submodule "extmod/ulab"]
        path = extmod/ulab
        url = https://github.com/v923z/micropython-ulab/

The trailing slash on the repository URL causes a failure when trying to clone it:

$ git clone https://github.com/v923z/micropython-ulab/
Cloning into 'micropython-ulab'...
ERROR: Repository not found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

This results in a failure when trying to clone circuitpython using git clone --recurse-submodules or when running git submodule update.

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