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

Neil Horman noreply at github.com
Wed Jul 10 12:32:58 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/openssl
  Commit: acae12eb781658479b4fb3fee6334fd14a3c2739
      https://github.com/openssl/openssl/commit/acae12eb781658479b4fb3fee6334fd14a3c2739
  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)


  Commit: fc22d74c53720d14f99fd880b767d8a3e4986ae2
      https://github.com/openssl/openssl/commit/fc22d74c53720d14f99fd880b767d8a3e4986ae2
  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)


Compare: https://github.com/openssl/openssl/compare/2a4583977895...fc22d74c5372

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