You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
Working on the #1667 I tried from Visual Studio to click on Sync to get one update of the sub modules
Here is the error in text
Synchronizing submodule url for 'script'
Synchronizing submodule url for 'submodules/akavache'
Synchronizing submodule url for 'submodules/octokit.net'
Synchronizing submodule url for 'submodules/reactiveui'
Synchronizing submodule url for 'submodules/splat'
Cloning into 'C:/Users/laure/projects/GithubVisualStudio/script'...
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:github/VisualStudioBuildScripts' into submodule path 'C:/Users/laure/projects/GithubVisualStudio/script' failed
Failed to clone 'script'. Retry scheduled
Cloning into 'C:/Users/laure/projects/GithubVisualStudio/script'...
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:github/VisualStudioBuildScripts' into submodule path 'C:/Users/laure/projects/GithubVisualStudio/script' failed
Failed to clone 'script' a second time, aborting
Oops, this is unfortunate. The submodule that needed to be updated in this case was akavache. You don't have access to github/VisualStudioBuildScripts because it's private to GitHub. All it means is that external developers need to manually populate the src/GitHub.Api/ApiClientConfiguration_User.cs key.
Don't worry about this unless you're experiencing other issues with it.
@laurentkempe did you do run git submodule deinit script after checkout as described in the build instructions? If so, then I think we have a bug because the submodule update shouldn't be trying to update that submodule.
I think this is a bit of a special case. It happens when a user does a Sync submodules on a repository that includes a submodule they don't have access to (in this case the script submodule).
I'm not sure what it would be best to do in this situation. The default error includes the following:
This error is correct and includes a reasonable suggestion.
Since this is an edge case and the error is correct, I'm going to close. Please let me know if you think I'm being too hasty!
Activity
jcansdale commentedon May 16, 2018
Oops, this is unfortunate. The submodule that needed to be updated in this case was
akavache. You don't have access togithub/VisualStudioBuildScriptsbecause it's private to GitHub. All it means is that external developers need to manually populate thesrc/GitHub.Api/ApiClientConfiguration_User.cskey.Don't worry about this unless you're experiencing other issues with it.
grokys commentedon May 16, 2018
@laurentkempe did you do run
git submodule deinit scriptafter checkout as described in the build instructions? If so, then I think we have a bug because the submodule update shouldn't be trying to update that submodule.laurentkempe commentedon May 17, 2018
@grokys I think I did, but I have a doubt now! I will do it again to see
laurentkempe commentedon May 17, 2018
@grokys I did a new checkout and followed the process and still get the same error!
drguthals commentedon Jun 28, 2018
I've had a similar error:

jcansdale commentedon Aug 7, 2018
I think this is a bit of a special case. It happens when a user does a Sync submodules on a repository that includes a submodule they don't have access to (in this case the
scriptsubmodule).I'm not sure what it would be best to do in this situation. The default error includes the following:
This error is correct and includes a reasonable suggestion.
Since this is an edge case and the error is correct, I'm going to close. Please let me know if you think I'm being too hasty!