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

Print pre-commit install non-default output #1498

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

MarcelKoch
Copy link
Member

This PR adds a message if pre-commit install exits with non-default output. The default output should be:

pre-commit installed at <path>

Anything else might indicate an issue, for example if already another pre-commit hook exists.

I decided against issuing a warning specific for the pre-commit legacy mode, since I hope that this can be more generic.

@MarcelKoch MarcelKoch self-assigned this Dec 6, 2023
@ginkgo-bot ginkgo-bot added the reg:build This is related to the build system. label Dec 6, 2023
@MarcelKoch MarcelKoch requested a review from a team December 6, 2023 15:58
CMakeLists.txt Show resolved Hide resolved
@yhmtsai yhmtsai requested a review from a team December 6, 2023 20:31
CMakeLists.txt Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Dec 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

warning The version of Java (11.0.3) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@MarcelKoch MarcelKoch merged commit a47745f into develop Dec 14, 2023
11 of 15 checks passed
@MarcelKoch MarcelKoch deleted the warn-on-legacy-git-hook branch December 14, 2023 08:03
@ginkgo-bot
Copy link
Member

Error: PR already merged!

@upsj upsj added the 1:ST:ready-to-merge This PR is ready to merge. label Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1:ST:ready-to-merge This PR is ready to merge. reg:build This is related to the build system.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants