microsoft / microsoft/WSL

[RFE] Add support for update check

Open
#12,847 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature
Dominant language
C++
Stars
33.7k
Forks
1.8k
Avg merge
3d 17h
Merged PRs (30d)
116

Description

It would be nice to be able to just check if there are updates available, for instance

`wsl.exe --update --check`

could report that WSL is already up-to-date or update x.y.x is available. This would allow preparing and scheduling for possible updates and also running in check/dry-run mode with automation tools such as Ansible. Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the existing wsl.exe --update command entry point and trace how update availability is determined. The change is complete when a check or dry-run mode reports either that WSL is up to date or the available version without installing it, including behavior suitable for automation such as Ansible.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, cpp
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.