Skip to content

Conversation

@bneradt
Copy link
Contributor

@bneradt bneradt commented Jul 8, 2022

Before this patch, .git/fmt was used as the prerequisite to determine
whether clang-format was installed. But this directory was also created
by the autopep8 target, so if someone ran autopep8 before clang-format,
Make would think that clang-format was installed already. This adds a
hidden sentinel file to the clang-format install process that can be
used as a specific target in our clang-format Makefile.am.


For Review

Use the ignore whitespace option to simplify the diff. I had to change indentation.

Before this patch, .git/fmt was used as the prerequisite to determine
whether clang-format was installed. But this directory was also created
by the autopep8 target, so if someone ran autopep8 before clang-format,
Make would think that clang-format was installed already. This adds a
hidden sentinel file to the clang-format install process that can be
used as a specific target in our clang-format Makefile.am.
@bneradt bneradt added the Build work related to build configuration or environment label Jul 8, 2022
@bneradt bneradt added this to the 10.0.0 milestone Jul 8, 2022
@bneradt bneradt requested a review from randall July 8, 2022 17:21
@bneradt bneradt self-assigned this Jul 8, 2022
@bneradt bneradt merged commit 15bea4d into apache:master Jul 8, 2022
@bneradt bneradt deleted the better_clang_format_prerequisite branch July 8, 2022 18:31
zwoop pushed a commit that referenced this pull request Jul 13, 2022
Before this patch, .git/fmt was used as the prerequisite to determine
whether clang-format was installed. But this directory was also created
by the autopep8 target, so if someone ran autopep8 before clang-format,
Make would think that clang-format was installed already. This adds a
hidden sentinel file to the clang-format install process that can be
used as a specific target in our clang-format Makefile.am.

(cherry picked from commit 15bea4d)
@zwoop
Copy link
Contributor

zwoop commented Jul 13, 2022

Cherry-picked to v9.2.x

@zwoop zwoop modified the milestones: 10.0.0, 9.2.0 Jul 13, 2022
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Feb 21, 2023
Before this patch, .git/fmt was used as the prerequisite to determine
whether clang-format was installed. But this directory was also created
by the autopep8 target, so if someone ran autopep8 before clang-format,
Make would think that clang-format was installed already. This adds a
hidden sentinel file to the clang-format install process that can be
used as a specific target in our clang-format Makefile.am.

(cherry picked from commit 15bea4d)
masaori335 pushed a commit to masaori335/trafficserver that referenced this pull request Feb 21, 2023
* asf/9.2.x: (22 commits)
  Updated ChangeLog
  Add 5xx's to be allowed to be used for simple retries (apache#8518)
  Extend milestone api time tracking to remap. (apache#8520)
  Destroy ssl context after use. (apache#8531)
  Proxy Verifier: Update to version 2.4.1 (apache#8965)
  Fixes issue with file size calculation for existing logs (apache#8971)
  Fix reverting PR#7302 (apache#8975)
  add a metric to track how often the range seek bug is detected (apache#8970)
  Updated ChangeLog
  Revert "File change monitoring on s3_auth (apache#8905)"
  .fit/fmt/.clang-format-installed prerequisite (apache#8950)
  Make the autopep8 clang-format targets quieter (apache#8944)
  Add option to disable JIT in lua plugin (apache#8618)
  Fix doc formatting for plugin remap_stats (apache#8942)
  Fix doc formatting for rate_limit plugin (apache#8943)
  Clear lua plugin http context after each hook handler (apache#8607)
  LGTM: Remove function declaration in block (HdrHeap.cc) (apache#8588)
  ESI processing when origin returns 304 response (apache#8563)
  call je_dallocx with flags when needed (apache#8547)
  Updated ChangeLog
  ...

 Conflicts:
	CHANGELOG-9.2.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build work related to build configuration or environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants