Support configurable concurrent package downloads during bulk upgrades

Offen
#6,595 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
35/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cpp
Bereich
cli, performance

Rechercherichtung

Start in the WinGet CLI upgrade path and read related issue #4105, which covers decoupling downloads from installation; compare issue #225 for the separate case of multiple connections per file. Define how a bounded queue can download packages concurrently while preserving dependency order and sequential installation, then establish completion criteria for configurable concurrency, per-package progress, and integrity checks.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Issue-Feature
Relevant area(s)

WinGet CLI

Description of the new feature / enhancement

Please support downloading multiple package installers concurrently during winget upgrade --all, while keeping installation sequential. The current download-install-download-install flow leaves the network idle during installation.

Homebrew provides a useful example with HOMEBREW_DOWNLOAD_CONCURRENCY: https://docs.brew.sh/Manpage#environment

Proposed technical implementation details
  • Use a bounded download queue with configurable concurrency.
  • Continue downloads while one installer runs; respect dependency ordering.
  • Allow concurrency 1 for serial behavior.
  • Show per-package progress and retain integrity checks.

Related: #4105 decouples download and installation; this request adds configurable concurrent downloads across multiple packages. #225 concerns multiple connections for one file. Please consolidate under #4105 if appropriate.

Vorherrschende Sprache
C++
Sterne
26.6k
Forks
1.8k
Ø Merge
3 T. 10 Std.
Gemergte PRs (30 T.)
41

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus microsoft/winget-cli

Alle Issues in microsoft/winget-cli

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.