-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Remove donate
app from RTD itself
#3184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
49ab77a
to
fa70e22
Compare
@@ -44,6 +44,7 @@ | |||
url(r'^accounts/', include('readthedocs.profiles.urls.private')), | |||
url(r'^accounts/', include('allauth.urls')), | |||
url(r'^notifications/', include('readthedocs.notifications.urls')), | |||
url(r'^accounts/gold/', include('readthedocs.gold.urls')), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other question is do we move Gold out as well, and keep it gated in a similar way?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eventually, +1 from me. We can address this separately. Feel free to open a ticket to track the work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just gave this a quick glance due to 100% deletes and size. We should make sure dependencies are removed and added to the setup.py in ext, along with any other missing depends. There are probably a number of depends that are just coming from rtfd/readthedocs.org
requirements.
|
||
from __future__ import absolute_import | ||
from django.db import models, migrations | ||
import django_countries.fields |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove this dependency? We can probably move this to the ext repo if so.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep.
PROMO_GEO_PATH = getattr(settings, 'PROMO_GEO_PATH', None) | ||
|
||
if PROMO_GEO_PATH: | ||
import geoip2.database # noqa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same on this import
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Believe that is installed via ops
.
🎆 |
This splits out the
donate
app from RTD, so that we don't ship our ad code to all the OSS users who don't care about it.The actual changes are at the bottom, just some URL adjustments.