diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-05-12 16:36:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-05-12 20:46:08 +0200 |
commit | 2b4b532179725e69c8df7deceae9158b9beed560 (patch) | |
tree | 76d9c2dadf0fc75ec8f3cd6369b1a03718b6ae47 /bin | |
parent | f99404da8b38955b4c1b99f76cfaefd0c19d5348 (diff) |
rename ui-converter-skeleton to ui-rules-enforcer
Change-Id: I1cc0fd704be075a7c387363a49bd84b159831aca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115493
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ui-rules-enforcer.py (renamed from bin/ui-converter-skeleton.py) | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/ui-converter-skeleton.py b/bin/ui-rules-enforcer.py index 49c23669e800..e981ade27b26 100755 --- a/bin/ui-converter-skeleton.py +++ b/bin/ui-rules-enforcer.py @@ -7,8 +7,13 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2.0/. -# this should parse a .ui and overwrite it with the same content -# for a in `git ls-files "*.ui"`; do bin/ui-converter-skeleton.py $a; done +# ui-rules-enforcer enforces the .ui rules and properties used by LibreOffice +# mostly the deprecations of +# https://developer.gnome.org/gtk4/stable/gtk-migrating-3-to-4.html +# and a few other home cooked rules + +# for any existing .ui this should parse it and overwrite it with the same content +# e.g. for a in `git ls-files "*.ui"`; do bin/ui-rules-enforcer.py $a; done import lxml.etree as etree import sys |