`patch-add` doesn't add a `%patch` line, so the patch is silently skipped in hand-written-%patch specs
メンテナーはふだん 5 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- build-system, devtools
調査の方向性
Start by locating the patch-add implementation and its render-time handling of PatchN: tags; the issue names no files or tests. Check how explicit %patch lines are detected and how strip levels are represented, then compare the option that emits a line with the render-time warning alternative. Done means added patches are applied or produce a clear warning in hand-written %patch specs.
索引モデルが issue の本文から書いたものです。
説明
When a spec applies its patches with explicit %patch lines (opensc, vim, alsa-lib, …), patch-add adds the PatchN: tag but nothing applies it. Render passes, the build passes, and the fix never actually goes in.
Right now we work around it with a spec-search-replace that inserts %patch -PN -p1 after the spec's last %patch. That means guessing the N azldev will pick, and it breaks as soon as the anchor line changes upstream.
Ask: an option on patch-add to emit the %patch line too (with a strip level), or at minimum a render-time warning when a patch is added but nothing applies it.
- 主要言語
- Go
- スター
- 18
- フォーク
- 30
- 平均マージ
- 4日 20時間
- マージ済み PR(30日)
- 23
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/azure-linux-dev-tools のほかの issue
-
`patch-add` overlay appends `PatchN:` tag at end of preamble instead of grouping with existing Patch tags対応中かも @IzanVil が 33 日前に担当しました。 オープンarea: overlays enhancement priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/azure-linux-dev-tools#284 · コメント 2 件 ·
メンテナーはふだん 5 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/azure-linux-dev-tools#411 ·
メンテナーはふだん 5 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/azure-linux-dev-tools#410 ·
メンテナーはふだん 5 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 54/100
microsoft/azure-linux-dev-tools#409 ·
メンテナーはふだん 5 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/azure-linux-dev-tools#407 ·
メンテナーはふだん 5 日以内に返信
microsoft/azure-linux-dev-tools の issue をすべて見る
似ている issue
-
feat(gmail): make gmail get --format raw text output the exact message, like drafts get --format rawオープンclawsweeper:needs-product-decision clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster P3
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openclaw/gogcli#1276 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
hiero-ledger/hiero-sdk-go#1886 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
cloudevents/sdk-go#1346 ·