Skip to content

[th/code-format-container] clang-format: rework "" script

Thomas Haller requested to merge th/code-format-container into main

Instead of doing the broken podman run and podman start approach, build an image ("nm-code-format:f38"), cache it, and use it to run "" via podman run. We should build and keep a container image, not a container.

The benefit is that this allows to hand over the command line arguments to "". In particular the "-u" and "-F" options, which are life savers.

This means,

$ contrib/scripts/ -u


Try also

$ contrib/scripts/ -h

which tells you that you are running inside the container, and how to delete/renew the container image.

Edited by Thomas Haller

Merge request reports