-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix some typos #26031
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
Fix some typos #26031
Conversation
|
Ok, sure. It's checked by spell checker and replaced manually in the editor. |
@@ -11,7 +11,7 @@ The default version will read from `docs/config.yml`. You can override this | |||
using the option `--version`. | |||
|
|||
The upstream branches will be fetched, using the remote `origin`. This can | |||
be overrided using `--upstream`, and fetching can be avoided using | |||
be overrode using `--upstream`, and fetching can be avoided using |
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.
be overrode using `--upstream`, and fetching can be avoided using | |
be overridden using `--upstream`, and fetching can be avoided using |
@@ -1305,7 +1305,7 @@ Defaultly every storage has their default base path like below | |||
| actions_log | actions_log/ | | |||
| actions_artifacts | actions_artifacts/ | | |||
|
|||
And bucket, basepath or `SERVE_DIRECT` could be special or overrided, if you want to use a different you can: | |||
And bucket, basepath or `SERVE_DIRECT` could be special or overriden, if you want to use a different you can: |
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.
And bucket, basepath or `SERVE_DIRECT` could be special or overriden, if you want to use a different you can: | |
And bucket, basepath or `SERVE_DIRECT` could be special or overridden, if you want to use a different you can: |
PropertyMetadata = "rpm.metdata" | ||
PropertyMetadata = "rpm.metadata" |
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.
Is that change really possible?
I'm not sure if it isn't breaking.
@@ -22008,7 +22008,7 @@ | |||
"author": { | |||
"$ref": "#/definitions/CommitUser" | |||
}, | |||
"commiter": { | |||
"committer": { |
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.
Not good.
That means we have a breaking change in this PR.
@@ -9,7 +9,7 @@ import ( | |||
"code.gitea.io/gitea/modules/log" | |||
) | |||
|
|||
// doMergeStyleMerge merges the tracking into the current HEAD - which is assumed to tbe staging branch (equal to the pr.BaseBranch) | |||
// doMergeStyleMerge merges the tracking into the current HEAD - which is assumed to the staging branch (equal to the pr.BaseBranch) |
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.
// doMergeStyleMerge merges the tracking into the current HEAD - which is assumed to the staging branch (equal to the pr.BaseBranch) | |
// doMergeStyleMerge merges the tracking into the current HEAD - which is assumed to be the staging branch (equal to the pr.BaseBranch) |
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.
Meant to request changes, the API change must be reverted.
Q. Don't we have spell checker in github action which checks all typos? |
There is Lines 311 to 313 in 2f0e79e
|
I think it's worth a try to add https://github.com/facelessuser/pyspelling via poetry and run that in addition to misspell. |
May be we can consider https://github.com/super-linter/super-linter, but its a lil bit heavy, a monolith, we can customize it specfic to our use case. |
I can give a try in next PR |
No, because every task needs to be runnable locally and once you add something specific to GH Actions, you lose the ability to run checks locally which is very important.
|
Yup, thats true. Let's stick to your suggested package then. No worries |
Ideally it should be something we can install and lock down via npm, poetry, golang or even cargo. pyspelling is not ideal because it does not ship aspell so we can not lock it down to a version. |
It's on npm |
Ah yes, I was just about to post cspell as well. |
I was using typos. |
I wonder how those two compare. Using rust crate for a tool should be in the realm of possibilites at least, even thought I have not done that so far 😉. |
As title