NetworkManager/tools
Thomas Haller 069089cdf2
tools: fix constructing XML by dropping broken pretty_xml()
I don't understand the code, but it mangles the XML.

There is no difference in the markup we have so far. But if you
have nested XML (like for description-docbook tag) there are cases
where this is wrong.

There is also no need to prettify anything. If you want pretty-formatted
XML, do it yourself, for example with

  $ tidy --indent yes --indent-spaces 4 --indent-attributes yes --wrap-attributes yes --input-xml yes --output-xml yes src/libnm-client-impl/nm-property-infos-nmcli.xml

I think this was initially done, because we had the tool in perl, and
when migrating, we wanted to generate the exactly same output. And it
was the same output, and it was fine for the input we have. But with
different input, it's wrong. Drop it now.

(cherry picked from commit 35599b4349)
2022-02-10 08:41:19 +01:00
..
check-compare-generated.sh build: rename "tools/check-settings-docs.sh" to "check-compare-generated.sh" 2020-11-03 15:41:39 +01:00
check-config-options.sh all: move "src/" directory to "src/core/" 2021-02-04 09:45:55 +01:00
check-docs.sh build: move "libnm/" to "src/" and split it 2021-02-24 12:48:37 +01:00
check-exports.sh tools/check-exports.sh: use ${NM} when available 2015-09-24 16:28:15 +02:00
check-gitlab-ci.sh tools: improve detection of "ci-fairy" command in "tools/check-gitlab-ci.sh" 2020-12-11 16:08:47 +01:00
check-tree.sh build: move "clients/common/" to "src/libnmc-{base,setting}/" 2021-03-02 08:38:25 +01:00
create-exports-NetworkManager.sh tools: use libtool --mode=execute 2021-04-04 09:27:35 +02:00
debug-helper.py all: reformat python files with python black 2020-06-15 16:40:38 +02:00
enums-to-docbook.pl all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
generate-docs-nm-property-infos.py tools: fix constructing XML by dropping broken pretty_xml() 2022-02-10 08:41:19 +01:00
generate-docs-nm-settings-docs-gir.py all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
generate-docs-nm-settings-docs-merge.py Support new attribute tag description-docbook 2021-06-23 08:59:45 -04:00
meson-post-install.sh docs: add more nm-settings manpages (dbus,nmcli,keyfile,ifcfg-rh) 2020-06-11 10:53:49 +02:00
run-nm-test.sh tests: let "run-nm-test.sh" fail with exit code 1 on failure 2022-02-10 08:41:15 +01:00
test-build.sh core: rework IP configuration in NetworkManager using layer 3 configuration 2021-11-18 16:21:29 +01:00
test-networkmanager-service.py tools/tests: set available-connections for vlan device in NM test stub 2022-01-21 12:08:00 +01:00
test-sudo-wrapper.sh nmtst: add nmtst_reexec_sudo() function 2014-06-05 18:12:57 +02:00