AcademySoftwareFoundation / AcademySoftwareFoundation/OpenColorIO

Support for name/value pairs

Ouverte
#2,148 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C++
Étoiles
2.1k
Forks
503
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par lire cette issue avec l’issue #1975 et la discussion existante sur les rôles ; aucun fichier d’implémentation ni aucun test n’est indiqué dans le payload. Recueillez des cas d’utilisation concrets, les attentes concernant les namespaces et le comportement attendu de l’application, puis documentez le périmètre convenu et les critères d’une proposition résolue.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
cpp
Domaine
backend-api-design
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.