-
-
Notifications
You must be signed in to change notification settings - Fork 313
Add GitHub comment leaderboard tracking #4663
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
base: main
Are you sure you want to change the base?
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: DonnieBLT <[email protected]>
β¦oard Co-authored-by: DonnieBLT <[email protected]>
Co-authored-by: DonnieBLT <[email protected]>
Co-authored-by: DonnieBLT <[email protected]>
Co-authored-by: DonnieBLT <[email protected]>
|
@DonnieBLT Would like to work on this issue |
|
Hello @mdkaifansari04! You've been assigned to OWASP-BLT/BLT issue #4663. You have 24 hours to complete a pull request. |
|
β° This issue has been automatically unassigned from DonnieBLT due to 24 hours of inactivity. The issue is now available for anyone to work on again. |
Co-authored-by: DonnieBLT <[email protected]>
Done in commit f09345a. Migration bumped from 0247 to 0260 (updated dependency to 0259_add_search_history), removed merge migration 0250, and removed docs files (github_comment_leaderboard.md, github_comment_leaderboard_ui.md). |
β Tests failedThe Django tests found issues that need to be fixed. Please review the test output below and fix the failing tests. How to run tests locally# Install dependencies
poetry install --with dev
# Run all tests
poetry run python manage.py test
# Run tests with verbose output
poetry run python manage.py test -v 3
# Run a specific test
poetry run python manage.py test app.tests.TestClass.test_methodTest outputFor more information, see the Django testing documentation. |
π GitHub Comment Leaderboard
Tracks and displays users with the most comments on GitHub issues, PRs, and discussions. Starts with BLT repo, expandable to all project repos.
β Core Implementation
fetch_github_commentsfetches comment data from GitHub API with rate limiting and multi-repo support/leaderboard/showing top 10 commenters/api/v1/leaderboard/?leaderboard_type=github_commentsπ Database Migration
Migration
0260_add_github_comment_leaderboard.pycreates GitHubComment table with indexes on:comment_id(user_profile, created_at)(contributor, created_at)Dependencies:
0259_add_search_historyβ Features
--all-reposflagπ Usage
π§ Technical Details
Status: β READY FOR REVIEW AND MERGE
Original prompt
π‘ You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.