Skip to content

Commit ef64354

Browse files
committed
Merge commit '2611249511aaab710ad7b0bccd049d3e4dc912f4'
1 parent 82926a6 commit ef64354

File tree

2,665 files changed

+83857
-64547
lines changed

Some content is hidden

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

2,665 files changed

+83857
-64547
lines changed

.air.toml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,22 @@ root = "."
22
tmp_dir = ".air"
33

44
[build]
5+
pre_cmd = ["killall -9 gitea 2>/dev/null || true"] # kill off potential zombie processes from previous runs
56
cmd = "make --no-print-directory backend"
67
bin = "gitea"
7-
delay = 1000
8+
delay = 2000
89
include_ext = ["go", "tmpl"]
910
include_file = ["main.go"]
1011
include_dir = ["cmd", "models", "modules", "options", "routers", "services"]
11-
exclude_dir = ["modules/git/tests", "services/gitdiff/testdata", "modules/avatar/testdata", "models/fixtures", "models/migrations/fixtures", "modules/migration/file_format_testdata", "modules/avatar/identicon/testdata"]
12+
exclude_dir = [
13+
"models/fixtures",
14+
"models/migrations/fixtures",
15+
"modules/avatar/identicon/testdata",
16+
"modules/avatar/testdata",
17+
"modules/git/tests",
18+
"modules/migration/file_format_testdata",
19+
"routers/private/tests",
20+
"services/gitdiff/testdata",
21+
]
1222
exclude_regex = ["_test.go$", "_gen.go$"]
1323
stop_on_error = true

.devcontainer/devcontainer.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
{
22
"name": "Gitea DevContainer",
3-
"image": "mcr.microsoft.com/devcontainers/go:1.21-bullseye",
3+
"image": "mcr.microsoft.com/devcontainers/go:1.22-bullseye",
44
"features": {
55
// installs nodejs into container
66
"ghcr.io/devcontainers/features/node:1": {
7-
"version":"20"
7+
"version": "20"
88
},
99
"ghcr.io/devcontainers/features/git-lfs:1.1.0": {},
1010
"ghcr.io/devcontainers-contrib/features/poetry:2": {},
11-
"ghcr.io/devcontainers/features/python:1": {}
11+
"ghcr.io/devcontainers/features/python:1": {
12+
"version": "3.12"
13+
}
1214
},
1315
"customizations": {
1416
"vscode": {
@@ -22,7 +24,7 @@
2224
"DavidAnson.vscode-markdownlint",
2325
"Vue.volar",
2426
"ms-azuretools.vscode-docker",
25-
"zixuanchen.vitest-explorer",
27+
"vitest.explorer",
2628
"qwtel.sqlite-viewer",
2729
"GitHub.vscode-pull-request-github"
2830
]

.dockerignore

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ _test
1414

1515
# MS VSCode
1616
.vscode
17-
__debug_bin
17+
__debug_bin*
1818

1919
# Architecture specific extensions/prefixes
2020
*.[568vq]
@@ -62,7 +62,6 @@ cpu.out
6262
/data
6363
/indexers
6464
/log
65-
/public/img/avatar
6665
/tests/integration/gitea-integration-*
6766
/tests/integration/indexers-*
6867
/tests/e2e/gitea-e2e-*
@@ -78,7 +77,7 @@ cpu.out
7877
/public/assets/js
7978
/public/assets/css
8079
/public/assets/fonts
81-
/public/assets/img/webpack
80+
/public/assets/img/avatar
8281
/vendor
8382
/web_src/fomantic/node_modules
8483
/web_src/fomantic/build/*
@@ -96,6 +95,9 @@ cpu.out
9695
/.air
9796
/.go-licenses
9897

98+
# Files and folders that were previously generated
99+
/public/assets/img/webpack
100+
99101
# Snapcraft
100102
snap/.snapcraft/
101103
parts/

0 commit comments

Comments
 (0)