Skip to content

Incomplete clone for regular users #1

Description

@pepak-net

RESearch project settings prevents proper cloning of the plugin for regular users (without Github accounts or without login info saved in their local Git):

git clone --recurse-submodules https://github.com/Cavaler/RESearch

The user expects that the repository will be cloned, but that is only true for the plugin itself, not for OwnLibrary:

Cloning into 'D:/Tmp/y/RESearch/OwnLibrary'...
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:Cavaler/OwnLib.git' into submodule path 'D:/Tmp/y/RESearch/OwnLibrary' failed
Failed to clone 'OwnLibrary'. Retry scheduled

It would be best if the public source contained a HTTPS URL in .gitmodules:

[submodule "OwnLibrary"]
	path = OwnLibrary
	url = https://github.com/Cavaler/OwnLib.git

and the ssh one was only present in your local .git\config file. The you'd be able to work normally with your code but people who clone the repository would get their own functional copy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions