Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

support more than strings and lists in `from-dep`'s `with-attributes`

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

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
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
devops

Hướng nghiên cứu

Start by locating the from-dep handling for with-attributes and the existing matching logic for direct values and lists. Confirm how true and other basic types are currently treated, then make direct values and list members consistent; done means both examples match as intended and the relevant behavior is covered by tests.

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

Mô tả

Right now, from-dep supports matching arbitrary values if they are part of a list of values, but only matching strings when directly defined. For example, you can do this:

from-deps:
  with-attributes:
    foo: [true]

But not:

from-deps:
  with-attributes:
    foo: true

We should probably be more lenient about the types of values we allow outside of the list, or more restrictive about what's allowed in the list. (I suggest that all basic types should be allowed in both places.)

Ngôn ngữ chính
Python
Star
26
Fork
55
Merge trung bình
2 ngày 6 phút
Pull request đã merge (30 ngày)
15

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 taskcluster/taskgraph

Tất cả issue của taskcluster/taskgraph

Issue tương tự

Thêm issue về Python

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.