|
17 | 17 | > - PR [#4320](https://github.com/google/go-github/pull/4320)(#3680/#3644, GistsService 値渡し化)… ✅ **マージ済み**(gmlewis, 2026-06-24, merge `642da7db`)。原作者PR **#3680 はクローズ**。トラッキングIssue **#3644 は #4320 マージで一旦自動クローズされたが、メンテナが「全サービス対象なので未完」として即 再オープン(state_reason=reopened)→ 現在も OPEN・未アサイン**。レビューで `GistFileRequest` を `CreateGistFile`/`UpdateGistFile` の2型に分割・マップ値をポインタ化・`(Required.)`注釈除去等の指摘に対応の上でマージ。**→ #3644 は次の着手候補(GistsService 以外のサービスを同パターンで値渡し化)。** |
18 | 18 | > - PR [#4321](https://github.com/google/go-github/pull/4321)(#576, test/fields の誤検知修正)… ❌ **クローズ(未マージ)**。メンテナ gmlewis が「`test/fields` は廃止予定の旧ツール」と判断し、別 PR #4322 で**ツール自体を削除**。Issue #576 もクローズ(COMPLETED)。 |
19 | 19 | > - **2026-06-25 — 再オープンされた #3644 の続きに着手**: Issue本文の旗艦例 `repos_releases.go` の `CreateRelease`/`EditRelease` を値渡し化+`EditRelease`→`UpdateRelease` 改名し PR [#4329](https://github.com/google/go-github/pull/4329)(`refactor!:`)を提出(base `master`, head `JamBalaya56562:refactor/3644-release-value-params`)。`Updates #3644`(再オープン済みトラッキングIssueを再度自動クローズしないため `Fixes` は不使用)。検証: gofmt/build/vet/全テスト緑・生成物 drift なし・cla pass / check-changes pass。詳細は #3644 詳細を参照。 |
| 20 | +> - **2026-06-25 — 停滞 Issue のトリアージ(再現調査・正答案内)4件**: |
| 21 | +> - **#1793**(新ブランチへ直接コミット)… ✅ **クローズ済み**。Git Data API での正答をコード例付きで投稿(実コンパイル+モックテスト検証)→ gmlewis クローズ。 |
| 22 | +> - **#2480**(root ファイル DL 不可)… ✅ **クローズ済み**。**再現不可**を実証(PR #3573, 2025-05-12 で根本原因の親ディレクトリ列挙が撤去済み)→ クローズ提案 → gmlewis クローズ。 |
| 23 | +> - **#2898**(`NewClientWithEnvProxy` 要否)… #4201 で `WithEnvProxy()` へ移行済みを踏まえ、新APIでの env proxy の正しい使い方(素のケース/カスタム transport ケース)を案内コメント投稿(コード例は実コンパイル検証済み)。Issue は OPEN のまま。 |
| 24 | +> - **#1575**(io.CopyN 要否)… 評価のみ(#317→#847+net/http Go1.7 で実質決着・6年 stale と確認)。投稿は見送り(ユーザー判断)。 |
20 | 25 | > |
21 | 26 | > 本レポートは Open な Issue 37件・PR 6件を1件ずつ調査し、本文・全コメントの確認に加えて |
22 | 27 | > `github/` 配下の実コードを実地確認した上で、根本原因・解決方針・難易度・対応区分をまとめたものです。 |
|
78 | 83 | | --- | --- | --- | |
79 | 84 | | [#4301](https://github.com/google/go-github/issues/4301) | Fix SCIMService.UpdateProvisionedOrgMembership and SCIMService.UpdateAttributeForSCIMUser | PR [#4315](https://github.com/google/go-github/pull/4315)(`fix!: Send request body in SCIM update methods`)が 2026-06-21 にマージ済み。レポートの解決方針どおり、専用 Request 型新設・ボディ送信・返り値 `(*SCIMUserAttributes, *Response, error)` 化・`Operations` 配列化が実装され、`//nolint:paramcheck` も除去。Breaking change のため次メジャーで提供。Issue は PR マージで自動クローズ済みの想定。 | |
80 | 85 | | [#1575](https://github.com/google/go-github/issues/1575) | determine if there are situations when io.CopyN | Issueは現在も state=OPEN・NeedsInvestigationラベルのまま放置(最終更新 2020-10-11)だが、議論としては実質的に決着済み | |
81 | | -| [#2480](https://github.com/google/go-github/issues/2480) | DownloadContents can't download files from root | 最新コメント群では、メンテナ gmlewis が「自分では再現できないので、再現できる人が直してほしい」と述べ、merchantmoh-debug が「後で見て発生確率が低ければ放 | |
82 | | -| [#2898](https://github.com/google/go-github/issues/2898) | Is NewClientWithEnvProxy necessary? | 最新コメント(nejch, 2026-02-03)は、terraform-provider-github の proxy 問題が env 変数設定だけでは解決せず `NewClie | |
| 86 | +| [#2480](https://github.com/google/go-github/issues/2480) | DownloadContents can't download files from root | **✅ 2026-06-25 クローズ済み(gmlewis)**。PR #3573(2025-05-12)で `DownloadContents` が `GetContents` 直呼びに書き換えられ、root ファイルの再現不可を当フォークが実証→クローズ提案→クローズ。詳細は #2480 詳細参照。 | |
| 87 | +| [#2898](https://github.com/google/go-github/issues/2898) | Is NewClientWithEnvProxy necessary? | 最新コメント(nejch, 2026-02-03)は、terraform-provider-github の proxy 問題が env 変数設定だけでは解決せず `NewClie`…。**更新 (2026-06-25): #4201 で `NewClientWithEnvProxy`→`WithEnvProxy()` 移行済み。当フォークが新APIでの env proxy の正しい使い方(素のケース/カスタム transport ケース)を案内コメント投稿。Issue 自体は OPEN のまま。** | |
83 | 88 | | [#3004](https://github.com/google/go-github/issues/3004) | Add client.WithClient method | Issue は OPEN だが assignee 無し(closedByPullRequestsReferences も空) | |
84 | 89 | | [#3226](https://github.com/google/go-github/issues/3226) | Unable to create Custom Repository Role without | 最新コメント(2024-08-14)時点で、andriyun が API 非破壊の形に PR #3235 を修正済み | |
85 | 90 |
|
@@ -107,7 +112,7 @@ Issue に対応する Open PR が既にある。新規実装ではなく、PR |
107 | 112 | | [#98](https://github.com/google/go-github/issues/98) | メタ/プロセス | 不明 | Add integration tests | |
108 | 113 | | [#310](https://github.com/google/go-github/issues/310) | CI/ツール | 中 | Automatically run integration tests | |
109 | 114 | | [#999](https://github.com/google/go-github/issues/999) | 機能改善 | 難 | Proposal: Make preview features configurable | |
110 | | -| [#1793](https://github.com/google/go-github/issues/1793) | 質問・サポート | 不明 | Create commit in new branch without creating branc | |
| 115 | +| [#1793](https://github.com/google/go-github/issues/1793) | 質問・サポート | 不明 | Create commit in new branch without creating branc ✅ **2026-06-25 クローズ済み**(Git Data API での正答案内→gmlewis クローズ) | |
111 | 116 | | [#3037](https://github.com/google/go-github/issues/3037) | メタ/プロセス | 些細 | FYI: New official alpha Go SDK released based on K | |
112 | 117 | | [#3067](https://github.com/google/go-github/issues/3067) | メタ/プロセス | 難 | Proposal/Question: Release frequency | |
113 | 118 | | [#3159](https://github.com/google/go-github/issues/3159) | メタ/プロセス | 中 | Bug: Issues.ListByRepo Repository field is always | |
@@ -223,7 +228,9 @@ Issue に対応する Open PR が既にある。新規実装ではなく、PR |
223 | 228 |
|
224 | 229 | ### Issue [#1793](https://github.com/google/go-github/issues/1793) — Create commit in new branch without creating branch beforehand |
225 | 230 |
|
226 | | -分類: **質問・サポート** / 難易度: **不明** / 対応区分: **🤔 メンテナ判断待ち** |
| 231 | +分類: **質問・サポート** / 難易度: **不明** / 対応区分: **✅ クローズ済み(gmlewis, completed, 2026-06-24)** |
| 232 | + |
| 233 | +> **更新 (2026-06-25)**: 当フォークが Git Data API による正答(`GetRef`→`GetCommit`→`CreateTree`→`CreateCommit`→`CreateRef` で新ブランチを **新コミットSHA** に向け、base 同一SHA の CI 無駄起動を回避)をコード例付きで投稿([issuecomment-4792506344](https://github.com/google/go-github/issues/1793#issuecomment-4792506344)、スニペットは `go build` 実コンパイル+モックテストで検証済み)。これを受けて **gmlewis がクローズ(completed)**。スレッド最終回答(russellrc-keebo)が要望に答えていなかった点を補い、go-github 既存APIで完結することを示した。 |
227 | 234 |
|
228 | 235 | **概要**: ユーザー(brondum)は、事前に client.Git.CreateRef でリモートブランチを作らずに、新しいブランチ上へ直接コミットを作成したいと要望している。現状の手順(GetRef でソースブランチ取得 → CreateRef で新ブランチ作成 → UpdateFile)では、新ブランチがベースブランチと同一の commitSHA で作られるため、CI が同じ SHA に対して無駄にジョブをトリガーしてしまう、というのが動機。go-github 固有のバグではなく、GitHub REST API の機能制約に関する利用相談である。 |
229 | 236 |
|
@@ -262,7 +269,9 @@ Issue に対応する Open PR が既にある。新規実装ではなく、PR |
262 | 269 |
|
263 | 270 | ### Issue [#2480](https://github.com/google/go-github/issues/2480) — DownloadContents can't download files from root of repo |
264 | 271 |
|
265 | | -分類: **バグ** / 難易度: **些細** / 対応区分: **✔️ 解決済み(要クローズ)** |
| 272 | +分類: **バグ** / 難易度: **些細** / 対応区分: **✅ クローズ済み(#3573 で解決, gmlewis, completed, 2026-06-24)** |
| 273 | + |
| 274 | +> **更新 (2026-06-25)**: 当フォークが**再現不可**を確定(root ファイル `CODEOWNERS` を要求 → 現行は `contents/CODEOWNERS` を直接取得し、ディレクトリ列挙を一切しないことをモックテストで実証)。根本原因(`path.Dir` による親ディレクトリ列挙)は **PR [#3573](https://github.com/google/go-github/pull/3573)**「Improve DownloadContents…」(commit `d436b529`, 2025-05-12 マージ)で `GetContents` 直呼びに書き換えられ撤去済み。これを根拠にクローズ提案コメント([issuecomment-4792596802](https://github.com/google/go-github/issues/2480#issuecomment-4792596802))を投稿 → **gmlewis がクローズ(completed)**。gmlewis が「再現できない」としていた理由(= #3573 で既に解消)を明示した。 |
266 | 275 |
|
267 | 276 | **概要**: 単一ファイル単位の細かい権限(fine-grained / GitHub App の Single file 権限)しか持たないトークンで、リポジトリのルート直下にあるファイル(例: CODEOWNERS)を DownloadContents でダウンロードできない、という不具合報告。当時の実装は path.Dir(filepath) でディレクトリを求め、まずそのディレクトリの一覧を取得してからファイル名を文字列照合していた。ルート直下ファイルでは path.Dir が "." となりリポジトリルートの一覧取得が走るが、ルートディレクトリの読み取り権限を持たないトークンではここで失敗する。通常の PAT や Contents 権限を持つ App では問題なく動作するため再現条件が限定的。 |
268 | 277 |
|
|
0 commit comments