Skip to content

[WIP] hooks: make hooks dependent on available utils - #15811

Closed
phlax wants to merge 3 commits into
envoyproxy:mainfrom
phlax:hooks-skip-missing-paths
Closed

phlax wants to merge 3 commits into
envoyproxy:mainfrom
phlax:hooks-skip-missing-paths

Conversation

@phlax

@phlax phlax commented Apr 1, 2021

Copy link
Copy Markdown
Member

Signed-off-by: Ryan Northey [email protected]

Commit Message: hooks: skip code_format.py if $BUILDIFER_PATH is not set
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

@phlax

phlax commented Apr 1, 2021 •

Copy link
Copy Markdown
Member Author

cc @mattklein123

i can type --no-verify almost as fast i can type import pdb; pdb.set_trace() 8/

it would be great to be able to push without having to worry about push hooks failing because of missing deps in the env

this will make it much easier to add separate hooks for linting tools

Comment thread support/hooks/pre-push Resolved
@phlax phlax changed the title hooks: skip code_format.py if $BUILDIFER_PATH is not set [WIP] hooks: skip code_format.py if $BUILDIFER_PATH is not set Apr 1, 2021
@phlax
phlax marked this pull request as draft April 1, 2021 18:52
@phlax

phlax commented Apr 1, 2021

Copy link
Copy Markdown
Member Author

nm - i think i opened this in frustration

ill make it a bag of hooks and maybe some cleanup to the hook file

@phlax phlax changed the title [WIP] hooks: skip code_format.py if $BUILDIFER_PATH is not set [WIP] hooks: make hooks dependant on availble utils Apr 1, 2021
@phlax phlax changed the title [WIP] hooks: make hooks dependant on availble utils [WIP] hooks: make hooks dependent on available utils Apr 1, 2021
@mattklein123 mattklein123 self-assigned this Apr 1, 2021
Comment thread support/hooks/pre-push Resolved
Comment thread tools/code_format/glint.sh Resolved
Comment thread support/hooks/pre-push Resolved
Comment thread support/hooks/pre-push Resolved
Comment thread support/hooks/pre-push Resolved
Comment thread support/hooks/pre-push Resolved
Comment thread support/hooks/pre-push Resolved
Comment thread support/hooks/pre-push Resolved
Comment thread support/hooks/pre-push Resolved
Comment thread support/hooks/pre-push Resolved
Comment thread tools/code_format/BUILD Resolved
Comment thread .flake8 Resolved
Comment thread support/hooks/pre-push Resolved
Comment thread support/hooks/pre-push Resolved
Comment thread support/hooks/pre-push Resolved
phlax added 3 commits May 1, 2021 20:16
with a warning about unset path/skipped test

Signed-off-by: Ryan Northey <[email protected]>
Signed-off-by: Ryan Northey <[email protected]>
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions Bot added the stale stalebot believes this issue/PR has not been touched recently label Jun 23, 2021
@phlax phlax removed the stale stalebot believes this issue/PR has not been touched recently label Jun 24, 2021
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions Bot added the stale stalebot believes this issue/PR has not been touched recently label Jul 24, 2021
@phlax phlax added no stalebot Disables stalebot from closing an issue and removed stale stalebot believes this issue/PR has not been touched recently labels Jul 24, 2021
@mattklein123 mattklein123 removed the no stalebot Disables stalebot from closing an issue label Feb 16, 2022
@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions Bot added the stale stalebot believes this issue/PR has not been touched recently label Mar 18, 2022
@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because it has not had activity in the last 37 days. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions!

@github-actions github-actions Bot closed this Mar 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale stalebot believes this issue/PR has not been touched recently waiting

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants