Skip to content

Conversation

@silverwind
Copy link
Member

@silverwind silverwind commented Feb 9, 2024

  • Use maintained fork https://github.com/golangci/misspell
  • Rename mispell-check to lint-spell, add lint-spell-fix
  • Run lint-spell in separate actions step
  • Lint more files, fix discovered issues
  • Remove inaccurate and outdated info in docs (we do not need GOPATH for tools anymore)

Maybe later we can add more spellchecking tools, but I have not found any good ones yet.

@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Feb 9, 2024
@silverwind silverwind added the skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features. label Feb 9, 2024
@silverwind silverwind force-pushed the spell branch 2 times, most recently from 90b46ec to 7511383 Compare February 9, 2024 00:12
@silverwind silverwind changed the title Rework spellchecking Rework spellchecking, add lint-spell Feb 9, 2024
@GiteaBot GiteaBot added lgtm/need 1 This PR needs approval from one additional maintainer to be merged. and removed lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. labels Feb 9, 2024
@GiteaBot GiteaBot added lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. and removed lgtm/need 1 This PR needs approval from one additional maintainer to be merged. labels Feb 9, 2024
@techknowlogick
Copy link
Member

Setting backport on this due to docs changes

@techknowlogick techknowlogick enabled auto-merge (squash) February 9, 2024 03:32
@techknowlogick techknowlogick merged commit 9c39f85 into go-gitea:main Feb 9, 2024
@GiteaBot GiteaBot added this to the 1.22.0 milestone Feb 9, 2024
@GiteaBot
Copy link
Collaborator

GiteaBot commented Feb 9, 2024

I was unable to create a backport for 1.21. @silverwind, please send one manually. 🍵

go run ./contrib/backport 29106
...  // fix git conflicts if any
go run ./contrib/backport --continue

@GiteaBot GiteaBot added the backport/manual No power to the bots! Create your backport yourself! label Feb 9, 2024
@silverwind
Copy link
Member Author

I forgot adding lint-spell-fixto lint-fix, will push a followup PR and then backport both together.

@silverwind silverwind deleted the spell branch February 9, 2024 08:59
silverwind added a commit that referenced this pull request Feb 9, 2024
Followup to #29106, fix this
oversight.
silverwind added a commit to silverwind/gitea that referenced this pull request Feb 9, 2024
- Use maintained fork https://github.com/golangci/misspell
- Rename `mispell-check` to `lint-spell`, add `lint-spell-fix`
- Run `lint-spell` in separate actions step
- Lint more files, fix discovered issues
- Remove inaccurate and outdated info in docs (we do not need GOPATH for
tools anymore)

Maybe later we can add more spellchecking tools, but I have not found
any good ones yet.
silverwind added a commit to silverwind/gitea that referenced this pull request Feb 9, 2024
DennisRasey pushed a commit to DennisRasey/forgejo that referenced this pull request Feb 10, 2024
Followup to go-gitea/gitea#29106, fix this
oversight.

(cherry picked from commit c7a21cb)
KN4CK3R pushed a commit that referenced this pull request Feb 17, 2024
backport #27530 to make pull request lint happy
https://github.com/go-gitea/gitea/actions/runs/7939560756/job/21679856929?pr=29206
since #29106

---------

Co-authored-by: techknowlogick <techknowlogick@gitea.com>
silverwind added a commit to silverwind/gitea that referenced this pull request Feb 20, 2024
- Use maintained fork https://github.com/golangci/misspell
- Rename `mispell-check` to `lint-spell`, add `lint-spell-fix`
- Run `lint-spell` in separate actions step
- Lint more files, fix discovered issues
- Remove inaccurate and outdated info in docs (we do not need GOPATH for
tools anymore)

Maybe later we can add more spellchecking tools, but I have not found
any good ones yet.
silverwind added a commit to silverwind/gitea that referenced this pull request Feb 20, 2024
@wxiaoguang wxiaoguang added the backport/done All backports for this PR have been created label Feb 21, 2024
6543 pushed a commit to 6543-forks/gitea that referenced this pull request Feb 26, 2024
- Use maintained fork https://github.com/golangci/misspell
- Rename `mispell-check` to `lint-spell`, add `lint-spell-fix`
- Run `lint-spell` in separate actions step
- Lint more files, fix discovered issues
- Remove inaccurate and outdated info in docs (we do not need GOPATH for
tools anymore)

Maybe later we can add more spellchecking tools, but I have not found
any good ones yet.

(cherry picked from commit 9c39f85)

Conflicts:
	.github/workflows/pull-compliance.yml
	Makefile
@github-actions
Copy link

Automatically locked because of our CONTRIBUTING guidelines

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport/done All backports for this PR have been created backport/manual No power to the bots! Create your backport yourself! lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. modifies/docs modifies/internal skip-changelog This PR is irrelevant for the (next) changelog, for example bug fixes for unreleased features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants