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

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


  Branch: refs/heads/openssl-3.2
  Home:   https://github.com/openssl/openssl
  Commit: ab0c60df1fd5983d737323e34360567464ab2c26
      https://github.com/openssl/openssl/commit/ab0c60df1fd5983d737323e34360567464ab2c26
  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: 4a86845e80fa21796948a4eea6f29bd578489b46
      https://github.com/openssl/openssl/commit/4a86845e80fa21796948a4eea6f29bd578489b46
  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/dc38fc542b8d...4a86845e80fa

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