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

Stats about new contributors #190

Open
Piedone opened this issue Jan 16, 2024 · 4 comments
Open

Stats about new contributors #190

Piedone opened this issue Jan 16, 2024 · 4 comments
Labels
enhancement New feature or request keep

Comments

@Piedone
Copy link

Piedone commented Jan 16, 2024

During our community meeting at Orchard Core on the topic of integrating this action (OrchardCMS/OrchardCore#14585) it came up that it would be nice to have stats about new contributors as well.

I.e., in an issue like OrchardCMS/OrchardCore#15073, we'd also have a "Number of items opened by new contributors" line in the aggregated metrics table. A new contributor can be defined as somebody who GitHub indicates as a first-time contributor like this:

296902235-32f27aad-2c5a-4f0d-963b-722af1caedb2

I'm not sure how this is calculated. In any case, this would be a user who didn't yet author a contribution of that type (e.g., didn't open an issue before and thus they're a new contributor for issues) or didn't create any issues/discussions/PRs before in the project (whichever is easier to compute).

What do you think?

@zkoppert
Copy link
Member

zkoppert commented Feb 2, 2024

This seems like it could be accomplished. While there isn't an API endpoint to tell us if the user is contributing for the first time, I see that there are other projects like this one that accomplish this by checking to see if the issue/pr author has any other issues/prs in that repo previously. Then the "Number of items opened by new contributors" would be the sum of all the items found.

Seems like a good idea to me in order to quickly assess the overall volume of new contributor's contributions in that time period.

@Piedone
Copy link
Author

Piedone commented Feb 2, 2024

Great! It seems it's doable for each contribution type separately, then.

Copy link

This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the Stale label Mar 13, 2024
@Piedone
Copy link
Author

Piedone commented Mar 13, 2024

Well, we at Orchard Core are still interested in this.

@zkoppert zkoppert added keep and removed Stale labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request keep
Projects
None yet
Development

No branches or pull requests

2 participants