-
Notifications
You must be signed in to change notification settings - Fork 43
Resolve docker hiccups around regexp build #1101
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
Open
ahouseholder
wants to merge
7
commits into
main
Choose a base branch
from
maybe-fix-1067-with-1065
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
fd85932
Improve namespace ABNF integration
bernhardreiter d072c7b
improve ABNFpattern integration
bernhardreiter b196a8b
Revert #1067, apply #1065: move abnf-to-regexp to dev dep with static…
ahouseholder 9254d55
Merge commit 'd072c7beae7ff64adec5edcca11d027dabdff39f' into maybe-fi…
ahouseholder 10cb123
format with black
ahouseholder 6d25bf6
Move abnf-to-regexp to codegen group; add --no-sync to uv run CMDs
ahouseholder 02dd77e
Apply suggestion from @Copilot
sei-renae 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # AUTOGENERATED, DO NOT CHANGE manually, see Makefile | ||
| alnum = '[a-zA-Z0-9]' | ||
| lower = '[a-z]' | ||
| alnumlow = f'({lower}|[0-9])' | ||
| dash = '-' | ||
| alnumlowdash = f'({alnumlow}|{dash})' | ||
| label = f'{alnumlow}(({alnumlowdash}){{0,61}}{alnumlow})?' | ||
| reverse_dns = f'{label}(\\.{label})+' | ||
| dot = '\\.' | ||
| specialchar = f'({dot}|{dash})' | ||
| fragment_seg = f'({alnumlow})+({specialchar}({alnumlow})+)*' | ||
| x_name = f'{reverse_dns}#{fragment_seg}' | ||
| x_base = f'x_{x_name}' | ||
| ns_core = f'{lower}{alnumlow}(({specialchar})?({alnumlow})+)+' | ||
| reg_base = f'{ns_core}(#{fragment_seg})?' | ||
| base_ns = f'({x_base}|{reg_base})' | ||
| singleton = '[0-9A-WY-Za-wy-z]' | ||
| bcp47 = ( | ||
| '(([a-zA-Z]{2,3}(-[a-zA-Z]{3}(-[a-zA-Z]{3}){0,2})?|[a-z' | ||
| 'A-Z]{4,8})(-[a-zA-Z]{4})?(-([a-zA-Z]{2}|[0-9]{3}))?(-' | ||
| f'(({alnum}){{5,8}}|[0-9]({alnum}){{3}}))*(-{singleton}(-' | ||
| f'({alnum}){{2,8}})+)*(-[xX](-({alnum}){{2,8}})+)?|[xX](-' | ||
| f'({alnum}){{2,8}})+|i-default|i-mingo)' | ||
| ) | ||
| translation = f'\\.({reverse_dns}|{x_name})\\${bcp47}' | ||
| ext_seg = f'({bcp47}|\\.{x_name}|{translation})' | ||
| lang_ext = f'(/|/{bcp47})' | ||
| extensions = f'{lang_ext}((/{ext_seg})+)?' | ||
| namespace = f'{base_ns}({extensions})?' | ||
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new generated Python module does not include the standard CMU copyright/license header that appears to be present in essentially all other
src/ssvc/**/*.pyfiles (including other generated helpers). If the project requires that header in distributed source files, update the generation rule (Makefile) to emit the full header before the autogenerated content so the generated file stays compliant.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ahouseholder can we configure the makefile to add the legalese?