devhome icon indicating copy to clipboard operation
devhome copied to clipboard

Option to configure from a file, with no way to export current configuration

Open localden opened this issue 2 years ago • 7 comments

I am not sure what configuration file I can use here since there are no pointers anywhere in the UI about it. There is also no obvious way to export the current configuration.

image

localden avatar May 23 '23 16:05 localden

👍 Was expecting a Export-button on the last page (Review & finish) of end-to-end setup wizard.

fflaten avatar May 23 '23 17:05 fflaten

The YAML input expected here is a WinGet Configuration file.

Examples:

AmelBawa-msft avatar May 24 '23 02:05 AmelBawa-msft

@AmelBawa-msft this issue is not necessarily related to the configuration file that I can import, but rather - I would expect an option to export the configuration after it was created through Dev Home.

localden avatar May 24 '23 03:05 localden

@localden thank you for the question and request. Adding PM @shakersMSFT to help with feature requests in the setup flow.

AmelBawa-msft avatar May 24 '23 03:05 AmelBawa-msft

I know we have a DSC resource for winget, so a configuration file can include installed apps. But do we have DSC resources for git or Dev Drive? I'm also not sure how/if the configuration code handles accounts to be able to clone private repos

florelis avatar May 24 '23 19:05 florelis

I know we have a DSC resource for winget, so a configuration file can include installed apps. But do we have DSC resources for git or Dev Drive? I'm also not sure how/if the configuration code handles accounts to be able to clone private repos

@florelis, we don't have any DSC resources for git or Dev Drive. Currently for winget configure, we just assume that the github repository has already been cloned separately.

ryfu-msft avatar May 25 '23 21:05 ryfu-msft

For creating the yaml configuration from the current machine state, I think the foundational work would be microsoft/winget-cli#3274. We would still need to integrate it into the Dev Home UI, but detecting the state and creating the file would probably be on the winget side

For creating a yaml configuration from the step by step setup provided by Dev Home, I think on the Dev Home side we could create one for applications, but for cloning and Dev Drive we would first need to have DSC resources for that

florelis avatar May 26 '23 19:05 florelis

related to #685

soroshsabz avatar Jul 14 '23 22:07 soroshsabz

Hi, we are currently exploring how we might accomplish this through Dev Home. Please take a look and let us know what you think! https://github.com/microsoft/devhome/issues/2160

shakersMSFT avatar Jan 19 '24 23:01 shakersMSFT

fixed by https://github.com/microsoft/devhome/pull/2466

shakersMSFT avatar May 17 '24 19:05 shakersMSFT