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
Geary compiles its GSettings schema at compile time to allow the app to be run from the source and for use by unit tests. However if the schema source XML changes, the binary schema file is not updated, leading to client errors and failed unit tests.
A trivial fix is to allow depend_files as a kwarg via adding it to @permittedKwargs for GnomeModule. compile_schemas, allowing the developer to specify the name of the source XML file, thus meson will ensure schema is re-compiled when the source changes.
E.g: This already fixes the issue, albeit with a warning from Meson at run time:
Geary compiles its GSettings schema at compile time to allow the app to be run from the source and for use by unit tests. However if the schema source XML changes, the binary schema file is not updated, leading to client errors and failed unit tests.
A trivial fix is to allow
depend_files
as a kwarg via adding it to@permittedKwargs
forGnomeModule. compile_schemas
, allowing the developer to specify the name of the source XML file, thus meson will ensure schema is re-compiled when the source changes.E.g: This already fixes the issue, albeit with a warning from Meson at run time:
Meson 0.42.1.
The text was updated successfully, but these errors were encountered: