Project

Profile

Help

Story #8898

closed

As a user, I can configure Pulp to include routes from third-party django apps

Added by bmbouter almost 3 years ago. Updated about 2 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/2011":https://github.com/pulp/pulpcore/issues/2011


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:

  1. a release must occur for any new request
  2. The user may want it rooted somewhere else
  3. 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:

  1. a release must occur for any new request
  2. The user may want it rooted somewhere else

Also available in: Atom PDF