You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a minimal API that lets plugins process the variant description
and add short labels that could be used to describe the wheel.
The labels are entirely optional -- plugins may not return any,
and clients may ignore them. The design also assumes that the client
is responsible for choosing how many labels to use before truncating --
though I suppose I'll add a helper function to `variantlib` for that
purpose.
The design assumes that plugin get complete unfiltered
`VariantDescription` -- and therefore also see variant metadata from
other plugins. I don't think that's really a problem, though it assumes
that the plugin must compare both against provider and key names.
At this point, the protocol makes the API mandatory, even if it would
only return an empty list unconditionally. Perhaps we should
make the function optional somehow instead.
0 commit comments