pulp / pulp/pulp_python

Regex/wildcard filters for include/exclude

Open
#1,005 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
49
Forks
88
Avg merge
1d 10h
Merged PRs (30d)
31

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.