如何告訴 check-all-the-things 給出詳細輸出。

如何告訴 check-all-the-things 給出詳細輸出。

我在 Debian 夥伴。我正在嘗試在倉庫上使用檢查所有內容。我在備註的最後得到了這個 -

Remarks:
- dangerous check: afl bfbtester lockdep perl-b-lint perl-syntax-check zzuf
- help needed: acheck android-lint ansible-lint cbmc checkmp3 chk-origtargz codespell cpants-lint cppclean debian-tracker doc8 erlang-elvis ...
- modifies files: autoscan autoupdate stylish-haskell wrap-and-sort
- no matching files: 7z-test acheck afl android-lint ansible-lint appstream-util-validate appstreamcli-validate autodep8 autoscan autoupdate ...
- no output: bashate bitmap-gnuplot bitmap-inkscape bitmap-povray bitmap-synfig checkbashisms cpuinfo disabled-tests dsa-private-key ...
- no specific checks: *.data *.ogg *.png *.py *.pyc *.txt GPL3 LICENCE LICENSE arguments
- trimmed: bitmap-gimp fdupes fhs http licensecheck pep8 pyflakes pyflakes3 pylint pylint3 spellintian suspicious-source todo

我抬頭查看了 check-all-the-things 的線上幫助頁,但沒有看到任何內容。我正在尋找一種方法讓它盡可能詳細而不使用危險的檢查。我之前已經詢問過檢查所有事情,請參閱如何將 check-all-the-things 與 .deb 套件一起使用?

答案1

若要查看所有日誌,請執行以下命令:

check-all-the-things --silent-checks show --remarks-lines -1 --checks-output-lines -1

這會顯示不輸出任何內容的檢查,並且不會在給定行數(預設為 1 行--remarks-lines,預設為 10 行--checks-output-lines)後剪切輸出。

如果要啟用修改文件的檢查,請新增--flags +modify;這些檢查不被認為是危險的。您可以check-all-the-things在釋放之前透過新增 來驗證將要執行的操作--commands show

所有這些都在手冊頁中...

相關內容