Viewing a project's participants (not just committers/contributors) #46661
Replies: 6 comments 1 reply
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
I am still very interested in a technical solution to the above. It would be possible to scour every open and closed issue and open and closed PR and discussion for user handles, but it would be far better if this was done as part of the Insights | Contributors section of a repo, enabling repo admins and the broader public access to such information - this would also aid locating a github handle that is located somewhere in the repo, but could be difficult to locate |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Great! Let's explore the methods in more detail: 1. Manual TrackingYou can manually track participants by reviewing issue comments and discussions. This involves going through each issue and noting down the contributors. While this method is time-consuming, it ensures you capture all contributors accurately. 2. Third-Party ToolsThere are several third-party tools and scripts that can help extract and analyze issue comments to identify participants. Some popular tools include:
3. GitHub DiscussionsIf your repository uses GitHub Discussions, you can view participants in discussions. This feature allows you to see who has been active in discussions, making it easier to identify contributors who haven't made commits. 4. Custom ScriptsYou can write custom scripts using GitHub's API to fetch and analyze issue comments. Here's a basic example using Python and the import requests
# Replace with your repository details
owner = 'username'
repo = 'repository'
# GitHub API URL for issues
url = f'https://api.github.com/repos/{owner}/{repo}/issues/comments'
# Make a request to the GitHub API
response = requests.get(url)
comments = response.json()
# Extract unique users who commented on issues
participants = set()
for comment in comments:
participants.add(comment['user']['login'])
# Print the list of participants
print("Participants who commented on issues:")
for participant in participants:
print(participant) Steps to Use the Script:
ConclusionBy using these methods, you can identify and acknowledge contributors who have participated in discussions and issues, even if they haven't made direct commits to the repository. This can help you better understand and appreciate the contributions of your community. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
I really like the way that you can view project/repo contributors of a repo, which allows some quantification of contributions outside the repo owners.
We have a repo that is managed by a small number of admins, but collects a lot of information from the community through issues, and once this information is provided, it's committed to the repo by the admins through PRs. The challenge that I was hoping to query, is there anyway of viewing a project's participants, so folks who have contributed to discussions on issues, but haven't made any commits directly to the repo?
Beta Was this translation helpful? Give feedback.
All reactions