microsoft / microsoft/vscode-remote-release
Dev Containers: provide a more useful log message when cloning Git URL into container volume
Open
@chrmarti is already working on this.
Since Jul 11, 2024.
bug
containers
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
STR:
- Run Dev Container: Clone into container volume
- Specify a GitHub Enterprise URL, such as https://github.mycorp.com/superorg/myRepo
- Observe the build log of the dev container
Even though I specified an explicit Git URL, the log tries to parse it into a (public) GitHub userOrg/repo form. That's not possible, hence the log ends up looking like that:
[535 ms] Cloning Github repository: unknown-owner/myRepo into /workspaces/myRepo
That makes debugging clone fails into the container much harder than it needs to be, because useful information is stripped out. Can the log message be adjusted to be more helpful, i.e., to contain the full Git URL of the repository that was cloned?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.