본문으로 건너뛰기

google/boringssl

Mirror of BoringSSL

https://skillcdn.ai/gh/google/boringssl

내 AI에 이 주소를 연결하면 이 스킬을 쓸 수 있어요. 연결 방법 보기

  • 미확인
  • 기본 브랜치main
  • 커밋1008a51
  • 라이선스Apache-2.0
  • 검색단어
GitHub에서 보기

run-pre-upload-checks

How to run local presubmit, formatting, filename, and documentation checks before uploading a BoringSSL change.

경로
_agents/skills/run_pre_upload_checks/SKILL.md
라이선스
Apache-2.0

작성자를 위한 경고

  • "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, with clang on PATH).
  • Source filename uniqueness (when adding/renaming .c/.cc files): Run go 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 reads doc.config and doc.css from CWD and defaults -out to .).
  • 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/ and gen/): git clang-format
  • Bazel formatting (*.bazel / *.bzl outside third_party/ and gen/): buildifier --mode=check <files...>
  • LUCI CQ config (when modifying infra/config/main.star): Follow infra/config/README.md.

이 스킬의 파일

이 스킬에는 보조 파일이 없습니다.

지원 파일 전체 둘러보기