microsoft / microsoft/WSL

Tagging mechanism for WSL distributions

Open
#12,349 3 comments 1 reaction 0 assignees View on GitHub
feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

**Summary**
Introduce a tagging mechanism for WSL distributions using a new property in the `wsl-distribution.conf` configuration file. The tag should be exposed to plugins via the `WSLDistributionInformation` and `WslOfflineDistributionInformation` structures to enable advanced filtering, categorization, and functionality based on the distribution's tag.

**Motivation**
Plugins often require additional context about WSL distributions to provide customized behavior. A tagging system would:

- Allow developers and administrators to annotate distributions with meaningful metadata.
- Enable plugins to filter or take action based on the tag.
- Improve the scalability and manageability of large or diverse WSL environments.

Contributor guide

Open the contributing guide

Research direction

Start by locating the wsl-distribution.conf parsing and the WSLDistributionInformation and WslOfflineDistributionInformation structures. Trace how distribution metadata reaches plugins, then define the tag's configuration and exposure path; done means both structures provide the configured tag for plugin filtering and categorization.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.