Repository navigation
fix: make block-cli-workarounds quote-aware and wrapper-proof #172
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7c9c3e8
fix: match commands quote-aware in block-cli-workarounds
ryzizub 4f26cdf
refactor: simplify the block-cli-workarounds matcher
ryzizub a3b3ab2
refactor: drop the token alphabet between the matcher and the deny
ryzizub 485a7cc
refactor: replace the shell lexer with three substitutions
ryzizub 983d33d
refactor: flatten the matcher and cut the comments to one clause each
ryzizub fe69da4
docs: cut the hook descriptions to what a reader needs
ryzizub cab1a1b
test: name the blocked commands literally
ryzizub a078868
docs: one line per idea in the hook, its tests and its docs
ryzizub 3cf6c24
fix: consume quoted spans left to right, treat quoted heredocs as data
ryzizub 70de088
refactor: move the matcher into its own awk file
ryzizub d684d5e
Merge branch 'main' into session/wary-finch-555u
unicoderbot[bot] 0a9c11c
refactor: rewrite the matcher in bash and drop awk
ryzizub 259c690
fix: say a denial can come from an argument, and pin what that costs
ryzizub 67d84e0
fix: name very_good dart as itself in the denial
ryzizub b2a8c07
fix: scan a quoted heredoc body when a shell is reading it
ryzizub 6e74c54
docs: cut the README hook row back to what a user needs
ryzizub File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.