Regex/wildcard filters for include/exclude

Offen
#1,005 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Anfängerfreundlichkeit
25/100
Issue-Typ
Feature
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
python
Bereich
backend

Rechercherichtung

Start by reading the related pulp_python issues 998 and 1004, especially the repository pull-through sample, and inspect how pull-through caching is described there. Done means users can configure include/exclude regex or wildcard filters that prevent packages in a namespace such as google from being cached.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Feature

Is your feature request related to a problem? Please describe.
I want to protect my users from dependency confusion attacks (malicious or accidental).

Describe the solution you'd like
I want to exclude packages in specific namespace (for example google for google-this and google-that) from repository pull-through caching.

Describe alternatives you've considered
Requiring user to configure two repositories where one takes priority.

Additional context
Somewhat related to https://github.com/pulp/pulp_python/issues/998

Repository pull-through sample in https://github.com/pulp/pulp_python/issues/1004

https://matrix.to/#/!ddcyhqxyFqGMoDLDeP:matrix.org/$5kmR0IyrQ0IQCGq9BHvRskUhB0UJROnZ-sISpgokVSA?via=matrix.org&via=ctrl-c.liu.se&via=x9c4.spdns.org

Vorherrschende Sprache
Python
Sterne
49
Forks
88
Ø Merge
1 T. 10 Std.
Gemergte PRs (30 T.)
31

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus pulp/pulp_python

Alle Issues in pulp/pulp_python

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.