[Bug]: Local specs with `render.skip-file-filter = true` will include their own toml files in their rendered output.

オープン
#429 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
56/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
go
領域
tooling

調査の方向性

Start by tracing the render path for local specs and the handling of render.skip-file-filter, using the reproduction in the issue to locate the relevant Go code and tests. Check how files are selected for specs/a/azurelinux-repos/; done means the local spec’s own .comp.toml file is omitted or filter controls can express that exclusion, with a test covering the reported case.

索引モデルが issue の本文から書いたものです。

説明

bug

Bug Description
A local spec (azurelinux-repos for example), will include azurelinux-repos.comp.toml in the rendered output.

Reproduction Steps

  1. Add render.skip-file-filter = true to base/comps/azurelinux-repos/azurelinux-repos.comp.toml
  2. update + render
  3. specs/a/azurelinux-repos/azurelinux-repos.comp.toml should have been added.

Expected behavior
Either omit clearly alzdev related files, or allow more nuance in filter controls

Actual behavior
Blindly copies all files.

azldev version
azldev version v1.1.1-0.20261020205247-fc971ef2c3fa+dirty (dirty changes are due to package test changes)

Environment

  • azl3.0

Additional context
https://github.com/microsoft/azurelinux/pull/20007/changes#diff-a3e471d3573eefb0b30bf4179040c0f0f34856b6cbbafa389d3ffd3ed03f8035

主要言語
Go
スター
18
フォーク
30
平均マージ
3日 7時間
マージ済み PR(30日)
40

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/azure-linux-dev-tools のほかの issue

microsoft/azure-linux-dev-tools の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。