[proposal] Configurable dependency supply-chain policies (cooldowns)
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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?
- Lingua principale
- Python
- Stelle
- 641
- Fork
- 178
- Merge medio
- 17h 36m
- PR unite (30g)
- 76
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pulp/pulpcore
-
Content cache ignores the query string, so one path serves the response cached for another queryApertaTriage-Needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Reclaim Space Server ErrorApertaIssue
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
pulp/pulpcore#5802 · 10 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Creating a repository version from a large base_version uses excessive memory (can OOM the worker)Forse già presa @dkliban l’ha presa oggi. ApertaIssue Triage-Needed
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
I maintainer di solito rispondono entro 1 giorno
-
Feature Triage-Needed
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di pulp/pulpcore
Issue simili
-
Triage-Needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pulp/pulp-oci-images#875 ·
-
intake mcp-intake needs-human-review priority:high type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
Ikalus1988/MisakaNet#5718 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
facebookresearch/autoform-bot#872 ·
I maintainer di solito rispondono entro 1 giorno
-
Dataset.to_json() writes "Value": [] for an empty sequenceForse già presa @DG47 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 2 giorni
-
area: docs area: providers/oci priority: p3 size: S type: documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
finos/open-resource-broker#933 ·
I maintainer di solito rispondono entro 1 giorno