[openssl/openssl] ad45d7: Add a check-format-commit.sh script

Neil Horman noreply at github.com
Wed Jul 10 12:35:01 UTC 2024


  Branch: refs/heads/openssl-3.3
  Home:   https://github.com/openssl/openssl
  Commit: ad45d7630e64094eaab1a9763726e7ac34099b44
      https://github.com/openssl/openssl/commit/ad45d7630e64094eaab1a9763726e7ac34099b44
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    A util/check-format-commit.sh

  Log Message:
  -----------
  Add a check-format-commit.sh script

Add a wrapper script to check-format.pl, which is capable of analyzing
commits rather than just a file.  for a provided commit this script:

1) runs check-format.pl on the files changed in the provided commit

2) filters the output of check-format.pl, only producing lines that
   match ranges of changed lines in those files

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
(Merged from https://github.com/openssl/openssl/pull/24806)

(cherry picked from commit acae12eb781658479b4fb3fee6334fd14a3c2739)


  Commit: 38a78978ef0676ee30e2eaed77837e355c4e51c7
      https://github.com/openssl/openssl/commit/38a78978ef0676ee30e2eaed77837e355c4e51c7
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-07-10 (Wed, 10 Jul 2024)

  Changed paths:
    A .github/workflows/style-checks.yml

  Log Message:
  -----------
  Add a style-check workflow

Add a CI job that evaluates style issues, restricted only to lines
changed for the affected files in a given commit

Also provide a mechanism to waive those style issues.  by applying the
style:exempted label to a PR, the checks are still run (its nice to see
what they are regardless), but the test will pass CI regardless of
weather any issues are found.

Reviewed-by: Tomas Mraz <tomas at openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove at arm.com>
(Merged from https://github.com/openssl/openssl/pull/24806)

(cherry picked from commit fc22d74c53720d14f99fd880b767d8a3e4986ae2)


Compare: https://github.com/openssl/openssl/compare/05caedb5aaa1...38a78978ef06

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/openssl/settings/notifications


More information about the openssl-commits mailing list