Open jcansdale opened 7 years ago
A submodule cannot, by definition, be added without the parent repository tracking it - that's literally how submodules work.
The problem is that VS doesn't support ssh git urls and offers no skipping capabilities when it doesn't have credentials for a particular submodule - if VS handled skipping properly, this situation would at least be salvageable (probably want to report that to MS). What we can do is change to an https url instead of an ssh url so that VS can handle it properly, if it has the credentials for it.
A submodule cannot, by definition, be added without the parent repository tracking it - that's literally how submodules work.
Rather than adding it as a submodule (which I agree doesn't make sense), could we bootstrap the script repo in some other way? E.g. have a build script that first clones the script repo before executing the script that is used by CI.
What we can do is change to an https url instead of an ssh url so that VS can handle it properly, if it has the credentials for it.
It would be interesting to see how Visual Studio deals with this. With any luck we'd end up with all the public submodules and a warning that the private one hasn't been downloaded. This would be simpler than having to bootstrap anything.
@jcansdale do you still think is something that should be handled better?
What most people will likely try
https://github.com/github/VisualStudio.git
.Mountain of success
https://github.com/github/VisualStudio.git
VisualStudio
folder in 'Solution Explorer' and 'Open Developer Command Prompt'.GitHubVS.sln
.At the moment a simple clone only works if:
Resolution
Could we make it so that rather than having to deinit the script submodule, we add the script submodule when doing CI or local signed builds? There could be a script to do this so it wouldn't be too onerous.