5
Current efforts to make plainbox, checkbox and various job providers
6
translatable are affected by the fact that we abuse JobDefinition.name as both
7
english-like constant identifier and user-visible name. I would like to
13
1. I would like to propose that the on-disk format field ``name`` be deprecated
15
2. If the field ``name`` is used, it will be transparently mapped to ``id`` and
16
used to define the new job attribute ``JobDefinition.id``. All uses of
17
``name`` will cause warnings to be logged. After a while we can remove that
18
feature and rejects the ``name`` field (for another period, after which we
20
3. A new field ``summary`` is defined and mandatory for all jobs. The summary
21
field must be one line, short (capped to some reasonable amount) and should
22
be derived from the current name field in a meaningful way (manually, one
23
time transition process).
24
4. The ``summary`` field will be translatable
25
5. PlainBox will resort to ``JobDefinition.summary`` instead of ``.id``
26
whenever the job needs to be displayed or converted to a string.
31
This proposal would need to see forked job definitions *or* add support for
32
``summary`` in the old checkbox. The level of required support is minimal, only
33
to the point where current functionality does not regress