check_contributors.py --pending does not show which issues each pull request closes

Open Beginner friendly
#1,331 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
86/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
github, python

Research direction

Start with run_pending in scripts/check_contributors.py and pending in scripts/contributors_entries.py; trace how pending pull requests and commit authors are fetched. Add the closing issue references to each PR’s pending output, then run the relevant test with saved data. Done when a PR that closes issue #1304 displays closes #1304 under its title in --pending.

Written by the indexing model from the issue text.

Description

community enhancement

Where: scripts/check_contributors.py (run_pending), scripts/contributors_entries.py (pending).

Current gap: --stub now writes closing issue #N from GitHub's closingIssuesReferences (#1308), but the pending list and the weekly contributors issue show only the PR number and title, so whoever updates an existing contributor's entry (a count to update line) still looks the issue up by hand.

Suggested approach: Fetch the closing issues for the pending PRs the same way as the commit authors and print closes #N after each PR title.

Done when: --pending shows closes #1304 under a PR that closes it, covered by a test with saved data.

Dominant language
HTML
Stars
47
Forks
45
Avg merge
2h 49m
Merged PRs (30d)
69

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from yakew7/Fair-Code

All issues in yakew7/Fair-Code

Similar issues

More CLI issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.