con / con/solidation

New feature: be able to provision separate section(s) based on label(s)

Open
#17 3 comments 0 reactions 0 assignees View on GitHub
good-for-hackathon
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

E.g.

```yaml
custom_sections:
- name: Easy work needing help
types: [pull, issue]
labels: easy, contribution-desired
```

to create a section which would collate Pull requests and Issues which have both labels `easy` and `contribution-desired`.
It would then be useful to annotate/be able to find work which anyone in the team could pick up "when bored" or just to improve the greenness of their github profiles.

as for selection, I wonder if may be it could be generalized a little more exposing internal structure but making it also flexible

```yaml
custom_sections:
- name: Easy work needing help
condition: 'easy' in thing.labels and 'contribution-desired' in thing.labels"
```
where `thing` would be an issue (from `self.active_issues`) or a PR (from `self.open_prs`).

WDYT @jwodder ?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.