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

ENH: Remove Clang Format Linter Action #4707

Merged

Conversation

thewtex
Copy link
Member

@thewtex thewtex commented Jun 3, 2024

This never worked from fork PR pull requests due to GitHub permission
limitations. While it may be possible to fix this with recently added
GitHub Action permission features, a future replacement is planned based
on the pre-commit hooks, #4235 and related.

This never worked from fork PR pull requests due to GitHub permission
limitations. While it may be possible to fix this with recently added
GitHub Action permission features, a future replacement is planned based
on the `pre-commit` hooks, InsightSoftwareConsortium#4235 and related.
@github-actions github-actions bot added type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots type:Enhancement Improvement of existing methods or implementation labels Jun 3, 2024
@thewtex thewtex mentioned this pull request Jun 3, 2024
2 tasks
@thewtex thewtex requested a review from hjmjohnson June 3, 2024 15:48
@thewtex thewtex force-pushed the rm-clang-format-action branch from b7f5d29 to 4b0d263 Compare June 3, 2024 15:51
@thewtex thewtex merged commit 07f8459 into InsightSoftwareConsortium:master Jun 3, 2024
13 checks passed
@thewtex thewtex deleted the rm-clang-format-action branch June 3, 2024 21:23
thewtex added a commit to thewtex/ITK that referenced this pull request Jun 5, 2024
The was intended to be removed in InsightSoftwareConsortium#4707. Forgo both in favor of future
pre-commit based Actions.
@dzenanz
Copy link
Member

dzenanz commented Jun 5, 2024

We might want to revert this, given #4712.

N-Dekker added a commit to N-Dekker/ITK that referenced this pull request Sep 23, 2024
Ran at bash:

    find . -regex '.*itk.*\.\(hxx\|h\|cxx\)' -exec /f/bin/ITK/ClangFormat-prefix/src/ClangFormat/clang-format.exe -style=file -i {} \;

Manually reverted changes in ThirdParty.

At the moment, the "client side" is responsible for running clang-format.exe

Related commits:

- pull request InsightSoftwareConsortium#4712
commit c7e8b25
"BUG: Remove Apply clang-format to PR", June 5, 2024

- pull request InsightSoftwareConsortium#4707
commit 4b0d263
"ENH: Remove Clang Format Linter Action", June 3 2024
dzenanz pushed a commit that referenced this pull request Sep 26, 2024
Ran at bash:

    find . -regex '.*itk.*\.\(hxx\|h\|cxx\)' -exec /f/bin/ITK/ClangFormat-prefix/src/ClangFormat/clang-format.exe -style=file -i {} \;

Manually reverted changes in ThirdParty.

At the moment, the "client side" is responsible for running clang-format.exe

Related commits:

- pull request #4712
commit c7e8b25
"BUG: Remove Apply clang-format to PR", June 5, 2024

- pull request #4707
commit 4b0d263
"ENH: Remove Clang Format Linter Action", June 3 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Enhancement Improvement of existing methods or implementation type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants