bazel/README.md: add aspell comment#17072
Conversation
Signed-off-by: Long Dai <long0dai@foxmail.com>
|
/cc @phlax |
phlax
left a comment
There was a problem hiding this comment.
@daixiang0 is this the best place to document this ?
bazel/README.md
Outdated
| To run the tools directly, you must install the correct version of clang. This | ||
| may change over time, check the version of clang in the docker image. You must | ||
| also have 'buildifier' installed from the bazel distribution. | ||
| also have 'buildifier' installed from the bazel distribution and `aspell`. |
There was a problem hiding this comment.
im not sure if this is the correct place to put this - given that currently aspell is required for running the python script and isnt activated via bazel - altho this may change after
There was a problem hiding this comment.
I do not find a good place to put it, maybe a new line for it?
There was a problem hiding this comment.
i think that information about aspell should not be in this file - there is no bazel job that depends on it - this file is mostly about setting up a bazel environment - info on linting is not relevant here and is wierdly misplaced
that said - its already like that and there is information about running the spell checker below
perhaps add it there - something like "if you wish to run spellchecking please install aspell"
even that tho doesnt really cover it - eg if you install on debian/ubuntu aspell as so apt install --no-install-recommends aspell it wont work correctly - as you need the en dictionaries that are pulled in as recommends
i think this info - like the information about linting - has no place on this page
There was a problem hiding this comment.
This section is "Running clang-format without docker", it covers more things indeed, why not rename it as something like "Running format without docker" and comment its dependence like aspell?
There was a problem hiding this comment.
rename it as something like "Running format without docker"
my preference would be "Linting your code without docker"
i still think we need to move this section - but agree its beyond the scope of this change
if you want to add information about the aspell dependency - please make it clear that its required for running the check_spelling.py script - not for running the other format tools
There was a problem hiding this comment.
Done.
let us do it step by step :)
bazel/README.md
Outdated
| To run the tools directly, you must install the correct version of clang. This | ||
| may change over time, check the version of clang in the docker image. You must | ||
| also have 'buildifier' installed from the bazel distribution. | ||
| also have 'buildifier' installed from the bazel distribution and `aspell`. |
There was a problem hiding this comment.
actually in retrospect maybe have the same 's around buildifier and aspell?
/wait
There was a problem hiding this comment.
sorry I do not get key :(
phlax
left a comment
There was a problem hiding this comment.
@daixiang0 a couple of nits then lets land
|
@phlax done. |
|
please review @phlax |
phlax
left a comment
There was a problem hiding this comment.
lgtm, thanks @daixiang0 - with the caveat, as discussed, that you will need the same aspell dictionaries as ci to correctly spellcheck
* main: listener: match rebalancer to listener IP family type (envoyproxy#16914) jwt_authn: implementation of www-authenticate header (envoyproxy#16216) listener: reset the file event in framework instead of listener filter doing itself (envoyproxy#17227) Small typo fix (envoyproxy#17247) Doc: Clarify request/response attributes are http-only (envoyproxy#17204) bazel/README.md: add aspell comment (envoyproxy#17072) docs: Fix broken URL links in HTTP upgrades doc (envoyproxy#17225) remove the wrong comment on test (envoyproxy#17233) upstream: allow clusters to skip waiting on warmup for initialization (envoyproxy#17179) JwtAuthn: support completing padding on forward jwt payload header (envoyproxy#16752) remove support for v2 UNSUPPORTED_REST_LEGACY (envoyproxy#16968) metrics service: fix wrong argument arrange on MetricsServiceSink (envoyproxy#17127) deps: update cel-cpp to 0.6.1 (envoyproxy#16293) Add ability to filter ConfigDump. (envoyproxy#16774) examples: fix Wasm example. (envoyproxy#17218) upstream: update host's socket factory when metadata is updated. (envoyproxy#16708) Signed-off-by: Garrett Bourg <bourg@squareup.com>
Signed-off-by: Long Dai <long0dai@foxmail.com> Signed-off-by: chris.xin <xinchuantao@qq.com>
Signed-off-by: Long Dai <long0dai@foxmail.com>
Signed-off-by: Long Dai long0dai@foxmail.com
Commit Message:
Add
aspellcomment.To fix below error:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]
[Optional API Considerations:]