pulp / pulp/pulp_python

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.

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

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

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.

Bewertung

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

Neue Issues direkt in Ihr Postfach

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