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

Neil Horman noreply at github.com
Wed Jul 10 12:34:59 UTC 2024


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 548469f55f288502d5d4ebdf0b480fa8d8b37102
      https://github.com/openssl/openssl/commit/548469f55f288502d5d4ebdf0b480fa8d8b37102
  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: e04a00f7cdeda4c0bee0e0031df7a51d9e224795
      https://github.com/openssl/openssl/commit/e04a00f7cdeda4c0bee0e0031df7a51d9e224795
  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/8f4514029cae...e04a00f7cded

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