[openssl/openssl] 67b23c: 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.1
  Home:   https://github.com/openssl/openssl
  Commit: 67b23c7bde37d4b4e49619d2a88afabec501bf72
      https://github.com/openssl/openssl/commit/67b23c7bde37d4b4e49619d2a88afabec501bf72
  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: cf4c03d823d9b1324093ab3bf68c7db299b50f91
      https://github.com/openssl/openssl/commit/cf4c03d823d9b1324093ab3bf68c7db299b50f91
  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/7b2826f65d5b...cf4c03d823d9

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