Local cache for `.nupkg` like other package managers
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
- 30/100
Hướng nghiên cứu
Bắt đầu bằng việc xem xét hành vi bộ nhớ đệm .nupkg cục bộ được đề xuất và PSResourceGet issue 1646 được liên kết. So sánh các cách tiếp cận bộ nhớ đệm được tham chiếu của Bun, Chocolatey và Scoop, sau đó xác định việc lưu vào bộ nhớ đệm tùy chọn, cơ chế vô hiệu hóa, việc purge, hành vi CI/CD và các cmdlet quản lý bộ nhớ đệm cần thiết cho một thiết kế hoàn chỉnh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary of the new feature / enhancement
It could be useful with a local cache of downloaded .nupkg files, like other package managers does.
- Bun: https://bun.com/docs/pm/global-cache
- Chocolatey: https://docs.chocolatey.org/en-us/choco/commands/cache/
- Scoop: https://github.com/ScoopInstaller/Scoop/blob/master/libexec/scoop-cache.ps1
Having this would make it feasible to implement other fatures too, like:
Proposed technical implementation details (optional)
- Make it optional.
- Make cache invalidation / deletion / purge logic configurable.
- Keep to latest version of each script/module?
- Delete cached items after x days?
- Could help with cache in CI/CD too, like in GitHub actions, if
Install-Packagedid not delete the.nupkgfiles it downloaded. - Add some cmdlets to manage cache
- Get current cached items and total size.
- Clear cache.
- Ngôn ngữ chính
- C#
- Star
- 576
- Fork
- 114
- Merge trung bình
- 1 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 7
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của PowerShell/PSResourceGet
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectory Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
PowerShell/PSResourceGet#2056 ·
-
feature_request
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
PowerShell/PSResourceGet#2013 · 3 bình luận ·
-
Needs-Triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
PowerShell/PSResourceGet#2055 ·
-
Needs-Triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
PowerShell/PSResourceGet#2054 ·
-
(dsc): Export ignores `--input` filter for `Repository` and `PSResourceList` on DSC 3.3.* or above Đang mởNeeds-Triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 72/100
PowerShell/PSResourceGet#2053 ·
Tất cả issue của PowerShell/PSResourceGet
Issue tương tự
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
sillsdev/languageforge-lexbox#2665 ·
-
bug documentation frontend
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
azurenoops/spin_agent#975 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
SubtitleEdit/subtitleedit#15108 · 1 bình luận ·