Project

Profile

Help

Story #8898

Updated by bmbouter 6 months ago

## 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](https://github.com/pulp/pulpcore/commit/a1ac736b5bcba429236c3a9d588db2eb3001b783) by specifying:

`<Details here>` <Details here>

## Alternatives Considered

Pulp could attempt to include urls of various common third-party applications as users request them, like [this commit](https://github.com/pulp/pulpcore/commit/a1ac736b5bcba429236c3a9d588db2eb3001b783) 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

Back