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

Đang mở
#429 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 3 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
56/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
tooling

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Go
Star
18
Fork
30
Merge trung bình
3 ngày 7 giờ
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/azure-linux-dev-tools

Tất cả issue của microsoft/azure-linux-dev-tools

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.