gitea: update to 1.14.2
This commit is contained in:
parent
e8e701072e
commit
78b484d9c9
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Whe cd here, because builtin SSH won't run without.
|
# We cd here, because builtin SSH won't run without.
|
||||||
cd /var/lib/gitea
|
cd /var/lib/gitea
|
||||||
|
|
||||||
# The USER variable is needed here because gitea doesn't actually
|
# The USER variable is needed here because gitea doesn't actually
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- custom/conf/app.example.ini 2020-12-29 05:19:36.000000000 +1100
|
--- custom/conf/app.example.ini 2021-04-22 15:48:34.959214467 +0300
|
||||||
+++ custom/conf/app.example.ini 2021-01-04 20:50:52.849861177 +1100
|
+++ custom/conf/app.example.ini 2021-04-22 15:48:25.414266118 +0300
|
||||||
@@ -7,7 +7,7 @@
|
@@ -9,7 +9,7 @@
|
||||||
; App name that shows in every page title
|
; App name that shows in every page title
|
||||||
APP_NAME = Gitea: Git with a cup of tea
|
APP_NAME = Gitea: Git with a cup of tea
|
||||||
; Change it if you run locally
|
; Change it if you run locally
|
||||||
|
@ -9,16 +9,16 @@
|
||||||
; Application run mode, affects performance and debugging. Either "dev", "prod" or "test", default is "prod"
|
; Application run mode, affects performance and debugging. Either "dev", "prod" or "test", default is "prod"
|
||||||
RUN_MODE = prod
|
RUN_MODE = prod
|
||||||
|
|
||||||
@@ -17,7 +17,7 @@
|
@@ -20,7 +20,7 @@
|
||||||
PROJECT_BOARD_BUG_TRIAGE_TYPE = Needs Triage, High Priority, Low Priority, Closed
|
|
||||||
|
|
||||||
[repository]
|
[repository]
|
||||||
|
; Root path for storing all repository data. It must be an absolute path. By default it is stored in a sub-directory of `APP_DATA_PATH`.
|
||||||
-ROOT =
|
-ROOT =
|
||||||
+ROOT = /var/lib/gitea/repositories
|
+ROOT = /var/lib/gitea/repositories
|
||||||
|
; The script type this server supports. Usually this is `bash`, but some users report that only `sh` is available.
|
||||||
SCRIPT_TYPE = bash
|
SCRIPT_TYPE = bash
|
||||||
; DETECTED_CHARSETS_ORDER tie-break order for detected charsets.
|
; DETECTED_CHARSETS_ORDER tie-break order for detected charsets.
|
||||||
; If the charsets have equal confidence, tie-breaking will be done by order in this list
|
@@ -87,13 +87,13 @@
|
||||||
@@ -81,13 +81,13 @@
|
|
||||||
|
|
||||||
[repository.local]
|
[repository.local]
|
||||||
; Path for local repository copy. Defaults to `tmp/local-repo`
|
; Path for local repository copy. Defaults to `tmp/local-repo`
|
||||||
|
@ -34,7 +34,7 @@
|
||||||
; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
|
; Comma-separated list of allowed file extensions (`.zip`), mime types (`text/plain`) or wildcard type (`image/*`, `audio/*`, `video/*`). Empty value or `*/*` allows all types.
|
||||||
ALLOWED_TYPES =
|
ALLOWED_TYPES =
|
||||||
; Max size of each file in megabytes. Defaults to 3MB
|
; Max size of each file in megabytes. Defaults to 3MB
|
||||||
@@ -272,7 +272,7 @@
|
@@ -282,7 +282,7 @@
|
||||||
REDIRECT_OTHER_PORT = false
|
REDIRECT_OTHER_PORT = false
|
||||||
PORT_TO_REDIRECT = 80
|
PORT_TO_REDIRECT = 80
|
||||||
; Permission for unix socket
|
; Permission for unix socket
|
||||||
|
@ -43,7 +43,7 @@
|
||||||
; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service.
|
; Local (DMZ) URL for Gitea workers (such as SSH update) accessing web service.
|
||||||
; In most cases you do not need to change the default value.
|
; In most cases you do not need to change the default value.
|
||||||
; Alter it only if your SSH server node is not the same as HTTP node.
|
; Alter it only if your SSH server node is not the same as HTTP node.
|
||||||
@@ -293,7 +293,7 @@
|
@@ -303,7 +303,7 @@
|
||||||
; The port number the builtin SSH server should listen on
|
; The port number the builtin SSH server should listen on
|
||||||
SSH_LISTEN_PORT = %(SSH_PORT)s
|
SSH_LISTEN_PORT = %(SSH_PORT)s
|
||||||
; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'.
|
; Root path of SSH directory, default is '~/.ssh', but you have to use '/home/git/.ssh'.
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
; Gitea will create a authorized_keys file by default when it is not using the internal ssh server
|
; Gitea will create a authorized_keys file by default when it is not using the internal ssh server
|
||||||
; If you intend to use the AuthorizedKeysCommand functionality then you should turn this off.
|
; If you intend to use the AuthorizedKeysCommand functionality then you should turn this off.
|
||||||
SSH_CREATE_AUTHORIZED_KEYS_FILE = true
|
SSH_CREATE_AUTHORIZED_KEYS_FILE = true
|
||||||
@@ -354,7 +354,7 @@
|
@@ -368,7 +368,7 @@
|
||||||
KEY_FILE = https/key.pem
|
KEY_FILE = https/key.pem
|
||||||
; Root directory containing templates and static files.
|
; Root directory containing templates and static files.
|
||||||
; default is the path where Gitea is executed
|
; default is the path where Gitea is executed
|
||||||
|
@ -60,8 +60,8 @@
|
||||||
+STATIC_ROOT_PATH = /var/lib/gitea
|
+STATIC_ROOT_PATH = /var/lib/gitea
|
||||||
; Default path for App data
|
; Default path for App data
|
||||||
APP_DATA_PATH = data
|
APP_DATA_PATH = data
|
||||||
; Application level GZIP support
|
; Enable gzip compression for runtime-generated content, static resources excluded
|
||||||
@@ -371,7 +371,7 @@
|
@@ -385,7 +385,7 @@
|
||||||
; Enables git-lfs support. true or false, default is false.
|
; Enables git-lfs support. true or false, default is false.
|
||||||
LFS_START_SERVER = false
|
LFS_START_SERVER = false
|
||||||
; Where your lfs files reside, default is data/lfs.
|
; Where your lfs files reside, default is data/lfs.
|
||||||
|
@ -70,7 +70,7 @@
|
||||||
; LFS authentication secret, change this yourself
|
; LFS authentication secret, change this yourself
|
||||||
LFS_JWT_SECRET =
|
LFS_JWT_SECRET =
|
||||||
; LFS authentication validity period (in time.Duration), pushes taking longer than this may fail.
|
; LFS authentication validity period (in time.Duration), pushes taking longer than this may fail.
|
||||||
@@ -401,7 +401,7 @@
|
@@ -415,7 +415,7 @@
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
; Database to use. Either "mysql", "postgres", "mssql" or "sqlite3".
|
; Database to use. Either "mysql", "postgres", "mssql" or "sqlite3".
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
HOST = 127.0.0.1:3306
|
HOST = 127.0.0.1:3306
|
||||||
NAME = gitea
|
NAME = gitea
|
||||||
USER = root
|
USER = root
|
||||||
@@ -418,7 +418,7 @@
|
@@ -432,7 +432,7 @@
|
||||||
; NOTICE: for "utf8mb4" you must use MySQL InnoDB > 5.6. Gitea is unable to check this.
|
; NOTICE: for "utf8mb4" you must use MySQL InnoDB > 5.6. Gitea is unable to check this.
|
||||||
CHARSET = utf8mb4
|
CHARSET = utf8mb4
|
||||||
; For "sqlite3" and "tidb", use an absolute path when you start gitea as service
|
; For "sqlite3" and "tidb", use an absolute path when you start gitea as service
|
||||||
|
@ -88,7 +88,7 @@
|
||||||
; For "sqlite3" only. Query timeout
|
; For "sqlite3" only. Query timeout
|
||||||
SQLITE_TIMEOUT = 500
|
SQLITE_TIMEOUT = 500
|
||||||
; For iterate buffer, default is 50
|
; For iterate buffer, default is 50
|
||||||
@@ -444,7 +444,7 @@
|
@@ -458,7 +458,7 @@
|
||||||
; Issue indexer name, available when ISSUE_INDEXER_TYPE is elasticsearch
|
; Issue indexer name, available when ISSUE_INDEXER_TYPE is elasticsearch
|
||||||
ISSUE_INDEXER_NAME = gitea_issues
|
ISSUE_INDEXER_NAME = gitea_issues
|
||||||
; Issue indexer storage path, available when ISSUE_INDEXER_TYPE is bleve
|
; Issue indexer storage path, available when ISSUE_INDEXER_TYPE is bleve
|
||||||
|
@ -96,9 +96,9 @@
|
||||||
+ISSUE_INDEXER_PATH = /var/lib/gitea/indexers/issues.bleve
|
+ISSUE_INDEXER_PATH = /var/lib/gitea/indexers/issues.bleve
|
||||||
; Issue indexer queue, currently support: channel, levelqueue or redis, default is levelqueue
|
; Issue indexer queue, currently support: channel, levelqueue or redis, default is levelqueue
|
||||||
ISSUE_INDEXER_QUEUE_TYPE = levelqueue
|
ISSUE_INDEXER_QUEUE_TYPE = levelqueue
|
||||||
; When ISSUE_INDEXER_QUEUE_TYPE is levelqueue, this will be the queue will be saved path,
|
; When ISSUE_INDEXER_QUEUE_TYPE is levelqueue, this will be the path where the queue will be saved.
|
||||||
@@ -773,7 +773,7 @@
|
@@ -806,7 +806,7 @@
|
||||||
SESSION_LIFE_TIME = 86400
|
SAME_SITE=lax
|
||||||
|
|
||||||
[picture]
|
[picture]
|
||||||
-AVATAR_UPLOAD_PATH = data/avatars
|
-AVATAR_UPLOAD_PATH = data/avatars
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
REPOSITORY_AVATAR_UPLOAD_PATH = data/repo-avatars
|
REPOSITORY_AVATAR_UPLOAD_PATH = data/repo-avatars
|
||||||
; How Gitea deals with missing repository avatars
|
; How Gitea deals with missing repository avatars
|
||||||
; none = no avatar will be displayed; random = random avatar will be displayed; image = default image will be used
|
; none = no avatar will be displayed; random = random avatar will be displayed; image = default image will be used
|
||||||
@@ -838,7 +838,7 @@
|
@@ -871,7 +871,7 @@
|
||||||
DEFAULT_UI_LOCATION =
|
DEFAULT_UI_LOCATION =
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
|
@ -115,7 +115,7 @@
|
||||||
; Either "console", "file", "conn", "smtp" or "database", default is "console"
|
; Either "console", "file", "conn", "smtp" or "database", default is "console"
|
||||||
; Use comma to separate multiple modes, e.g. "console, file"
|
; Use comma to separate multiple modes, e.g. "console, file"
|
||||||
MODE = console
|
MODE = console
|
||||||
@@ -1132,14 +1132,6 @@
|
@@ -1181,14 +1181,6 @@
|
||||||
LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,uk-UA,ja-JP,es-ES,pt-BR,pt-PT,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR
|
LANGS = en-US,zh-CN,zh-HK,zh-TW,de-DE,fr-FR,nl-NL,lv-LV,ru-RU,uk-UA,ja-JP,es-ES,pt-BR,pt-PT,pl-PL,bg-BG,it-IT,fi-FI,tr-TR,cs-CZ,sr-SP,sv-SE,ko-KR
|
||||||
NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,français,Nederlands,latviešu,русский,Українська,日本語,español,português do Brasil,Português de Portugal,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어
|
NAMES = English,简体中文,繁體中文(香港),繁體中文(台灣),Deutsch,français,Nederlands,latviešu,русский,Українська,日本語,español,português do Brasil,Português de Portugal,polski,български,italiano,suomi,Türkçe,čeština,српски,svenska,한국어
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'gitea'
|
# Template file for 'gitea'
|
||||||
pkgname=gitea
|
pkgname=gitea
|
||||||
version=1.13.1
|
version=1.14.2
|
||||||
revision=1
|
revision=1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
build_style=go
|
build_style=go
|
||||||
|
@ -32,7 +32,7 @@ license="MIT"
|
||||||
homepage="https://gitea.io"
|
homepage="https://gitea.io"
|
||||||
changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md"
|
changelog="https://github.com/go-gitea/gitea/blob/master/CHANGELOG.md"
|
||||||
distfiles="https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"
|
distfiles="https://github.com/go-gitea/gitea/releases/download/v${version}/gitea-src-${version}.tar.gz"
|
||||||
checksum=b5a87b722abe8e4911389abf57ec8f46d58fb966929dfe612a77639e27ec4187
|
checksum=d04bca934feba35600aaf739c82b7cbe7d8b911a086d7ac54f0710b689a85ac3
|
||||||
|
|
||||||
system_accounts="_gitea"
|
system_accounts="_gitea"
|
||||||
_gitea_homedir="/var/lib/gitea"
|
_gitea_homedir="/var/lib/gitea"
|
||||||
|
|
Loading…
Reference in New Issue