forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'giteaoffical/main'
* giteaoffical/main: (22 commits) Add MP4 as default allowed attachment type (go-gitea#18170) [skip ci] Updated translations via Crowdin Include folders into size cost (go-gitea#18158) Don't delete branch if other PRs with this branch are open (go-gitea#18164) Remove unused route "/tasks/trigger" (go-gitea#18160) Fix EasyMDE validation (go-gitea#18161) Fix bug (go-gitea#18168) tests: add coverage for models migration helpers (go-gitea#18162) [skip ci] Updated translations via Crowdin Require codereview to have content (go-gitea#18156) chore(lint): use golangci-lint to call revive and misspell checker. (go-gitea#18145) Update owners for 2022 (go-gitea#18155) Refactor auth package (go-gitea#17962) Unify and simplify TrN for i18n (go-gitea#18141) Use correct user when determining max repo limits for error messages (go-gitea#18153) Add singuliere to MAINTAINERS (go-gitea#18148) [skip ci] Updated licenses and gitignores Add API to get issue/pull comments and events (timeline) (go-gitea#17403) Upgrade certmagic from v0.14.1 to v0.15.2 (go-gitea#18138) Upgrade certmagic from v0.14.1 to v0.15.2 (go-gitea#18138) ...
- Loading branch information
Showing
234 changed files
with
5,744 additions
and
3,861 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -299,6 +299,11 @@ and lead the development of Gitea. | |
To honor the past owners, here's the history of the owners and the time | ||
they served: | ||
|
||
* 2022-01-01 ~ 2022-12-31 - https://github.com/go-gitea/gitea/issues/17872 | ||
* [Lunny Xiao](https://gitea.com/lunny) <[email protected]> | ||
* [Matti Ranta](https://gitea.com/techknowlogick) <[email protected]> | ||
* [Andrew Thornton](https://gitea.com/zeripath) <[email protected]> | ||
|
||
* 2021-01-01 ~ 2021-12-31 - https://github.com/go-gitea/gitea/issues/13801 | ||
* [Lunny Xiao](https://gitea.com/lunny) <[email protected]> | ||
* [Lauris Bukšis-Haberkorns](https://gitea.com/lafriks) <[email protected]> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,3 +45,4 @@ Steven Kriegler <[email protected]> (@justusbunsi) | |
Jimmy Praet <[email protected]> (@jpraet) | ||
Leon Hofmeister <[email protected]> (@delvh) | ||
Gusted <[email protected]) (@Gusted) | ||
singuliere <[email protected]> (@singuliere) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -186,8 +186,6 @@ help: | |
@echo " - generate-swagger generate the swagger spec from code comments" | ||
@echo " - swagger-validate check if the swagger spec is valid" | ||
@echo " - golangci-lint run golangci-lint linter" | ||
@echo " - revive run revive linter" | ||
@echo " - misspell check for misspellings" | ||
@echo " - vet examines Go source code and reports suspicious constructs" | ||
@echo " - test[\#TestSpecificName] run unit test" | ||
@echo " - test-sqlite[\#TestSpecificName] run integration test for sqlite" | ||
|
@@ -280,29 +278,6 @@ errcheck: | |
@echo "Running errcheck..." | ||
@errcheck $(GO_PACKAGES) | ||
|
||
.PHONY: revive | ||
revive: | ||
@hash revive > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ | ||
$(GO) install github.com/mgechev/[email protected]; \ | ||
fi | ||
@revive -config .revive.toml -exclude=./vendor/... ./... | ||
|
||
.PHONY: misspell-check | ||
misspell-check: | ||
@hash misspell > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ | ||
$(GO) install github.com/client9/misspell/cmd/[email protected]; \ | ||
fi | ||
@echo "Running misspell-check..." | ||
@$(GO) run build/code-batch-process.go misspell -error -i unknwon '{file-list}' | ||
|
||
.PHONY: misspell | ||
misspell: | ||
@hash misspell > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ | ||
$(GO) install github.com/client9/misspell/cmd/[email protected]; \ | ||
fi | ||
@echo "Running go misspell..." | ||
@$(GO) run build/code-batch-process.go misspell -w -i unknwon '{file-list}' | ||
|
||
.PHONY: fmt-check | ||
fmt-check: | ||
# get all go files and run go fmt on them | ||
|
@@ -320,7 +295,7 @@ checks: checks-frontend checks-backend | |
checks-frontend: svg-check | ||
|
||
.PHONY: checks-backend | ||
checks-backend: misspell-check test-vendor swagger-check swagger-validate | ||
checks-backend: test-vendor swagger-check swagger-validate | ||
|
||
.PHONY: lint | ||
lint: lint-frontend lint-backend | ||
|
@@ -332,7 +307,7 @@ lint-frontend: node_modules | |
npx editorconfig-checker templates | ||
|
||
.PHONY: lint-backend | ||
lint-backend: golangci-lint revive vet | ||
lint-backend: golangci-lint vet | ||
|
||
.PHONY: watch | ||
watch: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.