Remove all OSSH code — migrated to BLT-OSSH static site#6033
Remove all OSSH code — migrated to BLT-OSSH static site#6033stealthwhizz wants to merge 1 commit intoOWASP-BLT:mainfrom
Conversation
OSSH has been migrated to the standalone BLT-OSSH static site (https://ossh.owaspblt.org). This removes all backend code that is no longer needed: - Delete views: ossh.py, ossh_catalog.py - Delete templates: ossh/ directory (home, results, includes) - Delete management commands: fetch_devto_articles, fetch_discord_servers, fetch_reddit_communities - Delete tests: test_ossh_recommender.py - Remove models: OsshCommunity, OsshDiscussionChannel, OsshArticle - Remove admin registrations and URL patterns - Remove OsshCommunity test from test_model_str_methods.py - Add migration 0274 to drop OSSH tables - Update header/sidenav/features to link to external OSSH site Closes OWASP-BLT/BLT-OSSH#30
📊 Monthly LeaderboardHi @stealthwhizz! Here's how you rank for March 2026:
Scoring this month (across OWASP-BLT org): Open PRs (+1 each), Merged PRs (+10), Closed (not merged) (−2), Reviews (+5; first two per PR in-month), Comments (+2, excludes CodeRabbit). Run |
|
👋 Hi @stealthwhizz! This pull request needs a peer review before it can be merged. Please request a review from a team member who is not:
Once a valid peer review is submitted, this check will pass automatically. Thank you!
|
|
👋 Hi @stealthwhizz, 🚫 This pull request has been automatically closed because only first-time contributors ( Your GitHub account has previously contributed to this repository, so this PR does not qualify for automatic acceptance. If you believe this was closed in error, please open an issue to discuss it with the maintainers. Thank you for your understanding! 🙏 |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: OWASP-BLT/coderabbit/.coderabbit.yml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (21)
Knowledge base: Disabled due to WalkthroughThis PR comprehensively removes all OSSH (Open Source Sorting Hat) code from the main BLT Django repository, including models, views, management commands, templates, admin registrations, URL routes, and tests. Navigation links are updated to point to an external OSSH deployment at Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~35 minutes Suggested labels
✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Changes
Deleted files
website/views/ossh.py— all OSSH views and recommendation logicwebsite/views/ossh_catalog.py— catalog API endpointwebsite/templates/ossh/— all 7 templates (home, results, 5 includes)website/management/commands/fetch_devto_articles.pywebsite/management/commands/fetch_discord_servers.pywebsite/management/commands/fetch_reddit_communities.pywebsite/tests/test_ossh_recommender.pyModified files
blt/urls.py— removed OSSH imports and 8 URL patternswebsite/models.py— removedOsshCommunity,OsshDiscussionChannel,OsshArticlemodelswebsite/admin.py— removed OSSH imports, admin classes, and registrationswebsite/tests/test_model_str_methods.py— removedOsshCommunitytestwebsite/templates/includes/header.html— link to external OSSH sitewebsite/templates/includes/sidenav.html— link to external OSSH sitewebsite/templates/features.html— link to external OSSH site and repoNew files
website/migrations/0274_remove_ossh_models.py— drops the 3 OSSH tablesTest plan
python manage.py migrate)Closes OWASP-BLT/BLT-OSSH#30
Summary by CodeRabbit
Release Notes
Removed Features
Updates