The contributor page links to an org-wide PR search instead of the program's repos
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 88/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github, typescript
調査の方向性
src/index.tsの324行目付近にあるリンクの構築を読み、そのクエリをsrc/github.tsの123~131行目付近にあるsearchMergedPrsと比較してください。test/card.test.tsのコントリビューターカードのテストを更新し、独自のreposリストを持つプログラムを対象にしてください。リンクがプログラムのリポジトリを使用し、作成者、ラベル、日付の各フィルターを維持したうえで、型チェックとテストが通れば完了です。
索引モデルが issue の本文から書いたものです。
説明
On a contributor card page, "See 's merged pull requests on GitHub" links to a GitHub search built with org:codercops (src/index.ts, line 324). The number on the card comes from searchMergedPrs (src/github.ts, line 123), which only searches the program's repos (repo:codercops/<repo> for each one, line 131). So the link can list PRs the card didn't count. For a program with its own repos list it always does, and for the current one it would as soon as another codercops repo gets a labeled PR.
What to do
- Build the link's query from
program.reposthe same waysearchMergedPrsdoes, instead oforg:.
Where to look
src/index.ts, line 324, andsrc/github.ts, lines 123 to 131test/card.test.ts: the expected search string at line 317 needs updating, and a case with a program that sets its ownreposwould cover the fix
Acceptance criteria
- The link searches only the program's repos, with the same author, label and dates as now
- Tests that fail on the current code
-
npm run typecheckandnpm testpass
Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off develop, and open your PR against develop with Closes #101 in the description.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 1
- 平均マージ
- 6時間 29分
- マージ済み PR(30日)
- 76
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
codercops/discord-bot のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
codercops/discord-bot#108 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Contributing to discord-bot: start here再び着手できるかも @sank8-2 が 7 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 15/100
codercops/discord-bot#15 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
codercops/discord-bot の issue をすべて見る
似ている issue
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster maturity:stable no-stale P1
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openclaw/openclaw#190772 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
flisk-sh/run-my-agents#61 ·
-
難易度 2/5 3〜5日 初心者へのやさしさ 62/100
career-ops-hq/career-ops#6399 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
BoardGamesEmpire/board-games-empire-backend#1027 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
johnfrog76/connected-deck#21 ·