summaryrefslogtreecommitdiff
path: root/tools/xml_helper.py
Commit message (Collapse)AuthorAgeFilesLines
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* tree-wide: drop header for emacs from python scriptsYu Watanabe2018-12-101-2/+1
|
* Drop my copyright headersZbigniew Jędrzejewski-Szmek2018-06-141-2/+0
| | | | | | | perl -i -0pe 's/\s*Copyright © .... Zbigniew Jędrzejewski.*?\n/\n/gms' man/*xml git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/(#\n)?# +Copyright © [0-9, -]+ Zbigniew Jędrzejewski.*?\n//gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s*\/\*\*\*\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*?\s*\*\*\*\/\s*/\n\n/gms' git grep -e 'Copyright.*Jędrzejewski' -l | xargs perl -i -0pe 's/\s+Copyright © [0-9, -]+ Zbigniew Jędrzejewski[^\n]*//gms'
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
| | | | | | Let's unify an beautify our remaining copyright statements, with a unicode ©. This means our copyright statements are now always formatted the same way. Yay.
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | | | | | | This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* Add SPDX license headers to python scriptsZbigniew Jędrzejewski-Szmek2017-11-191-0/+3
|
* Mark python scripts executableZbigniew Jędrzejewski-Szmek2017-05-071-0/+0
| | | | | | | | | | Since all our python scripts have a proper python3 shebang, there is no benefit to letting meson autodetect them. On linux, meson will just uses exec(), so the shebang is used anyway. The only difference should be in how meson reports the script and that the detection won't fail for (most likely misconfigured) non-UTF8 locales. Closes #5855.
* more portable python shebangs (#5816)Jörg Thalheim2017-04-301-1/+1
| | | | | This is useful on systems like NixOS, where python3 is not in /usr/bin/python3 as well as for people using alternative ways to install python such as virtualenv/pyenv.
* Use python3 explicitly in all python scriptsFelipe Sateler2016-11-281-0/+1
|
* build-sys: make lxml required when generating indicesZbigniew Jędrzejewski-Szmek2014-02-121-19/+8
| | | | | Since the manpage indices generated without lxml would be missing some parts, it doesn't make sense to keep lxml optional anymore.
* man: use xinclude to de-deduplicate common textZbigniew Jędrzejewski-Szmek2014-02-121-9/+13
| | | | | I only tested with python-lxml. I'm not sure if xml.etree should be deprecated.
* build-sys: move python helpers to tools directoryKarel Zak2014-02-101-0/+41
Note that make-man-rules.py is missing in EXTRA_DIST=, this patch fixes this mistake too.