Romanitho / Romanitho/Winget-AutoUpdate

[Feature Request]: Allow using multiple sources simultaneously in the same run.

Open
#1,182 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PowerShell
Stars
2k
Forks
194
Avg merge
22h 54m
Merged PRs (30d)
1

Description

The request

At least 1 of the following:

  • Have WAU scan all locally enabled sources by default.
  • Add an "all sources" option to WAU.
  • Allow specifying 2 or more $source-s, though I can see this one would be complicated to implement.
Is your feature request related to a problem?
With the third-party source [winget-extras](https://github.com/pl4nty/winget-extras) slowly (as in, *slowly*) making its mark on the wider Winget project, it has gradually become clear to me that the default configs of WAU only runs checks for the main `winget` source.

And I can't find anything in the .ps1 files that allow specifying more than 1 source per run, or any sort of "all sources" options.

To the extent it seems able to change the source, it only allows using 1 source at a time. So if I enabled the `winget-extras` source in WAU, it'd disable the `winget` source.
Additional information

Instance screenshot of updates that are not detected by WAU's default config at the time of writing:

Image

I tried client-side to see if removing $Source and similar strings from the .ps1 files worked for this, but it caused the update check to get stuck at the The 'msstore' source requires that you view the following agreements before using. part.

This issue report is probably of particular interest to @pl4nty.

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

Inspect the repository's .ps1 files to trace how the $Source value is selected and passed to Winget, then reproduce the behavior with both winget and winget-extras enabled. Define the result as one run checking multiple enabled sources without disabling the default source or getting stuck on the msstore agreement prompt.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
cli, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
56/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.