all-contributors / all-contributors/cli

Custom link for contribution categories

Đang mở
#88 7 bình luận 1 reaction 0 người được giao Xem trên GitHub
pinned priority: medium status: available type: enhancement
Ngôn ngữ chính
JavaScript
Star
425
Fork
149
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi there,

I'd like to propose a feature when generating links for "ideas" contribution.
It would be handy to allow changing the link, without replacing the whole template.

Currently, the links for "ideas" are generated like this:

```
#ideas-{username}
```

I'd like to customize it to link to GitHub Issues. As this can vary from project to project, maybe `all-contributors-cli` could support link templates, per contribution category?

On `"ideas"` contributions we could have a couple of options, such as:

1. Issues created by that user:

```
/{projectOwner}/{projectName}/issues/created_by/{username}
```

2. Filtering issues with a specific label (`"ideas"` / `"proposal"` / etc)

```
/{projectOwner}/{projectName}/issues?q=author%3A{username}+label%3Aideas
```

What's your thoughts on this? Cheers!

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.