-
Notifications
You must be signed in to change notification settings - Fork 320
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2257 from microsoft/main
Staging - 2/13/24
- Loading branch information
Showing
18 changed files
with
134 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
common/TelemetryEvents/SetupFlow/RepoTool/RepoConfigEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
using System; | ||
using DevHome.Telemetry; | ||
using Microsoft.Diagnostics.Telemetry; | ||
using Microsoft.Diagnostics.Telemetry.Internal; | ||
|
||
namespace DevHome.Common.TelemetryEvents.SetupFlow.RepoTool; | ||
|
||
public class RepoConfigEvent : EventBase | ||
{ | ||
public override PartA_PrivTags PartA_PrivTags => PrivTags.ProductAndServiceUsage; | ||
|
||
public string Action | ||
{ | ||
get; | ||
} | ||
|
||
public RepoConfigEvent(string action) | ||
{ | ||
Action = action; | ||
} | ||
|
||
public override void ReplaceSensitiveStrings(Func<string, string> replaceSensitiveStrings) | ||
{ | ||
// No sensitive strings to replace. | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
common/TelemetryEvents/SetupFlow/RepoTool/RepoInfoModificationEvent.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
|
||
using System; | ||
using DevHome.Telemetry; | ||
using Microsoft.Diagnostics.Telemetry; | ||
using Microsoft.Diagnostics.Telemetry.Internal; | ||
|
||
namespace DevHome.Common.TelemetryEvents.SetupFlow.RepoTool; | ||
|
||
public class RepoInfoModificationEvent : EventBase | ||
{ | ||
public override PartA_PrivTags PartA_PrivTags => PrivTags.ProductAndServiceUsage; | ||
|
||
public string ModificationType | ||
{ | ||
get; | ||
} | ||
|
||
public RepoInfoModificationEvent(string modificationType) | ||
{ | ||
ModificationType = modificationType; | ||
} | ||
|
||
public override void ReplaceSensitiveStrings(Func<string, string> replaceSensitiveStrings) | ||
{ | ||
// No sensitive strings to replace. | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
## Understanding WinGet Configuration Files | ||
This folder contains a WinGet Configuration File (*configuration.dsc.yaml*) that will work with the Windows Package Manager command line interface (`winget configure --file [path: configuration.dsc.yaml]`) or can be run using Microsoft Dev Home Device Configuration. | ||
This folder contains a [Windows Package Manager](https://learn.microsoft.com/en-us/windows/package-manager/winget/) (WinGet) [Configuration File](https://learn.microsoft.com/en-us/windows/package-manager/configuration/) (*configuration.dsc.yaml*) that will work with the WinGet command line interface (`winget configure --file [path: configuration.dsc.yaml]`) or can be run using [Microsoft Dev Home](https://learn.microsoft.com/en-us/windows/dev-home/) Device Configuration. | ||
|
||
When run, the `configuration.dsc.yaml` file will install the following list of applications: | ||
* Microsoft Visual Studio Community 2022 | ||
* Required Visual Studio Workloads (ManagedDesktop, Universal) | ||
* GitHub Desktop | ||
|
||
|
||
The `configuration.dsc.yaml` file will also enable [Developer Mode](https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging) on your device. | ||
|
||
## How to use the WinGet Configuration File | ||
The following two options are available for running a WinGet Configuration file on your device. | ||
|
||
### Windows Package Manager | ||
### 1. Windows Package Manager | ||
1. Download the `configuration.dsc.yaml` file to your computer. | ||
1. Open your Windows Start Menu, search and launch "*Windows Terminal*". | ||
1. Type the following: `CD [C:\Users\User\Download]` | ||
1. Type the following: `CD <C:\Users\User\Download>` | ||
1. Type the following: `winget configure --file .\configuration.dsc.yaml` | ||
|
||
### Dev Home | ||
### 2. Dev Home | ||
1. Download the `configuration.dsc.yaml` file to your computer. | ||
1. Open your Windows Start Menu, search and launch "*Dev Home*". | ||
1. Select the *Machine Configuration* button on the left side navigation. | ||
1. Select the *Configuration file* button | ||
1. Locate and open the WinGet Configuration file downloaded in "step 1". | ||
1. Select the "I agree and want to continue" checkbox. | ||
1. Select the "Set up as admin" button. | ||
|
||
## Issues with Configuration file | ||
If you experience an issue with running the provided WinGet Configuration file, you can submit a [new issue report](https://github.com/microsoft/devhome/issues/new/choose), or [search existing issues](https://github.com/microsoft/devhome/issues) for a pre-existing issue filed by another user. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
## Understanding WinGet Configuration Files | ||
This folder contains a WinGet Configuration File (*configuration.dsc.yaml*) that will work with the Windows Package Manager command line interface (`winget configure --file [path: configuration.dsc.yaml]`) or can be run using Microsoft Dev Home Device Configuration. | ||
This folder contains a [Windows Package Manager](https://learn.microsoft.com/en-us/windows/package-manager/winget/) (WinGet) [Configuration File](https://learn.microsoft.com/en-us/windows/package-manager/configuration/) (*configuration.dsc.yaml*) that will work with the WinGet command line interface (`winget configure --file [path: configuration.dsc.yaml]`) or can be run using [Microsoft Dev Home](https://learn.microsoft.com/en-us/windows/dev-home/) Device Configuration. | ||
|
||
When run, the `configuration.dsc.yaml` file will install the following list of applications: | ||
* Microsoft Visual Studio Community 2022 | ||
* Required Visual Studio Workloads (NativeDesktop, Universal) | ||
* GitHub Desktop | ||
|
||
|
||
The `configuration.dsc.yaml` file will also enable [Developer Mode](https://learn.microsoft.com/en-us/windows/apps/get-started/developer-mode-features-and-debugging) on your device. | ||
|
||
## How to use the WinGet Configuration File | ||
The following two options are available for running a WinGet Configuration file on your device. | ||
|
||
### Windows Package Manager | ||
### 1. Windows Package Manager | ||
1. Download the `configuration.dsc.yaml` file to your computer. | ||
1. Open your Windows Start Menu, search and launch "*Windows Terminal*". | ||
1. Type the following: `CD [C:\Users\User\Download]` | ||
1. Type the following: `CD <C:\Users\User\Download>` | ||
1. Type the following: `winget configure --file .\configuration.dsc.yaml` | ||
|
||
### Dev Home | ||
### 2. Dev Home | ||
1. Download the `configuration.dsc.yaml` file to your computer. | ||
1. Open your Windows Start Menu, search and launch "*Dev Home*". | ||
1. Select the *Machine Configuration* button on the left side navigation. | ||
1. Select the *Configuration file* button | ||
1. Locate and open the WinGet Configuration file downloaded in "step 1". | ||
1. Select the "I agree and want to continue" checkbox. | ||
1. Select the "Set up as admin" button. | ||
|
||
## Issues with Configuration file | ||
If you experience an issue with running the provided WinGet Configuration file, you can submit a [new issue report](https://github.com/microsoft/devhome/issues/new/choose), or [search existing issues](https://github.com/microsoft/devhome/issues) for a pre-existing issue filed by another user. |
12 changes: 8 additions & 4 deletions
12
sampleConfigurations/Templates/Introduction/PowerShell/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
## Understanding WinGet Configuration Files | ||
This folder contains a WinGet Configuration File (*configuration.dsc.yaml*) that will work with the Windows Package Manager command line interface (`winget configure --file [path: configuration.dsc.yaml]`) or can be run using Microsoft Dev Home Device Configuration. | ||
This folder contains a [Windows Package Manager](https://learn.microsoft.com/en-us/windows/package-manager/winget/) (WinGet) [Configuration File](https://learn.microsoft.com/en-us/windows/package-manager/configuration/) (*configuration.dsc.yaml*) that will work with the WinGet command line interface (`winget configure --file [path: configuration.dsc.yaml]`) or can be run using [Microsoft Dev Home](https://learn.microsoft.com/en-us/windows/dev-home/) Device Configuration. | ||
|
||
When run, the `configuration.dsc.yaml` file will install the following list of applications: | ||
* Microsoft Visual Studio Code | ||
|
||
## How to use the WinGet Configuration File | ||
The following two options are available for running a WinGet Configuration file on your device. | ||
|
||
### Windows Package Manager | ||
### 1. Windows Package Manager | ||
1. Download the `configuration.dsc.yaml` file to your computer. | ||
1. Open your Windows Start Menu, search and launch "*Windows Terminal*". | ||
1. Type the following: `CD [C:\Users\User\Download]` | ||
1. Type the following: `CD <C:\Users\User\Download>` | ||
1. Type the following: `winget configure --file .\configuration.dsc.yaml` | ||
|
||
### Dev Home | ||
### 2. Dev Home | ||
1. Download the `configuration.dsc.yaml` file to your computer. | ||
1. Open your Windows Start Menu, search and launch "*Dev Home*". | ||
1. Select the *Machine Configuration* button on the left side navigation. | ||
1. Select the *Configuration file* button | ||
1. Locate and open the WinGet Configuration file downloaded in "step 1". | ||
1. Select the "I agree and want to continue" checkbox. | ||
1. Select the "Set up as admin" button. | ||
|
||
## Issues with Configuration file | ||
If you experience an issue with running the provided WinGet Configuration file, you can submit a [new issue report](https://github.com/microsoft/devhome/issues/new/choose), or [search existing issues](https://github.com/microsoft/devhome/issues) for a pre-existing issue filed by another user. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
This section is reflective of the type of software development that will be performed. If you are new to software development, or are looking for an introduction to the software development language, we recommend visiting the *Introduction* section. | ||
This section is reflective of the type of software development workloads that will be performed. If you are new to software development or are looking for an introduction to the software development language, we recommend visiting the [Introduction](./Introduction/) section, which has more information about various languages. | ||
|
||
## Android Apps | ||
This directory focuses on software development languages used for developing Android Apps, with a device setup that is focused on creating and testing Android apps. | ||
|
||
## Introduction | ||
The WinGet Configuration Files that are contained within the *Introduction* folder are provided as an initial starting location to a specific software development language. This section will provide you with guidance on what you need, and how to install the software and dependency requirements. Allowing you to focus on learning/experiencing the software development language of your choice. | ||
This directory focuses on Getting Started with a particular language. The device setup flows will focus on the base requirements needed for creating a *Hello World* or similar project. This directory is recommended for individuals interested in learning how to develop software. | ||
|
||
## Web Development | ||
The WinGet Configuration Files that are contained within the *Web Development* folder are provided to help get your device setup for a specific language with the goals of performing web development. | ||
This directory focuses on software development languages used for developing websites and web apps. The device setup flows will focus on web app development. | ||
|
||
## Xbox Games | ||
This directory focuses on software development languages used for developing Xbox games. The device setup flows will focus on any development / testing requirements. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.