`patch-add` + bare `%autosetup` fails at build time for patches that touch subdirectories
メンテナーはふだん 4 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 54/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go
- 領域
- build-system
調査の方向性
Start by locating patch-add handling and the renderer logic for %autosetup and %autopatch; the payload names no source files or tests, so trace those entry points and inspect existing patch rendering tests. Reproduce the failure with a patch touching a subdirectory and bare %autosetup, then verify the chosen strip-option or warning behavior is covered and the rendered build no longer fails silently.
索引モデルが issue の本文から書いたものです。
説明
A bare %autosetup (no -p) runs patch with no strip level, so it only uses the file's basename. A normal git patch to lib/xmlparse.c then fails with "No file to patch". Render looks fine, and the failure only shows up in mock. It hits any spec whose first added patch touches a subdirectory (expat, for example). There are 808 specs on 4.0 with a bare %autosetup.
Ask: a strip option on patch-add (e.g. strip = 1), or a render-time warning when a bare %autosetup/%autopatch meets a patch that needs -p1.
- 主要言語
- Go
- スター
- 18
- フォーク
- 30
- 平均マージ
- 3日 17時間
- マージ済み PR(30日)
- 40
環境構築
このプロジェクトの開発コンテナを、あなたの 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 が 37 日前に担当しました。 オープンarea: overlays enhancement priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/azure-linux-dev-tools#284 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
microsoft/azure-linux-dev-tools#423 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/azure-linux-dev-tools#411 ·
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/azure-linux-dev-tools#410 ·
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 55/100
microsoft/azure-linux-dev-tools#408 ·
メンテナーはふだん 4 日以内に返信
microsoft/azure-linux-dev-tools の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
rishikanthc/Scriberr#506 ·
-
[Bug] rollingUpdatePartition panics when live StatefulSet replicas sit far below the desired countオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sgl-project/rbg#547 ·
メンテナーはふだん 1 日以内に返信
-
area: frontend priority: normal
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area/validator
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
TestAutonomousStop_ReportsObservedState fails under host load: 1s wall-clock ceiling vs 250ms cycleオープンtype:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
nightgauge/nightgauge#2909 ·
メンテナーはふだん 1 日以内に返信