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

Add a list of contributors to people page #5

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ApexDevelopment
Copy link
Member

This queries GitHub for a list of repos created by CRM (excluding forks) and gets the contributors to those repos. It then sorts that list by number of contributions, and features the top 10 contributors on the page. This helps people get a better idea of who has contributed to CRM projects :)

Copy link

netlify bot commented Mar 25, 2024

Deploy Preview for crmodders ready!

Name Link
🔨 Latest commit 6f963e2
🔍 Latest deploy log https://app.netlify.com/sites/crmodders/deploys/6600dceb95d53d0008e1d82a
😎 Deploy Preview https://deploy-preview-5--crmodders.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ApexDevelopment
Copy link
Member Author

ApexDevelopment commented Mar 25, 2024

Caveat: this is not a major issue, but this PR exacerbates the fact that we are making unauthenticated calls to the GH API, which can cause users to get rate limited if they refresh the page too much (ran into this just testing style/layout changes). This can be solved with some caching since the rate limit is by IP. I will fix this in another PR.

@ApexDevelopment ApexDevelopment marked this pull request as draft March 26, 2024 20:40
@realeatham
Copy link
Member

You should merge this

@ApexDevelopment
Copy link
Member Author

You should merge this

Not until I implement a cache or some other workaround to keep people from rate limiting themselves on the GitHub API. That's why it's a draft PR.

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.

2 participants