Skip to content
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

Remove all Contentful-related code from the project #15845

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

stevejalim
Copy link
Collaborator

@stevejalim stevejalim commented Jan 10, 2025

DO NOT MERGE UNTIL THE VPN RC PAGES HAVE BEEN PUBLISHED IN ALL 10 LANGUAGES FROM THE NEW CMS. See #15846

This changeset removes Contentful-related code from our codebase.

  • Drops the contentful app: views, models and templates
  • Drops Contentful-related settings
  • Drop static bundles that appeared to be for Contentful components only
  • Updates DB export script to not dump the contentful table
  • Does NOT do anything to automatically drop the contentful_ DB tables, however
  • Remove use of prefer_cms decorator for VPN RC views and moves the routing to cms_only_urls so that we can still reverse those page addresses
  • Move legacy /more/ redirects related to the VPN pages to global redirects (losing the locale-availability check, but deferring it to the CMS to 404 or not instead)

Issue / Bugzilla link

Resolves #15843
Depends on #15846

@stevejalim
Copy link
Collaborator Author

@alexgibson Over to you for a scan over. If you're happy let's push to to the integration tests branch to get an early heads-up on any issues.

Hopefully we'll have the VPN RC pages all published in all locales late next week, then we can merge this

Copy link

codecov bot commented Jan 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.70%. Comparing base (f13a56d) to head (2d4fe74).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #15845      +/-   ##
==========================================
+ Coverage   79.28%   79.70%   +0.41%     
==========================================
  Files         159      152       -7     
  Lines        8343     7436     -907     
==========================================
- Hits         6615     5927     -688     
+ Misses       1728     1509     -219     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

stevejalim and others added 2 commits January 20, 2025 11:18
* Drops the contentful app: views, models and templates
* Drops Contentful-related settings
* Drop static bundles that appeared to be for Contentful components only
* Updates DB export script to not dump the contentful table
* Does NOT do anything to automatically drop the contentful_ DB tables, however
* Remove use of prefer_cms decorator for VPN RC views and moves the routing to cms_only_urls so that we can still reverse those page addresses
* Move legacy /more/ redirects related to the VPN pages to global redirects (losing the locale-availability check, but deferring it to the CMS to 404 or not instead)
@stevejalim stevejalim force-pushed the 15843-remove-contentful branch from 2ca808c to 2d4fe74 Compare January 20, 2025 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove Contentful app, templates and related CSS bundles
2 participants