Skip to content
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 documents for development and bug report #18249

Merged
merged 4 commits into from Jan 13, 2022

Conversation

wxiaoguang
Copy link
Contributor

This PR fixes some documents and sentences.

  1. Tell users to Make sure you are using the latest release before submitting an issue.
  2. Update hacking-on-gitea.en-us.md to tell developers to do lint correctly.
  3. Remove out-dated information, eg make fmt-check
  4. Fix some typos.

Hopefully we can keep documents correct and up-dated.

@wxiaoguang wxiaoguang added the type/docs This PR mainly updates/creates documentation label Jan 12, 2022
@GiteaBot GiteaBot added the lgtm/need 1 This PR needs approval from one additional maintainer to be merged. label Jan 12, 2022
.github/ISSUE_TEMPLATE/bug-report.yaml Show resolved Hide resolved
.github/ISSUE_TEMPLATE/bug-report.yaml Show resolved Hide resolved
docs/content/doc/developers/hacking-on-gitea.en-us.md Outdated Show resolved Hide resolved

You should format your code with `go fmt` using:
You should format your code:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
You should format your code:
You should format your code using

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The original text is better.

Copy link
Member

Choose a reason for hiding this comment

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

Okay


```bash
make fmt
```

and can test whether your changes would match the results with:
and lint the source code:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
and lint the source code:
and lint it using

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The original text is better.

@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 Jan 12, 2022
@singuliere
Copy link
Contributor

The test failure is unrelated.

image

@codecov-commenter
Copy link

Codecov Report

Merging #18249 (8cc62ff) into main (17b2079) will increase coverage by 0.00%.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #18249   +/-   ##
=======================================
  Coverage   45.59%   45.59%           
=======================================
  Files         830      830           
  Lines       92089    92089           
=======================================
+ Hits        41987    41990    +3     
+ Misses      43361    43354    -7     
- Partials     6741     6745    +4     
Impacted Files Coverage Δ
modules/git/utils.go 68.05% <0.00%> (-2.78%) ⬇️
modules/git/repo_base_nogogit.go 80.00% <0.00%> (-2.50%) ⬇️
modules/queue/queue_disk_channel.go 60.94% <0.00%> (-1.78%) ⬇️
modules/queue/queue_channel.go 95.00% <0.00%> (-1.67%) ⬇️
models/repo_list.go 76.62% <0.00%> (-0.60%) ⬇️
models/issue_comment.go 54.23% <0.00%> (-0.57%) ⬇️
services/pull/pull.go 42.10% <0.00%> (+0.40%) ⬆️
modules/queue/workerpool.go 50.76% <0.00%> (+1.52%) ⬆️
modules/queue/queue_bytefifo.go 62.87% <0.00%> (+3.59%) ⬆️
modules/charset/charset.go 75.75% <0.00%> (+4.04%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17b2079...8cc62ff. Read the comment docs.

@wxiaoguang wxiaoguang merged commit eaf09a5 into go-gitea:main Jan 13, 2022
@wxiaoguang wxiaoguang deleted the fix-doc branch January 13, 2022 02:58
zjjhot added a commit to zjjhot/gitea that referenced this pull request Jan 13, 2022
* giteaoffical/main:
  Fix documents for development and bug report (go-gitea#18249)
  Add/update SMTP auth providers via cli (go-gitea#18197)
  Fix NPE on try to get tag reference via API (go-gitea#18245)
  Fix update user bug (go-gitea#18250)
Chianina pushed a commit to Chianina/gitea that referenced this pull request Mar 28, 2022
@go-gitea go-gitea locked and limited conversation to collaborators Apr 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/done This PR has enough approvals to get merged. There are no important open reservations anymore. type/docs This PR mainly updates/creates documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants