[proposal] Configurable dependency supply-chain policies (cooldowns)

オープン
#8,330 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend, security

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

Feature Triage-Needed

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:

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?

主要言語
Python
スター
641
フォーク
178
平均マージ
17時間 36分
マージ済み PR(30日)
76

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

pulp/pulpcore のほかの issue

pulp/pulpcore の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。