devhome icon indicating copy to clipboard operation
devhome copied to clipboard

Environments: Repo cloned onto Microsoft Dev Box contains redundant folder in destination path

Open adrastogi opened this issue 1 year ago • 4 comments

Dev Home version

0.1801.621.0

Windows build number

10.0.26290.5000

Other software

OS Build Version: 10.0.26290.5000.amd64fre.ge_current_directadept.240911-1743 .NET Version: .NET 8.0.8

Steps to reproduce the bug

In Dev Home on the Environments page:

  1. Choose a Microsoft Dev Box image and select the 'Set up' option
  2. Clone https://github.com/microsoft/devhomeazureextension
  3. Specify C:\users<username>\source\repos as the destination directory on the Dev Box

Expected result

The repository is cloned to that location on the Microsoft Dev Box

Actual result

When I check the expected location of the repository, there's an extra folder in the path matching the name of the repository (i.e., it is cloned to C:\users<username>\source\repos\devhomeazureextension\devhomeazureextension).

Image

Included System Information

CPU: 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz Physical Memory: 31.83GB (13.95GB free) Processor Architecture: x64

Included Extensions Information

Extensions: Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Core Widget Extension) Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Hyper-V Extension) Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Windows Subsystem for Linux Extension) Microsoft.Windows.DevHome_0.1701.597.0_x64__8wekyb3d8bbwe (Git) Microsoft.Windows.DevHomeGitHubExtension_0.1700.597.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Preview)) Microsoft.Windows.DevHomeAzureExtension_0.1200.597.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Preview)) Microsoft.Windows.DevHome.Canary_0.1801.621.0_x64__8wekyb3d8bbwe (Core Widget Extension) Microsoft.Windows.DevHome.Canary_0.1801.621.0_x64__8wekyb3d8bbwe (Hyper-V Extension) Microsoft.Windows.DevHome.Canary_0.1801.621.0_x64__8wekyb3d8bbwe (Windows Subsystem for Linux Extension) Microsoft.Windows.DevHome.Canary_0.1801.621.0_x64__8wekyb3d8bbwe (Git (Canary)) Microsoft.Windows.DevHomeGitHubExtension.Canary_0.1800.621.0_x64__8wekyb3d8bbwe (Dev Home GitHub Extension (Canary)) Microsoft.Windows.DevHomeAzureExtension.Canary_0.1300.621.0_x64__8wekyb3d8bbwe (Dev Home Azure Extension (Canary))

Widget Service: MicrosoftWindows.Client.WebExperience_524.25601.0.0_x64__cw5n1h2txyewy Microsoft.WidgetsPlatformRuntime_1.5.0.0_x64__8wekyb3d8bbwe

adrastogi avatar Sep 15 '24 05:09 adrastogi

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

github-actions[bot] avatar Sep 15 '24 05:09 github-actions[bot]

In my case I see the redundant folder with the .git extension image

@dhoehna could you help us better understand this design decision?

huzaifa-d avatar Sep 24 '24 17:09 huzaifa-d

could you help us better understand this design decision?

This isn't a design decision. This should not happen.

I can check out why this is happening.

dhoehna avatar Sep 25 '24 18:09 dhoehna

@adrastogi does this behavior repro with other repositories, or just DevHomeAzureExtension?

dhoehna avatar Sep 25 '24 18:09 dhoehna