AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

Support for name/value pairs

Đang mở
#2,148 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
2.1k
Fork
505
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

As part of the discussions around issue #1975, there has been a side discussion around allowing arbitrary name/value pairs. For example, many file formats allow some sort of capability like this to store metadata. OpenEXR is one example.

However, an OCIO config is not really an asset format, like an image file, so different considerations apply.

In addition, features like this can easily become unwieldy. It's difficult to keep people aligned on maintaining consistent usage. We've already seen this in OCIO with the roles mechanism where the usage has been so inconsistent that it's difficult for applications to use it for many of the things it was intended for without declaring their own private set. (Roles have been a bit of a train wreck, IMHO.)

And there may be security risks or performance issues if people are allowed to use this to include binary blobs (e.g., encoded using base64 or something similar that would work in YAML).

As with both OCIO roles and OpenEXR attributes, it would be possible to use some sort of namespace convention to organize names into groups. The namespace would indicate what organization owns the semantics for that name/value pair.

This issue is to capture specific use-cases for how people would expect this feature to be used and what applications would be expected to do with it.

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

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

Hướng nghiên cứu

Bắt đầu bằng cách đọc issue này cùng với issue #1975 và cuộc thảo luận hiện có về roles; payload không nêu tệp triển khai hay test nào. Thu thập các trường hợp sử dụng cụ thể, các kỳ vọng về namespace và hành vi dự kiến của ứng dụng, sau đó ghi lại phạm vi đã thống nhất và các tiêu chí để một proposal được xem là đã được giải quyết.

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

Đánh giá

Công nghệ
cpp
Lĩnh vực
backend-api-design
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

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.