run-pre-upload-checks
How to run local presubmit, formatting, filename, and documentation checks before uploading a BoringSSL change.
작성자를 위한 경고
- "name" should match the name of the directory that holds SKILL.md
- Not listed through the skills extension: the directory must be named after the skill.
Running Pre-Upload Checks
Run the applicable local checks below before uploading a change, in addition to build_and_test.
CQ-Enforced Checks (Blocking)
- Pre-generated files: Check that
gen/is up-to-date (see update_pregenerated_files, withclangonPATH). - Source filename uniqueness (when adding/renaming
.c/.ccfiles): Rungo run ./util/check_filenames.go(see util/check_filenames.go). - Public header docs (when modifying
include/openssl/*.h): Run(cd util && go run doc.go -out /tmp/bssl-docs)(util/doc.go readsdoc.configanddoc.cssfrom CWD and defaults-outto.). - Go unit tests (when modifying Go packages): Run
go test $(cat util/go_tests.txt).
Style and Presubmit Checks (Non-Blocking on CQ)
These checks (including PRESUBMIT.py) are not enforced by CQ; run them when available locally, and treat missing local tools as non-blocking:
- C/C++ formatting (outside
third_party/andgen/):git clang-format - Bazel formatting (
*.bazel/*.bzloutsidethird_party/andgen/):buildifier --mode=check <files...> - LUCI CQ config (when modifying
infra/config/main.star): Follow infra/config/README.md.
이 스킬의 파일
이 스킬에는 보조 파일이 없습니다.