Skip to content

Commit 14cf70a

Browse files
authored
Merge branch 'main' into gitpod
2 parents a50142f + de5b8cf commit 14cf70a

File tree

90 files changed

+885
-837
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+885
-837
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ GOFUMPT_PACKAGE ?= mvdan.cc/[email protected]
3232
GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/[email protected]
3333
GXZ_PAGAGE ?= github.com/ulikunitz/xz/cmd/[email protected]
3434
MISSPELL_PACKAGE ?= github.com/client9/misspell/cmd/[email protected]
35-
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.29.0
35+
SWAGGER_PACKAGE ?= github.com/go-swagger/go-swagger/cmd/swagger@v0.30.0
3636
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
3737

3838
DOCKER_IMAGE ?= gitea/gitea
@@ -243,7 +243,7 @@ clean:
243243
.PHONY: fmt
244244
fmt:
245245
@MISSPELL_PACKAGE=$(MISSPELL_PACKAGE) GOFUMPT_PACKAGE=$(GOFUMPT_PACKAGE) $(GO) run build/code-batch-process.go gitea-fmt -w '{file-list}'
246-
$(eval TEMPLATES := $(wildcard templates/**/*.tmpl))
246+
$(eval TEMPLATES := $(shell find templates -type f -name '*.tmpl'))
247247
@# strip whitespace after '{{' and before `}}` unless there is only whitespace before it
248248
@$(SED_INPLACE) -e 's/{{[ ]\{1,\}/{{/g' -e '/^[ ]\{1,\}}}/! s/[ ]\{1,\}}}/}}/g' $(TEMPLATES)
249249

assets/emoji.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

build/generate-emoji.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,7 @@ const hdr = `
214214
215215
package emoji
216216
217-
// Code generated by gen.go. DO NOT EDIT.
217+
// Code generated by build/generate-emoji.go. DO NOT EDIT.
218218
// Sourced from %s
219-
//
220219
var GemojiData = %#v
221220
`

docs/content/doc/installation/on-kubernetes.zh-cn.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ helm install gitea gitea/gitea
3030
您也可以通过 `helm show` 命令导出 `README.md` 和配置文件 `values.yaml` 进行学习和编辑,例如:
3131

3232
```bash
33-
helm show values gitea > values.yaml
34-
helm show readme gitea > README.md
33+
helm show values gitea/gitea > values.yaml
34+
helm show readme gitea/gitea > README.md
3535

3636
# 使用自定义的配置文件 values.yaml
3737
helm install gitea -f values.yaml gitea/gitea

models/issues/issue_project.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ func LoadIssuesFromBoard(b *project_model.Board) (IssueList, error) {
6868
issues, err := Issues(&IssuesOptions{
6969
ProjectBoardID: b.ID,
7070
ProjectID: b.ProjectID,
71+
SortType: "project-column-sorting",
7172
})
7273
if err != nil {
7374
return nil, err
@@ -79,6 +80,7 @@ func LoadIssuesFromBoard(b *project_model.Board) (IssueList, error) {
7980
issues, err := Issues(&IssuesOptions{
8081
ProjectBoardID: -1, // Issues without ProjectBoardID
8182
ProjectID: b.ProjectID,
83+
SortType: "project-column-sorting",
8284
})
8385
if err != nil {
8486
return nil, err

0 commit comments

Comments
 (0)