diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 10:38:25 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 10:38:25 +0000 |
commit | d977ed2a119106100f64a873d99aed238ea6b059 (patch) | |
tree | ad205e51c67f28f4fc0e15af90af9f31ea15c182 /debputy.pod | |
parent | Adding upstream version 0.1.30. (diff) | |
download | debputy-d977ed2a119106100f64a873d99aed238ea6b059.tar.xz debputy-d977ed2a119106100f64a873d99aed238ea6b059.zip |
Adding upstream version 0.1.31.upstream/0.1.31
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debputy.pod')
-rw-r--r-- | debputy.pod | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/debputy.pod b/debputy.pod index 0cee740..c53fa23 100644 --- a/debputy.pod +++ b/debputy.pod @@ -171,6 +171,21 @@ providing the results. If you rely on the exit code, you are recommended to explicitly pass the relevant variant of the flag even if the current default matches your wishes. +=item B<--missing-style-is-ok> + +By default, B<debputy reformat> will exit with an error when it cannot determine which style to +use. This is generally what you want for "per package" CI or other lint checks to inform you that +the reformatting will not work. + +However, for "cross package" pipelines, like the default Debian Salsa CI pipeline, having +B<debputy reformat> automatically work when a style is set and doing nothing otherwise is +preferable, since the pipeline can then provide a B<debputy reformat> job for all consumers +without worrying about breaking their pipelines. + +It can also be useful for scripts or automated mass-edits where you want B<debputy> to fixup +the changes you did if there is a known style without being hampered by the packages that +have no known style. + =back =item lint |