[proposal] Configurable dependency supply-chain policies (cooldowns)
Maintainer thường phản hồi trong vòng 1 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
Hướng nghiên cứu
The proposal names pulpcore and the npm, Python, and NuGet plugins, but does not identify specific files or tests. Start by reviewing the existing content guard and package metadata paths in those components. Done would require maintainer agreement on the shared policy and adapter design, including timestamp handling, cached downloads, and exceptions.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
I’d like to use Pulp to apply a consistent dependency cooldown across npm, Python and NuGet: withholding newly published packages for a configurable period before developers and CI can download them.
Describe the solution you'd like
Opt-in policies per distribution, initially supporting:
- Configurable minimum publication age (and possibly maximum publication age)
- Consistent filtering of package metadata and enforcement on direct downloads, including cached packages.
- Explicit handling of missing publication timestamps.
- Manual package blocklist and scoped, audited exceptions for urgent updates.
I think a shared policy plugin with integrations into specific ecosystem plugins should work. Existing content guards could provide the initial download gate, while metadata filtering would need plugin-specific handling.
I’d welcome maintainer feedback on that approach before implementation, particularly whether independent admission hooks in pulpcore would be useful. Full verification or scanning before delivery could follow as a separate milestone.
Describe alternatives you've considered
Using package-manager controls directly, for example:
- PMG’s dependency cooldown, which filters recent npm releases from registry metadata.
- pnpm 11’s
minimumReleaseAge, which defaults to one day. - uv’s
exclude-newer, which supports relative durations and checks individual artifact upload times.
The obvious alternative option is manually promoting packages into approved repositories. That offers stronger control, but adds operational work compared with an automatic age-based policy.
Additional context
I’ve done an initial source review of pulpcore and the npm, python and nuget plugins. The main considerations appear to be preserving upstream timestamps, covering metadata and direct-download paths, and ensuring caches cannot bypass policy changes.
Is this something the project would be interested in supporting, and would a shared plugin with ecosystem adapters be the preferred direction?
- Ngôn ngữ chính
- Python
- Star
- 641
- Fork
- 178
- Merge trung bình
- 17 giờ 36 phút
- Pull request đã merge (30 ngày)
- 76
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc 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 pulp/pulpcore
-
Content cache ignores the query string, so one path serves the response cached for another queryĐang mởTriage-Needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Reclaim Space Server ErrorĐang mởIssue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
pulp/pulpcore#5802 · 10 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Creating a repository version from a large base_version uses excessive memory (can OOM the worker)Có thể đã có người làm @dkliban đã nhận hôm nay. Đang mởIssue Triage-Needed
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Feature Triage-Needed
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của pulp/pulpcore
Issue tương tự
-
Triage-Needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
pulp/pulp-oci-images#875 ·
-
intake mcp-intake needs-human-review priority:high type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Ikalus1988/MisakaNet#5718 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
facebookresearch/autoform-bot#872 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Dataset.to_json() writes "Value": [] for an empty sequenceCó thể đã có người làm @DG47 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 2 ngày
-
area: docs area: providers/oci priority: p3 size: S type: documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
finos/open-resource-broker#933 ·
Maintainer thường phản hồi trong vòng 1 ngày