Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C++] Adjust clang-format search names #13369

Merged

Conversation

Demogorgon314
Copy link
Member

Motivation

The Pulsar C++ client use clang-format 5.0 to format files, we don't need to search for a version lower than 5.0.

Additionally, the old version of clang-format might be hard to install in the normal way, for example, in macOS, users can't use brew to install clang-format@5, because brew doesn't maintain the old version software with very few users. In this PR, it introduced a solution to install clang-format@5 in macOS.

Modifications

  • Make CMake don't search clang-format for a version lower than 5.0.
  • Introduce solution to install clang-format 5.0

Documentation

Need to update docs?

  • doc

@github-actions github-actions bot added the doc Your PR contains doc changes, no matter whether the changes are in markdown or code files. label Dec 17, 2021
@Demogorgon314
Copy link
Member Author

/pulsarbot run-failure-checks

2 similar comments
@Demogorgon314
Copy link
Member Author

/pulsarbot run-failure-checks

@Demogorgon314
Copy link
Member Author

/pulsarbot run-failure-checks

Co-authored-by: Anonymitaet <50226895+Anonymitaet@users.noreply.github.com>
@Anonymitaet Anonymitaet added this to the 2.10.0 milestone Dec 20, 2021
@Anonymitaet Anonymitaet merged commit af9a577 into apache:master Dec 20, 2021
@Demogorgon314 Demogorgon314 deleted the Adjust-clang-format-search-names branch December 20, 2021 11:48
Technoboy- pushed a commit to Technoboy-/pulsar that referenced this pull request Dec 29, 2021
* Adjust clang-format search names

* Update pulsar-client-cpp/README.md

Co-authored-by: Anonymitaet <50226895+Anonymitaet@users.noreply.github.com>

Co-authored-by: Anonymitaet <50226895+Anonymitaet@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Your PR contains doc changes, no matter whether the changes are in markdown or code files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants