# microsoft/winget-pkgs architecture

> Architecture diagram of the GitHub repository microsoft/winget-pkgs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/microsoft/winget-pkgs
- Repository: https://github.com/microsoft/winget-pkgs

## Overview

This is the Windows Package Manager Community Repository: primarily a versioned catalog of package manifests, with supporting validation and contributor tooling. Contributors submit manifests for applications or fonts; the repository also provides a manual approval tool for evaluating winget-pkgs pull requests. The tree shows manifest and tool locations, while the README documents the repository’s authoring, testing, and submission capabilities. Source excerpts are limited, so links between the manual tool, pipeline definitions, and other tools are omitted where their runtime relationships are not established.

Main entry points: [`Tools/ManualValidation/ManualValidationPipeline.cs`](https://github.com/microsoft/winget-pkgs/blob/master/Tools/ManualValidation/ManualValidationPipeline.cs) (Manual Approval Tool), [`manifests`](https://github.com/microsoft/winget-pkgs/tree/master/manifests) (Package Manifests), [`fonts`](https://github.com/microsoft/winget-pkgs/tree/master/fonts) (Font Manifests)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_catalog["Package Catalog"]
  node_manifest_catalog["Package Manifests"]
  node_font_manifests["Font Manifests"]
end

subgraph group_contribution["Contribution Workflow"]
  node_authoring["Manifest Authoring"]
  node_yaml_github["GitHub Support<br/>[YamlCreate.GitHub]"]
  node_installer_detection["Installer Detection"]
  node_menuing["Authoring Menu<br/>[YamlCreate.Menuing]"]
  node_file_operations["File Operations"]
  node_virtual_terminal["Terminal Support"]
end

subgraph group_operations["Validation Operations"]
  node_manual_approval["Manual Approval Tool"]
  node_pipeline_definitions["Pipeline Definitions"]
end

node_contributor(("Contributor"))
node_github(("GitHub"))

node_contributor -->|"submits manifests"| node_manifest_catalog
node_contributor -->|"submits fonts"| node_font_manifests
node_manual_approval -->|"requests PR data"| node_github

click node_manifest_catalog "https://github.com/microsoft/winget-pkgs/tree/master/manifests"
click node_font_manifests "https://github.com/microsoft/winget-pkgs/tree/master/fonts"
click node_authoring "https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/YamlCreate"
click node_yaml_github "https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/YamlCreate/YamlCreate.GitHub"
click node_installer_detection "https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/YamlCreate/YamlCreate.InstallerDetection"
click node_menuing "https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/YamlCreate/YamlCreate.Menuing"
click node_file_operations "https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/FileOperations"
click node_virtual_terminal "https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/VirtualTerminal"
click node_manual_approval "https://github.com/microsoft/winget-pkgs/blob/master/Tools/ManualValidation/ManualValidationPipeline.cs"
click node_pipeline_definitions "https://github.com/microsoft/winget-pkgs/tree/master/DevOpsPipelineDefinitions/templates"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_manifest_catalog,node_font_manifests toneBlue
class node_authoring,node_yaml_github,node_installer_detection,node_menuing,node_file_operations,node_virtual_terminal toneAmber
class node_manual_approval,node_pipeline_definitions toneMint
class node_contributor,node_github toneIndigo
```

## Components

### Package Catalog

- [Package Manifests](https://github.com/microsoft/winget-pkgs/tree/master/manifests): `manifests`
- [Font Manifests](https://github.com/microsoft/winget-pkgs/tree/master/fonts): `fonts`

### Contribution Workflow

- [Manifest Authoring](https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/YamlCreate): `Tools/Modules/YamlCreate`
- [GitHub Support](https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/YamlCreate/YamlCreate.GitHub): `Tools/Modules/YamlCreate/YamlCreate.GitHub`
- [Installer Detection](https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/YamlCreate/YamlCreate.InstallerDetection): `Tools/Modules/YamlCreate/YamlCreate.InstallerDetection`
- [Authoring Menu](https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/YamlCreate/YamlCreate.Menuing): `Tools/Modules/YamlCreate/YamlCreate.Menuing`
- [File Operations](https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/FileOperations): `Tools/Modules/FileOperations`
- [Terminal Support](https://github.com/microsoft/winget-pkgs/tree/master/Tools/Modules/VirtualTerminal): `Tools/Modules/VirtualTerminal`

### Validation Operations

- [Manual Approval Tool](https://github.com/microsoft/winget-pkgs/blob/master/Tools/ManualValidation/ManualValidationPipeline.cs): `Tools/ManualValidation/ManualValidationPipeline.cs`
- [Pipeline Definitions](https://github.com/microsoft/winget-pkgs/tree/master/DevOpsPipelineDefinitions/templates): `DevOpsPipelineDefinitions/templates`

### Other components

- **Contributor**
- **GitHub**

## Connections

- Contributor → Package Manifests: submits manifests (evidence: `README.md`)
- Contributor → Font Manifests: submits fonts (evidence: `README.md`)
- Manual Approval Tool → GitHub: requests PR data (evidence: `Tools/ManualValidation/ManualValidationPipeline.cs`)
