systemd/tools
Zbigniew Jędrzejewski-Szmek 1a71ac07ad meson: restore tools/meson-vcs-tag.sh
This conceptually reverts e95acdfe1d,
but the actual contents of the script are taken from the command invocation
in meson with all the updates that happened in the meantime.

One small change is that I replaced () by {}: this avoids one subprocess spawn.
People were worried about the cost of vcs_tag(), and this microoptimization may
help a bit. I measured the speed on machine, and noop rebuilds are still about
100–120 ms.

The logic is entirely moved to the script. This makes the meson config simpler
and also makes it easier to use it externally.

The script is needed for in-place rpm builds, see README.build-in-place.md [1],
where it is invoked from the spec file to determine the project version.

[1] https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/README.build-in-place.md
2023-09-18 14:37:09 +02:00
..
chromiumos hwdb: update autosuspend rules 2023-08-16 13:01:07 +02:00
add-git-hook.sh tools: shellcheck-ify most of the tool scripts 2021-04-20 20:11:13 +02:00
analyze-dump-sort.py tools: pylint analyze-dump-sort.py 2023-08-10 18:13:29 +02:00
catalog-report.py tools: pylint catalog-report.py 2023-08-10 11:08:17 +02:00
check-api-docs.sh Change all fixed-path bash shebangs to /u/b/env bash outside test/ 2021-12-12 21:13:50 +01:00
check-help.sh test/check-help: check that --help and -h are identical 2022-04-05 22:18:31 +02:00
check-includes.py tools: pylint check-includes.py 2023-08-10 11:08:17 +02:00
check-version.sh tests: add a smoke test for --version option in binaries 2022-04-05 22:18:31 +02:00
coverity.sh ci: simplify the Coverity script a bit 2022-08-11 10:57:25 +02:00
dbus_exporter.py tools: pylint dbus_exporter.py 2023-08-10 11:08:17 +02:00
debug-sd-boot.sh boot: Fix debug experience 2023-03-10 11:41:08 +01:00
dump-auxv.py tools: pylint dump-auxv.py 2023-08-10 18:13:29 +02:00
elf2efi.lds elf2efi: ensure minimum gap between .text and other sections 2023-05-24 11:06:36 +01:00
elf2efi.py Add .pylintrc to globally suppress warnings we don't really care about 2023-08-10 18:13:29 +02:00
find-build-dir.sh tools: shellcheck-ify most of the tool scripts 2021-04-20 20:11:13 +02:00
find-double-newline.sh tools: shellcheck-ify most of the tool scripts 2021-04-20 20:11:13 +02:00
find-tabs.sh tools: shellcheck-ify most of the tool scripts 2021-04-20 20:11:13 +02:00
gdb-sd_dump_hashmaps.py tools: pylint gdb-sd_dump_hashmaps.py 2023-08-10 18:13:29 +02:00
generate-gperfs.py tools: pylint generate-gperfs.py 2023-08-10 18:13:29 +02:00
git-contrib.sh tools/git-contrib: list contributions not only from Weblate 2022-03-29 19:42:01 +02:00
list-discoverable-partitions.py tools: pylint list-discoverable-partitions.py 2023-08-10 18:13:29 +02:00
make-autosuspend-rules.py tools: pylint make-autosuspend-rules.py 2023-08-10 18:13:29 +02:00
make-directive-index.py tools: pylint make-directive-index.py 2023-08-10 18:13:29 +02:00
make-man-index.py tools: pylint make-man-index.py 2023-08-10 18:13:29 +02:00
meson-build.sh tools: explicitly specify "setup" subcommand 2023-03-03 20:06:30 +09:00
meson-render-jinja2.py tools: pylint meson-render-jinja2.py 2023-08-10 18:13:29 +02:00
meson-vcs-tag.sh meson: restore tools/meson-vcs-tag.sh 2023-09-18 14:37:09 +02:00
oss-fuzz.sh meson: Drop skip-deps option 2023-08-23 14:57:49 +02:00
update-dbus-docs.py tools: pylint update-dbus-docs.py 2023-08-10 18:13:29 +02:00
update-hwdb-autosuspend.sh tools: update-hwdb-autosuspend.sh: Point at HEAD, not master branch 2023-08-16 02:07:00 +01:00
update-hwdb.sh tools: shellcheck-ify most of the tool scripts 2021-04-20 20:11:13 +02:00
update-man-rules.py tools: pylint update-man-rules.py 2023-08-10 18:13:29 +02:00
update-syscall-tables.sh tools: shellcheck-ify most of the tool scripts 2021-04-20 20:11:13 +02:00
xml_helper.py tools: pylint xml_helper.py 2023-08-10 18:13:29 +02:00