As a user, I can configure Pulp to include routes from third-party django apps
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 598
- Forks
- 168
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 86
Description
Author: @bmbouter (bmbouter)
Redmine Issue: 8898, https://pulp.plan.io/issues/8898
Problem
Some users want to use include third party software, e.g. django-sentry or django-social-auth.
Solution
Introduce a setting named ADDITIONAL_URLS which defaults to ADDITIONAL_URLS = None.
Users could solve this django-sentry inclusion by specifying:
<Details here>
Alternatives Considered
Pulp could attempt to include urls of various common third-party applications as users request them, like this commit would have. This has several drawbacks:
- a release must occur for any new request
- The user may want it rooted somewhere else
- There is a low-grade security concern that gratuitously importing third-party Python code without users being able to turn it off may not be safe, for example with package name mimicking
Another alternative was to have settings to enable specific third-party url inclusion. This has these drawbacks though:
- a release must occur for any new request
- The user may want it rooted somewhere else
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing pulpcore's existing Django URL configuration and settings handling. Determine how ADDITIONAL_URLS should default to None and how users specify third-party Django routes and their mount points. Done means the setting works for the described inclusion use case and is covered by appropriate tests or documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- django, python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100