Containers: Reserve all metadata fields for future standardization

Now that we have the instance ID, Flatpak-aware apps can look up
per-instance metadata in a Flatpak-specific way (by reading the file
that Flatpak provides), and similarly any other container framework
can provide its own mechanism to get extensible metadata; so the value
of providing container-manager-defined metadata is perhaps limited.

However, it seems valuable to have somewhere to put standardized
metadata: for example, we could have a shared specification between
Wayland and D-Bus to define a name for keys that could be common to
multiple sandbox frameworks. For example, it could include a
string that is a freedesktop.org app ID, or a string that is an icon
name, or a boolean that is true if networking is permitted.

This takes dbus/dbus#479 off the critical path for getting this feature
merged.

Helps: https://gitlab.freedesktop.org/dbus/dbus/-/issues/479
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
Simon McVittie 2023-10-27 19:51:41 +01:00
parent 3d5d9152aa
commit 70526a3381

View file

@ -7544,9 +7544,10 @@
<entry>3</entry>
<entry>DICT&lt;STRING,VARIANT&gt;</entry>
<entry>
Metadata describing the application or container, with the
keys and values defined by the maintainers of the container
type.
Metadata describing the application or container.
All keys and values are reserved for future standardization,
either in this specification or in a separate
freedesktop.org specification referenced by this one.
</entry>
</row>
<row>
@ -7915,9 +7916,10 @@
<entry>6</entry>
<entry>DICT&lt;STRING,VARIANT&gt;</entry>
<entry>
Metadata describing the application or container, with the
keys and values defined by the maintainers of the container
type.
Metadata describing the application or container.
All keys and values are reserved for future standardization,
either in this specification or in a separate
freedesktop.org specification referenced by this one.
This output parameter is controlled by the creator
of the per-container server.
</entry>