Support configurable concurrent package downloads during bulk upgrades

Đang mở
#6,595 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 2 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
cli, performance

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
26.6k
Fork
1.8k
Merge trung bình
3 ngày 10 giờ
Pull request đã merge (30 ngày)
41

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/winget-cli

Tất cả issue của microsoft/winget-cli

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.