docs(gschema-overrides): Explain why zz1- prefixed gschema override is preferred

This commit is contained in:
fiftydinar 2025-04-07 19:17:55 +02:00 committed by GitHub
parent 9038422545
commit de6a0f3c81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,9 @@ Then you can just set `type: gschema-overrides` in module recipe & be good to go
Optionally, you can include only specific file(s) in the module recipe, if you don't want every gschema override, like in example configuration. Optionally, you can include only specific file(s) in the module recipe, if you don't want every gschema override, like in example configuration.
It is highly recommended to use `zz1-` prefix before your gschema.override name, to ensure that your changes are going to be applied. It is highly recommended to use `zz1-` prefix before your gschema.override name, to ensure that your changes are going to be applied.
Gschema overrides which rank higher in alphabetic filename order are the most preferred, hence the recommendation above.
So if you don't see some changes with `zz1-` prefixed gschema override applied, rename the prefix to the higher alphabetic order like `zz2-` or similar.
Also don't forget to rename your file(s) too with this prefix in `files/gschema-overrides/`. Also don't forget to rename your file(s) too with this prefix in `files/gschema-overrides/`.