[Libreoffice-commits] core.git: bin/ui-converter-skeleton.py bin/ui-rules-enforcer.py
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed May 12 18:46:57 UTC 2021
bin/ui-rules-enforcer.py | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 2b4b532179725e69c8df7deceae9158b9beed560
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed May 12 16:36:09 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed May 12 20:46:08 2021 +0200
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 at redhat.com>
diff --git a/bin/ui-converter-skeleton.py b/bin/ui-rules-enforcer.py
similarity index 95%
rename from bin/ui-converter-skeleton.py
rename to 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
More information about the Libreoffice-commits
mailing list