Add pattern support for `about_resource` field?

Đang mở
#598 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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
documentation

Hướng nghiên cứu

Bắt đầu với đặc tả ABOUT và phần thảo luận trong PR #539, sau đó xác định about_resource được định nghĩa và xác thực ở đâu trong repository này. Quyết định xem các pattern nên thuộc về một field mới ở phía được triển khai hay field hiện có; được coi là hoàn tất khi thay đổi đặc tả đã chọn và tác động của nó đến toolkit được ghi lại và thống nhất.

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

Mô tả

Now we are using patterns to map to deployed resource paths, and this is also different from the about_resource field in the ABOUT spec as this is resources in the deployed side, and not present side-by-side in the devel codebase. We are currently using about_resource temporarily to have these patterns, until this spec change is accepted. But this is incorrect both because of the above reason, and that the about_resource spec does not support patterns for now.

https://github.com/aboutcode-org/aboutcode-toolkit/pull/539#issuecomment-1782270839

@pombredanne @AyanSinhaMahapatra

What’s the current status, and what plan/change needs to be made?
At present, the about_resource field is designed to reference a single resource (file or directory) at a time.

Should we introduce a new field to support patterns for about_resource on the deployed side, or should we extend the existing about_resource field to include pattern support

Ngôn ngữ chính
Python
Star
100
Fork
48
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có 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 aboutcode-org/aboutcode-toolkit

Tất cả issue của aboutcode-org/aboutcode-toolkit

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.