all-contributors / all-contributors/allcontributors.org

Feature request: minimum thresholds for table inclusion

Đang mở
#745 0 bình luận 4 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
MDX
Star
8.1k
Fork
1.7k
Merge trung bình
17 giờ 1 phút
Pull request đã merge (30 ngày)
6

Mô tả

**Is your feature request related to a problem? Please describe.**

I get a lot of one-or-two-time `good first issue` contributions from folks new to my repos. Those contributions are nice to see, but most of those contributors don't stick around. So it ends up that much of my contributor tables are filled by people who've done only a couple things a while ago.

**Describe the solution you'd like**

It'd be nice to have the table only show contributors above some configurable threshold(s). The most straightforward path would be allow a configurable minimum number of contributions: `1` by default.

```jsonc
// .all-contributorsrc
{
// ...
"minimumContributions": 2,
// ...
}
```

**Describe alternatives you've considered**

Just brainstorming:

* Requiring a minimum number of _types_ of contributions
* Having multiple thresholds: e.g. requiring 2 contributions once there are >=20 contributors
* Limiting the contributors shown to the top X number of contributions
* Requiring a label exist or not exist:
* Exist example: adding a `allcontributors-accepted` kind of label
* e.g. preventing `good first issue` issues from counting towards the table
* Having multiple tables: a first/primary one for highest contributors, and followups for lower thresholds

**Additional context**

The bot would probably want to be updated to give a mention for why a person's contribution was or wasn't yet eligible for the table.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.