Skip to content

Commit 480015f

Browse files
authored
Merge pull request #13 from plone/gh-contributions-merged-prs-only
Contributor Stats: count only merged PRs
2 parents 868584b + a8e7b19 commit 480015f

37 files changed

+3418
-3027
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,3 +249,24 @@ make run-organisation-stats-2022
249249
- **Without token**: 60 requests per hour (not recommended)
250250
- Built-in rate limiting and retry logic
251251
- Handles pagination for large datasets
252+
253+
## Data Collection Methodology
254+
255+
### Pull Request Counting
256+
257+
All contributor statistics count only **merged** pull requests.
258+
The counts exclude the following pull request statuses.
259+
- Open pull requests (still under review)
260+
- Closed but not merged pull requests (rejected)
261+
262+
This ensures statistics reflect actual contributions to the codebase.
263+
264+
**Exception**: PR interaction statistics (`plone_pr_interactions.py`) count all interactions (comments, reviews) on any PR, regardless of merge status, to accurately capture community engagement.
265+
266+
### Commit Counting
267+
268+
Commits are counted from the default branch only, which automatically includes:
269+
- Direct commits to the default branch
270+
- Commits from merged pull requests
271+
272+
This excludes commits on unmerged branches or rejected pull requests.

data/2015-plone-contributors.csv

Lines changed: 132 additions & 145 deletions
Large diffs are not rendered by default.

data/2016-plone-contributors.csv

Lines changed: 105 additions & 120 deletions
Large diffs are not rendered by default.

data/2016-plone-organisation-contributors.csv

Lines changed: 32 additions & 32 deletions
Large diffs are not rendered by default.

data/2017-plone-contributors.csv

Lines changed: 116 additions & 137 deletions
Large diffs are not rendered by default.

data/2017-plone-organisation-contributors.csv

Lines changed: 31 additions & 30 deletions
Large diffs are not rendered by default.

data/2017-volto-stats.csv

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
github_username,pull_requests,commits
22
robgietema,11,164
33
cekk,2,2
4-
VaysseB,2,7
5-
jaroel,2,6
4+
VaysseB,1,7
5+
jaroel,1,6
66
thet,1,1
77
tareqalam,1,1
88
tisto,0,3

data/2018-plone-contributors.csv

Lines changed: 108 additions & 127 deletions
Large diffs are not rendered by default.

data/2018-plone-organisation-contributors.csv

Lines changed: 35 additions & 34 deletions
Large diffs are not rendered by default.

data/2018-volto-stats.csv

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
github_username,pull_requests,commits
2-
robgietema,51,278
3-
sneridagh,36,186
4-
tisto,27,168
5-
nileshgulia1,25,11
6-
bloodbare,9,61
2+
robgietema,49,278
3+
sneridagh,35,186
4+
tisto,22,168
5+
nileshgulia1,16,11
6+
bloodbare,6,61
77
davisagli,4,4
8-
cekk,3,18
9-
pnicolli,2,1
10-
vangheem,1,5
8+
cekk,2,18
9+
pnicolli,1,1
1110
ajayns,1,9
1211
esteele,1,0
1312
pbauer,1,1
14-
mikejmets,1,0
15-
thet,1,0
1613
datakurre,0,18
14+
vangheem,0,5

0 commit comments

Comments
 (0)