Skip to content

docs: remove unsupported regex path matching notice#15916

Merged
htuch merged 3 commits intoenvoyproxy:mainfrom
saiskee:fix-routing-docs
Apr 14, 2021
Merged

docs: remove unsupported regex path matching notice#15916
htuch merged 3 commits intoenvoyproxy:mainfrom
saiskee:fix-routing-docs

Conversation

@saiskee
Copy link
Copy Markdown
Contributor

@saiskee saiskee commented Apr 11, 2021

Signed-off-by: Keerthan Ekbote saiskee@gmail.com

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md

Commit Message: Remove old message from http routing intro docs saying that regex path matching isn't supported.
Additional Description: Adds additional note linking to regex path matching.
Risk Level: low
Testing: N/A
Docs Changes: Adds additional note linking to regex path matching.
Release Notes: N/A
Platform Specific Features: N/A
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]

…pporting

Signed-off-by: Keerthan Ekbote <saiskee@gmail.com>
@repokitteh-read-only
Copy link
Copy Markdown

Hi @saiskee, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #15916 was opened by saiskee.

see: more, trace.

Signed-off-by: Keerthan Ekbote <saiskee@gmail.com>
don’t recommend regex/slug routing at the reverse proxy level, however we may add support in the
future depending on demand.
* Prefix and exact path matching rules (both :ref:`case sensitive <envoy_v3_api_field_config.route.v3.RouteMatch.case_sensitive>` and case insensitive).
* :ref:`Regex path matching <envoy_v3_api_field_config.route.v3.RouteMatch.safe_regex` rules.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi @saiskee the PR is failing due to trailing whitespace, could you clean up and push again

Copy link
Copy Markdown
Member

@phlax phlax Apr 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its also failing due to missing closing bracket

undefined label: regex path matching <envoy_v3_api_field_config.route.v3.routematch.safe_regex

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @phlax, are there any tools for formatting docs similar to clang?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im working on it right now

the first issue would be picked up by running ./tools/code_format/glint.sh

unfortunately with the second issue i think you would actually need to build the docs at least atm - im working on adding rstcheck which i would hope to pick it up - not 100% sure tho

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re the first issue - i would recommend setting your editor to automatically fixing the problems that ./glint.sh picks up, ie

  • no trailing whitespace
  • newline (not blank line) at end of all files
  • no mixed tab and space indents

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

re IDE auto fixing problems - Do I need an extension for this? I am using VsCode.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure i use emacs

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@htuch htuch assigned phlax and htuch Apr 11, 2021
Signed-off-by: Keerthan Ekbote <saiskee@gmail.com>
@saiskee saiskee requested a review from phlax April 13, 2021 00:27
Copy link
Copy Markdown
Member

@phlax phlax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @saiskee

im not so familiar with the regex matching, but lgtm from what i do understand

Copy link
Copy Markdown
Member

@htuch htuch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@htuch htuch merged commit 55002fa into envoyproxy:main Apr 14, 2021
douglas-reid pushed a commit to douglas-reid/envoy that referenced this pull request Apr 19, 2021
Signed-off-by: Keerthan Ekbote <saiskee@gmail.com>
Signed-off-by: Douglas Reid <douglas-reid@users.noreply.github.com>
Monkeyanator pushed a commit to Monkeyanator/envoy that referenced this pull request Apr 20, 2021
Signed-off-by: Keerthan Ekbote <saiskee@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants